X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=bakefile.spec;h=2dec04c649c3338504460eb54dcaaba9809c4653;hb=99641d271188915f6d1e6bb2cd32f6a7de6def61;hp=1ba8c6d2fe040fd92d5ae52efc881c5235f2f31c;hpb=83772bf7b0d381188d9fafd714c9769b661af8a6;p=packages%2Fbakefile.git diff --git a/bakefile.spec b/bakefile.spec index 1ba8c6d..2dec04c 100644 --- a/bakefile.spec +++ b/bakefile.spec @@ -1,22 +1,23 @@ Summary: Native makefiles generator Summary(pl.UTF-8): Generator natywnych plików typu Makefile Name: bakefile -Version: 0.2.2 -Release: 0.1 +Version: 0.2.9 +Release: 3 License: MIT Group: Development/Building -Source0: http://dl.sourceforge.net/bakefile/bakefile-%{version}.tar.gz -# Source0-md5: 42d5591cecbf628ecc5ee4e5e2ee809c +Source0: http://downloads.sourceforge.net/bakefile/%{name}-%{version}.tar.gz +# Source0-md5: b53813d155df1a45371abc8f781e6d88 Patch0: %{name}-empy.patch +Patch1: format-security.patch URL: http://bakefile.sourceforge.net/ -BuildRequires: autoconf -BuildRequires: automake +BuildRequires: autoconf >= 2.53 +BuildRequires: automake >= 1.6 BuildRequires: libtool -BuildRequires: python-devel +BuildRequires: python-devel >= 1:2.5 BuildRequires: rpm-pythonprov %pyrequires_eq python-modules -Requires: python-libxml2 Requires: empy >= 3.1 +Requires: python-libxml2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -28,14 +29,16 @@ bcc makefile etc.). %description -l pl.UTF-8 Bakefile to generator natywnych plików typu Makefile dla wielu platform i kompilatorów. Przyjmuje na wejściu niezależny od -kompilatora opis zadań budowania i tworzy natywny plik (Makefile.in +kompilatora opis zadań budowania i tworzy natywny plik (Makefile.in dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.). %prep %setup -q %patch0 -p1 +%patch1 -p1 %build +%{__libtoolize} %{__aclocal} -I admin %{__autoconf} %{__automake} @@ -43,27 +46,32 @@ dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.). %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}} -%{__make} \ - DESTDIR=$RPM_BUILD_ROOT \ - install +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT # use system available modules -rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,optik} +%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,py25modules} + +%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la +find $RPM_BUILD_ROOT%{_libdir}/%{name} -name '*.py' | grep -E -v '/bakefile(_gen)?\.py' | xargs %{__rm} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README THANKS doc/html -%attr(755,root,root) %{_bindir}/* -%{_aclocaldir}/*.m4 +%doc AUTHORS COPYING NEWS README THANKS doc/html +%attr(755,root,root) %{_bindir}/bakefile +%attr(755,root,root) %{_bindir}/bakefile_gen +%attr(755,root,root) %{_bindir}/bakefilize %{_datadir}/%{name} %dir %{_libdir}/%{name} %{_libdir}/%{name}/*.py[oc] -%attr(755,root,root) %{_libdir}/%{name}/*.so +%attr(755,root,root) %{_libdir}/%{name}/_bkl_c.so %attr(755,root,root) %{_libdir}/%{name}/bakefile.py %attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py -%{_mandir}/man1/bakefil*.1* +%{_aclocaldir}/bakefile*.m4 +%{_mandir}/man1/bakefile.1* +%{_mandir}/man1/bakefile_gen.1* +%{_mandir}/man1/bakefilize.1*