]> git.pld-linux.org Git - packages/bakefile.git/blobdiff - bakefile.spec
- updated to 0.1.5
[packages/bakefile.git] / bakefile.spec
index ebd50cf42b31e1e7ba5ed3559e086f8f10b5e900..2861a1b05473ba106e41cd8f3ea9b001062df29c 100644 (file)
@@ -1,32 +1,43 @@
-
-%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.5
+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: 75672a679c4b1f72b48bbddc6f3ffffb
+Patch0:                %{name}-empy.patch
 URL:           http://bakefile.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 BuildRequires: rpm-pythonprov
 %pyrequires_eq python-modules
 Requires:      python-libxml2
 Requires:      empy >= 3.1
-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} -I admin
+%{__autoconf}
+%{__automake}
 %configure
 
 %install
@@ -37,8 +48,10 @@ install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
        DESTDIR=$RPM_BUILD_ROOT \
        install
 
+touch $RPM_BUILD_ROOT%{_aclocaldir}/autoconf_inc.m4
+
 # 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,11 +61,10 @@ 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}/*.so
+%attr(755,root,root) %{_libdir}/%{name}/bakefile.py
+%attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py
 %{_mandir}/man1/bakefile.1*
This page took 0.077036 seconds and 4 git commands to generate.