avatar
alzim has added 2cb7489bb1
Updated to 1.094
... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,5 +1,2 @@
1
removed_sources:
2
  aap-1.091.zip: 4f91e48292457826251ec2fddcd3ad9a4814c8ed
3
  aap-1.092.zip: 16a4a52fc07657008b0547a5e33cc42ff18b36b0
4 1
sources:
5
  aap-1.093.zip: 02ac5e93fe5d38f7449b150a8b6dd8bfca38f07f
2
  aap-1.094.zip: 7e8d043a3928c8e7688c1302acc21fe9c5a0f8ed
... ... --- a/a-a-p.spec
... ... +++ b/a-a-p.spec
... ... @@ -1,18 +1,17 @@
1
#define debug_package	%{nil}
2
1
#define debug_package %{nil}
3 2
4 3
Summary:	Construction tool
5 4
Name:		a-a-p
6
Version:	1.093
7
Release:	4
8
Source0:	http://belnet.dl.sourceforge.net/sourceforge/%{name}/aap-%{version}.zip
5
Version:	1.094
6
Release:	1
9 7
License:	GPLv2
10 8
Group:		Development/Other
11
BuildArch:	noarch
9
Url:		http://www.a-a-p.org/
10
Source0:	http://belnet.dl.sourceforge.net/sourceforge/%{name}/aap-%{version}.zip
12 11
BuildRequires:	python-devel
13 12
Requires:	python
14
URL:		http://www.a-a-p.org/
15
Provides:	aap = %{version}-%{release}
13
Provides:	aap = %{EVRD}
14
BuildArch:	noarch
16 15
17 16
%description
18 17
A-A-P is an Open Source software construction tool--that is, a build
... ... @@ -28,38 +27,35 @@ defined Builder and/or Scanner objects. Most of the a-a-p logic is object
27 27
oriented, including default build rules for many types of program,  they are
28 28
all over-loadable also.
29 29
30
%files
31
%{_bindir}/*
32
%{_prefix}/lib/aap
33
%{_mandir}/man*/*
34
%{_docdir}/aap-%{version}
35
36
#--------------------------------------------------------------------
37
30 38
%prep
31 39
%setup -q -n aap-%{version} -c aap-%{version}
32 40
33 41
%build
34 42
35
36 43
%install
37 44
export PYTHONOPTIMIZE=1
38
mkdir -p $RPM_BUILD_ROOT%{_prefix}
39
./aap PREFIX=$RPM_BUILD_ROOT%{_prefix} install
45
mkdir -p %{buildroot}%{_prefix}
46
./aap PREFIX=%{buildroot}%{_prefix} install
40 47
41
pushd $RPM_BUILD_ROOT%{_bindir}
48
pushd %{buildroot}%{_bindir}
42 49
rm aap
43 50
ln -s %{_prefix}/lib/aap/Exec-%{version}/aap aap
44 51
popd
45 52
46
mkdir -p $RPM_BUILD_ROOT%{_datadir}
47
mv $RPM_BUILD_ROOT%{_prefix}/man $RPM_BUILD_ROOT%{_mandir}
48
mkdir -p $RPM_BUILD_ROOT%{_docdir}/aap-%{version}
49
mv $RPM_BUILD_ROOT%{_prefix}/lib/aap/Exec-%{version}/doc $RPM_BUILD_ROOT%{_docdir}/aap-%{version}
53
mkdir -p %{buildroot}%{_datadir}
54
mv %{buildroot}%{_prefix}/man %{buildroot}%{_mandir}
55
mkdir -p %{buildroot}%{_docdir}/aap-%{version}
56
mv %{buildroot}%{_prefix}/lib/aap/Exec-%{version}/doc %{buildroot}%{_docdir}/aap-%{version}
50 57
51
chmod +x $RPM_BUILD_ROOT%{_prefix}/lib/aap/Exec-1.093/__init__.py
58
chmod +x %{buildroot}%{_prefix}/lib/aap/Exec-%{version}/__init__.py
52 59
53 60
%check
54 61
./aap test
55
56
57
%files
58
%{_bindir}/*
59
%{_prefix}/lib/aap
60
%{_mandir}/man*/*
61
%{_docdir}/aap-%{version}
62
63
64

Comments