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