]> git.pld-linux.org Git - packages/bakefile.git/blobdiff - bakefile.spec
- updated to 0.2.1_pre1
[packages/bakefile.git] / bakefile.spec
index 4ed21c140587bd76fa6493219e30e616c6a9d471..c950859fbd52468b534f0bd2d483d50277f5df71 100644 (file)
@@ -1,32 +1,45 @@
-
-%include       /usr/lib/rpm/macros.python
+%define                pre     _pre1
 
 Summary:       Native makefiles generator
+Summary(pl):   Generator natywnych plików typu Makefile
 Name:          bakefile
-Version:       0.1.1
-%define                snap 20030921
-Release:       0.%{snap}.1
+Version:       0.2.1
+Release:       0.%{pre}.1
 License:       GPL v2+
 Group:         Applications/Text
-Source0:       http://bakefile.sourceforge.net/snapshot/bakefile-%{version}.%{snap}.tar.gz
-# Source0-md5: 6c8d21e2d73440b6da9be6d75b568f9e
+Source0:       http://dl.sourceforge.net/bakefile/bakefile-%{version}%{pre}.tar.gz
+# Source0-md5: bf4b78fb2afd9f34cb2f845174fc32d0
+Patch0:                %{name}-empy.patch
 URL:           http://bakefile.sourceforge.net/
-BuildRequires: rpm-pythonprov
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: python-devel
 %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 -n %{name}-%{version}%{pre} 
+%patch0 -p1
 
 %build
+%{__aclocal} -I admin
+%{__autoconf}
+%{__automake}
 %configure
 
 %install
@@ -37,6 +50,9 @@ install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
        DESTDIR=$RPM_BUILD_ROOT \
        install
 
+# use system available modules
+rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,optik}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -45,10 +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/bakefil*.1*
This page took 0.088175 seconds and 4 git commands to generate.