]> git.pld-linux.org Git - packages/bakefile.git/blame - bakefile.spec
- TODO is done
[packages/bakefile.git] / bakefile.spec
CommitLineData
5c574ae8 1Summary: Native makefiles generator
f810b4d8 2Summary(pl.UTF-8): Generator natywnych plików typu Makefile
5c574ae8 3Name: bakefile
34bbd63e 4Version: 0.2.9
9d19c0a5 5Release: 1
83772bf7
PS
6License: MIT
7Group: Development/Building
7506d4ad 8Source0: http://downloads.sourceforge.net/bakefile/%{name}-%{version}.tar.gz
34bbd63e 9# Source0-md5: b53813d155df1a45371abc8f781e6d88
8062e6bf 10Patch0: %{name}-empy.patch
5c574ae8 11URL: http://bakefile.sourceforge.net/
3de6f0d3
JB
12BuildRequires: autoconf >= 2.53
13BuildRequires: automake >= 1.6
9ef82bed 14BuildRequires: libtool
3de6f0d3 15BuildRequires: python-devel >= 1:2.5
d67d9ecc 16BuildRequires: rpm-pythonprov
5c574ae8 17%pyrequires_eq python-modules
5c574ae8 18Requires: empy >= 3.1
09959895 19Requires: python-libxml2
5c574ae8
AF
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
66cbd32a
JB
23Bakefile is cross-platform, cross-compiler native makefiles generator.
24It takes compiler-independent description of build tasks as input and
25generate native makefile (autoconf's Makefile.in, Visual C++ project,
26bcc makefile etc.).
27
37713322
JR
28%description -l pl.UTF-8
29Bakefile to generator natywnych plików typu Makefile dla wielu
30platform i kompilatorów. Przyjmuje na wejściu niezależny od
09959895 31kompilatora opis zadań budowania i tworzy natywny plik (Makefile.in
66cbd32a 32dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.).
5c574ae8
AF
33
34%prep
95424130 35%setup -q
8062e6bf 36%patch0 -p1
5c574ae8
AF
37
38%build
1c352ae8 39%{__libtoolize}
40%{__aclocal} -I admin
41%{__autoconf}
42%{__automake}
5c574ae8
AF
43%configure
44
45%install
46rm -rf $RPM_BUILD_ROOT
5c574ae8 47
3de6f0d3
JB
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
5c574ae8 50
71bf54bb 51# use system available modules
3de6f0d3
JB
52%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,py25modules}
53
54%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
55find $RPM_BUILD_ROOT%{_libdir}/%{name} -name '*.py' | grep -E -v '/bakefile(_gen)?\.py' | xargs %{__rm}
71bf54bb 56
5c574ae8
AF
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
3de6f0d3
JB
62%doc AUTHORS COPYING NEWS README THANKS doc/html
63%attr(755,root,root) %{_bindir}/bakefile
64%attr(755,root,root) %{_bindir}/bakefile_gen
65%attr(755,root,root) %{_bindir}/bakefilize
b16bd3d2
AF
66%{_datadir}/%{name}
67%dir %{_libdir}/%{name}
68%{_libdir}/%{name}/*.py[oc]
3de6f0d3 69%attr(755,root,root) %{_libdir}/%{name}/_bkl_c.so
b16bd3d2
AF
70%attr(755,root,root) %{_libdir}/%{name}/bakefile.py
71%attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py
3de6f0d3
JB
72%{_aclocaldir}/bakefile*.m4
73%{_mandir}/man1/bakefile.1*
74%{_mandir}/man1/bakefile_gen.1*
75%{_mandir}/man1/bakefilize.1*
This page took 0.093382 seconds and 4 git commands to generate.