X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=bakefile.spec;h=bd968e7309d9c16165f39dc33c0d8170cb02e638;hb=b16bd3d26a293358451673ce3b96b456c4828ae3;hp=dba0e2e6d54bf0c45f126e48b324399d931b1bfb;hpb=71bf54bbb79c8ff03c83485e9e8e607bbeaeddfa;p=packages%2Fbakefile.git diff --git a/bakefile.spec b/bakefile.spec index dba0e2e..bd968e7 100644 --- a/bakefile.spec +++ b/bakefile.spec @@ -1,16 +1,17 @@ - %include /usr/lib/rpm/macros.python - Summary: Native makefiles generator +Summary(pl): Generator natywnych plików typu Makefile Name: bakefile -Version: 0.1.1 -%define snap 20030922 -Release: 0.%{snap}.1 +Version: 0.1.4 +Release: 1 License: GPL v2+ Group: Applications/Text -Source0: http://bakefile.sourceforge.net/snapshot/bakefile-%{version}.%{snap}.tar.gz -# Source0-md5: 52d8894603886844df68004e3bb8fd6c +Source0: http://dl.sourceforge.net/bakefile/bakefile-%{version}.tar.gz +# Source0-md5: af29dbba0c3f9038f8dc358e94dac9ed +Patch0: %{name}-empy.patch URL: http://bakefile.sourceforge.net/ +BuildRequires: autoconf +BuildRequires: automake BuildRequires: rpm-pythonprov %pyrequires_eq python-modules Requires: python-libxml2 @@ -19,14 +20,25 @@ Requires: python-optik >= 1.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Bakefile is cross-platform, cross-compiler native makefiles generator. It takes -compiler-independent description of build tasks as input and generate native -makefile (autoconf's Makefile.in, Visual C++ project, bcc makefile etc.). +Bakefile is cross-platform, cross-compiler native makefiles generator. +It takes compiler-independent description of build tasks as input and +generate native makefile (autoconf's Makefile.in, Visual C++ project, +bcc makefile etc.). + +%description -l pl +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 +dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.). %prep -%setup -q -n %{name}-%{version}.%{snap} +%setup -q +%patch0 -p1 %build +%{__aclocal} +%{__autoconf} +%{__automake} %configure %install @@ -38,7 +50,7 @@ install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}} install # use system available modules -rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/src/{empy,optik} +rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,optik} %clean rm -rf $RPM_BUILD_ROOT @@ -48,10 +60,9 @@ rm -rf $RPM_BUILD_ROOT %doc README THANKS doc/html %attr(755,root,root) %{_bindir}/* %{_aclocaldir}/*.m4 -%dir %{_datadir}/%{name} -%{_datadir}/%{name}/output -%{_datadir}/%{name}/rules -%dir %{_datadir}/%{name}/src -%{_datadir}/%{name}/src/*.py[oc] -%attr(755,root,root) %{_datadir}/%{name}/src/bakefile.py -%attr(755,root,root) %{_datadir}/%{name}/src/bakefile_gen.py +%{_datadir}/%{name} +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/*.py[oc] +%attr(755,root,root) %{_libdir}/%{name}/bakefile.py +%attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py +%{_mandir}/man1/bakefile.1*