]> git.pld-linux.org Git - packages/bakefile.git/blob - bakefile.spec
- updated to 0.1.5
[packages/bakefile.git] / bakefile.spec
1 Summary:        Native makefiles generator
2 Summary(pl):    Generator natywnych plików typu Makefile
3 Name:           bakefile
4 Version:        0.1.5
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Text
8 Source0:        http://dl.sourceforge.net/bakefile/bakefile-%{version}.tar.gz
9 # Source0-md5:  75672a679c4b1f72b48bbddc6f3ffffb
10 Patch0:         %{name}-empy.patch
11 URL:            http://bakefile.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRequires:  rpm-pythonprov
16 %pyrequires_eq  python-modules
17 Requires:       python-libxml2
18 Requires:       empy >= 3.1
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Bakefile is cross-platform, cross-compiler native makefiles generator.
23 It takes compiler-independent description of build tasks as input and
24 generate native makefile (autoconf's Makefile.in, Visual C++ project,
25 bcc makefile etc.).
26
27 %description -l pl
28 Bakefile to generator natywnych plików typu Makefile dla wielu
29 platform i kompilatorów. Przyjmuje na wej¶ciu niezale¿ny od
30 kompilatora opis zadañ budowania  i tworzy natywny plik (Makefile.in
31 dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.).
32
33 %prep
34 %setup -q 
35 %patch0 -p1
36
37 %build
38 %{__aclocal} -I admin
39 %{__autoconf}
40 %{__automake}
41 %configure
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
46
47 %{__make} \
48         DESTDIR=$RPM_BUILD_ROOT \
49         install
50
51 touch $RPM_BUILD_ROOT%{_aclocaldir}/autoconf_inc.m4
52
53 # use system available modules
54 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,optik}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README THANKS doc/html
62 %attr(755,root,root) %{_bindir}/*
63 %{_aclocaldir}/*.m4
64 %{_datadir}/%{name}
65 %dir %{_libdir}/%{name}
66 %{_libdir}/%{name}/*.py[oc]
67 %attr(755,root,root) %{_libdir}/%{name}/*.so
68 %attr(755,root,root) %{_libdir}/%{name}/bakefile.py
69 %attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py
70 %{_mandir}/man1/bakefile.1*
This page took 0.049663 seconds and 4 git commands to generate.