1 Summary: Cons - A software Construction System
6 Group: Development/Tools
7 Source0: http://www.gnu.org/software/cons/stable/%{name}-%{version}.tgz
8 # Source0-md5: 4e42d6aa29bc8c3da76e3ad6b9030414
9 Source1: http://www.gnu.org/software/cons/stable/%{name}-test-%{version}.tgz
10 # Source1-md5: c09f2cfe93b5f78337d159309e917e73
11 URL: http://www.gnu.org/software/cons/
12 Requires: perl-Digest-MD5
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Cons is a Perl-based make replacement. It is not compatible with make,
18 but has a number of powerful capabilities not found in other software
19 construction systems, including make.
21 Do you use Makefiles for your project? Have you ever done a "make
22 clean; make all" just because you didn't know if the files you changed
23 would be rebuilt correctly? Or perhaps you work on several machines
24 accessing an NFS server, and if their clocks aren't in sync, make
25 won't know to rebuild things? Well, welcome to a new and better way to
26 control the building of your projects.
29 Summary: Cons-Test - Cons software construction utility regression test package
30 Group: Development/Tools
31 Requires: %{name} = %{version}-%{release}
34 The regression test package for the Cons software construction tool,
35 containing the tests, a wrapper script for executing them, and
38 Cons is a Perl-based make replacement. It is not compatible with make,
39 but has a number of powerful capabilities not found in other software
40 construction systems, including make.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/cons}
52 cp -p cons test/cons-test $RPM_BUILD_ROOT%{_bindir}/
53 cp -p cons.1.gz test/cons-test.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
54 cp -p -r test/t $RPM_BUILD_ROOT%{_datadir}/cons/
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc CHANGES README RELEASE TODO cons.html
62 %{_mandir}/man1/cons.*
63 %attr(755,root,root) %{_bindir}/cons
66 %defattr(644,root,root,755)
67 %doc test/CHANGES test/README test/TODO test/Tests.txt
68 %{_mandir}/man1/cons-test.*
70 %attr(755,root,root) %{_bindir}/cons-test