]> git.pld-linux.org Git - packages/bakefile.git/blame - bakefile.spec
- updated to 0.1.1.20030930
[packages/bakefile.git] / bakefile.spec
CommitLineData
5c574ae8
AF
1
2%include /usr/lib/rpm/macros.python
3
4Summary: Native makefiles generator
5Name: bakefile
6Version: 0.1.1
211ceda7
AF
7%define snap 20030930
8Release: 0.%{snap}.1
5c574ae8
AF
9License: GPL v2+
10Group: Applications/Text
11Source0: http://bakefile.sourceforge.net/snapshot/bakefile-%{version}.%{snap}.tar.gz
211ceda7 12# Source0-md5: a9ae24fce1ec633a675759943b0f35c4
8062e6bf 13Patch0: %{name}-empy.patch
5c574ae8
AF
14URL: http://bakefile.sourceforge.net/
15BuildRequires: rpm-pythonprov
16%pyrequires_eq python-modules
17Requires: python-libxml2
18Requires: empy >= 3.1
19Requires: python-optik >= 1.2
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Bakefile is cross-platform, cross-compiler native makefiles generator. It takes
24compiler-independent description of build tasks as input and generate native
25makefile (autoconf's Makefile.in, Visual C++ project, bcc makefile etc.).
26
27%prep
28%setup -q -n %{name}-%{version}.%{snap}
8062e6bf 29%patch0 -p1
5c574ae8
AF
30
31%build
32%configure
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
37
38%{__make} \
39 DESTDIR=$RPM_BUILD_ROOT \
40 install
41
71bf54bb
AF
42# use system available modules
43rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/src/{empy,optik}
44
5c574ae8
AF
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc README THANKS doc/html
51%attr(755,root,root) %{_bindir}/*
52%{_aclocaldir}/*.m4
53%dir %{_datadir}/%{name}
54%{_datadir}/%{name}/output
55%{_datadir}/%{name}/rules
56%dir %{_datadir}/%{name}/src
57%{_datadir}/%{name}/src/*.py[oc]
58%attr(755,root,root) %{_datadir}/%{name}/src/bakefile.py
59%attr(755,root,root) %{_datadir}/%{name}/src/bakefile_gen.py
a672cc76 60%{_mandir}/man1/bakefile.1*
This page took 0.043948 seconds and 4 git commands to generate.