-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqtp.spec
38 lines (30 loc) · 839 Bytes
/
qtp.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Version: 1.4.0
Summary: Q-Lang template preprocessor (QTP)
Name: qtp
Release: 1
Copyright: GPL
Group: Development/Languages/QLang
Source: http://ainmarh.com/download/%{name}-%{version}.tar.gz
URL: http://ainmarh.com/download/
Packager: Denis Slyusarev
BuildRoot: /var/tmp/%{name}-buildroot/
Requires: fcgi >= 2.4.0
%description
Q-Lang template preprocessor.(QTP)
2.1 dialect test.
%prep
%setup
%build
./configure --prefix=/usr
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc install
find $RPM_BUILD_ROOT/usr -type f -print | grep -v '\/(README|INSTALL)$' | \
sed "s@^$RPM_BUILD_ROOT@@g" | sed "s/^\(.*\)$/\1\*/" > %{name}-%{version}-filelist
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}-%{version}-filelist
%defattr(-, root, root)
%doc README INSTALL ChangeLog
%changelog