]> git.pld-linux.org Git - packages/bakefile.git/blame - bakefile.spec
- use system empy
[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
7%define snap 20030921
8Release: 0.%{snap}.1
9License: GPL v2+
10Group: Applications/Text
11Source0: http://bakefile.sourceforge.net/snapshot/bakefile-%{version}.%{snap}.tar.gz
12# Source0-md5: 6c8d21e2d73440b6da9be6d75b568f9e
13URL: http://bakefile.sourceforge.net/
14BuildRequires: rpm-pythonprov
15%pyrequires_eq python-modules
16Requires: python-libxml2
17Requires: empy >= 3.1
18Requires: python-optik >= 1.2
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Bakefile is cross-platform, cross-compiler native makefiles generator. It takes
23compiler-independent description of build tasks as input and generate native
24makefile (autoconf's Makefile.in, Visual C++ project, bcc makefile etc.).
25
26%prep
27%setup -q -n %{name}-%{version}.%{snap}
28
29%build
30%configure
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
35
36%{__make} \
37 DESTDIR=$RPM_BUILD_ROOT \
38 install
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%doc README THANKS doc/html
46%attr(755,root,root) %{_bindir}/*
47%{_aclocaldir}/*.m4
48%dir %{_datadir}/%{name}
49%{_datadir}/%{name}/output
50%{_datadir}/%{name}/rules
51%dir %{_datadir}/%{name}/src
52%{_datadir}/%{name}/src/*.py[oc]
53%attr(755,root,root) %{_datadir}/%{name}/src/bakefile.py
54%attr(755,root,root) %{_datadir}/%{name}/src/bakefile_gen.py
This page took 0.106695 seconds and 4 git commands to generate.