]> git.pld-linux.org Git - packages/cons.git/blob - cons.spec
b773c3401f763efc6c4a0d17a9adab2391de9769
[packages/cons.git] / cons.spec
1 Summary:        Cons - A software Construction System
2 Name:           cons
3 Version:        2.2.0
4 Release:        1
5 License:        GPL
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
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
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.
20
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.
27
28 %package test
29 Summary:        Cons-Test - Cons software construction utility regression test package
30 Group:          Development/Tools
31 Requires:       %{name} = %{version}-%{release}
32
33 %description test
34 The regression test package for the Cons software construction tool,
35 containing the tests, a wrapper script for executing them, and
36 supporting modules.
37
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.
41
42 %prep
43 %setup -q
44 %setup -q -D -T -b 1
45
46 %build
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/cons}
51
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/
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
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
64
65 %files test
66 %defattr(644,root,root,755)
67 %doc test/CHANGES test/README test/TODO test/Tests.txt
68 %{_mandir}/man1/cons-test.*
69 %{_datadir}/cons
70 %attr(755,root,root) %{_bindir}/cons-test
This page took 0.057333 seconds and 2 git commands to generate.