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