]> git.pld-linux.org Git - packages/cwautomacros.git/blob - cwautomacros.spec
- initial
[packages/cwautomacros.git] / cwautomacros.spec
1 Summary:        A collection of autoconf macros
2 Name:           cwautomacros
3 Version:        20080318
4 Release:        1
5 License:        GPL
6 Group:          Development/Building
7 Source0:        http://download.berlios.de/cwautomacros/%{name}-%{version}.tar.bz2
8 # Source0-md5:  2991984bffd96222f2ae754872911022
9 URL:            http://cwautomacros.berlios.de/
10 BuildArch:      noarch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 cwautomacros is a collection of autoconf macros, plus an autogen.sh
15 script that can be used with them.
16
17 %prep
18 %setup -q
19
20 %build
21 for scripts in `ls scripts/*.sh`; do
22         sed -i -e 's^@INSTALLPREFIX@^/usr^g' $scripts
23 done
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
28 cp -a m4 scripts templates $RPM_BUILD_ROOT%{_datadir}/%{name}
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files
34 %defattr(644,root,root,755)
35 %doc doc/index.php
36 %dir %{_datadir}/%{name}
37 %dir %{_datadir}/%{name}/m4
38 %{_datadir}/%{name}/m4/*.m4
39 %dir %{_datadir}/%{name}/scripts
40 %attr(755,root,root) %{_datadir}/%{name}/scripts/*.sh
41 %{_datadir}/%{name}/scripts/line2entity
42 %dir %{_datadir}/%{name}/templates
43 %attr(755,root,root) %{_datadir}/%{name}/templates/autogen.sh
44 %{_datadir}/%{name}/templates/doxygen
This page took 0.061639 seconds and 3 git commands to generate.