]> git.pld-linux.org Git - packages/bakefile.git/blob - bakefile.spec
- BR: libtool
[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.4
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:  af29dbba0c3f9038f8dc358e94dac9ed
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 Requires:       python-optik >= 1.2
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Bakefile is cross-platform, cross-compiler native makefiles generator.
24 It takes compiler-independent description of build tasks as input and
25 generate native makefile (autoconf's Makefile.in, Visual C++ project,
26 bcc makefile etc.).
27
28 %description -l pl
29 Bakefile to generator natywnych plików typu Makefile dla wielu
30 platform i kompilatorów. Przyjmuje na wej¶ciu niezale¿ny od
31 kompilatora opis zadañ budowania  i tworzy natywny plik (Makefile.in
32 dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.).
33
34 %prep
35 %setup -q 
36 %patch0 -p1
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
47
48 %{__make} \
49         DESTDIR=$RPM_BUILD_ROOT \
50         install
51
52 # use system available modules
53 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/{empy,optik}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README THANKS doc/html
61 %attr(755,root,root) %{_bindir}/*
62 %{_aclocaldir}/*.m4
63 %{_datadir}/%{name}
64 %dir %{_libdir}/%{name}
65 %{_libdir}/%{name}/*.py[oc]
66 %attr(755,root,root) %{_libdir}/%{name}/bakefile.py
67 %attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py
68 %{_mandir}/man1/bakefile.1*
This page took 0.05006 seconds and 4 git commands to generate.