]>
Commit | Line | Data |
---|---|---|
8b8fdd32 | 1 | Summary: Cons - A software Construction System |
586274c3 | 2 | Summary(pl.UTF-8): Cons - system do konstruowania oprogramowania |
8b8fdd32 | 3 | Name: cons |
4 | Version: 2.2.0 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Development/Tools | |
8 | Source0: http://www.gnu.org/software/cons/stable/%{name}-%{version}.tgz | |
9 | # Source0-md5: 4e42d6aa29bc8c3da76e3ad6b9030414 | |
10 | Source1: http://www.gnu.org/software/cons/stable/%{name}-test-%{version}.tgz | |
11 | # Source1-md5: c09f2cfe93b5f78337d159309e917e73 | |
12 | URL: http://www.gnu.org/software/cons/ | |
13 | Requires: perl-Digest-MD5 | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Cons is a Perl-based make replacement. It is not compatible with make, | |
19 | but has a number of powerful capabilities not found in other software | |
20 | construction systems, including make. | |
21 | ||
22 | Do you use Makefiles for your project? Have you ever done a "make | |
23 | clean; make all" just because you didn't know if the files you changed | |
24 | would be rebuilt correctly? Or perhaps you work on several machines | |
25 | accessing an NFS server, and if their clocks aren't in sync, make | |
26 | won't know to rebuild things? Well, welcome to a new and better way to | |
27 | control the building of your projects. | |
28 | ||
db1e0f4e JR |
29 | %description -l pl.UTF-8 |
30 | Cons to oparty na Perlu zastępca make. Nie jest kompatybilny z make | |
31 | ale ma wiele potężnych możliwości, których nie ma żaden inny system do | |
32 | konstruowania oprogramowania, włącznie z make. | |
554dbb14 | 33 | |
db1e0f4e JR |
34 | Czy używasz plików Makefile w swoim projekcie? Robiłeś kiedyś "make |
35 | clean; make all", bo nie byłeś pewien, czy zmienione pliki zostaną | |
36 | przebudowane poprawnie? A może pracujesz na kilku maszynach z użyciem | |
37 | serwera NFS, i jeśli ich zegary nie są zsynchronizowane, make nie wie, | |
38 | co trzeba przebudować? Tak, witamy na nowej i lepszej drodze do | |
39 | sterowania budowaniem projektów. | |
554dbb14 | 40 | |
8b8fdd32 | 41 | %package test |
42 | Summary: Cons-Test - Cons software construction utility regression test package | |
586274c3 | 43 | Summary(pl.UTF-8): Cons-Test - pakiet z testami regresji dla narzędzia Cons |
8b8fdd32 | 44 | Group: Development/Tools |
45 | Requires: %{name} = %{version}-%{release} | |
46 | ||
47 | %description test | |
48 | The regression test package for the Cons software construction tool, | |
49 | containing the tests, a wrapper script for executing them, and | |
50 | supporting modules. | |
51 | ||
52 | Cons is a Perl-based make replacement. It is not compatible with make, | |
53 | but has a number of powerful capabilities not found in other software | |
54 | construction systems, including make. | |
55 | ||
db1e0f4e JR |
56 | %description test -l pl.UTF-8 |
57 | Pakiet z testami regresji dla narzędzia do konstruowania | |
58 | oprogramowania Cons. Pakiet zawiera testy, skrypt obudowujący do ich | |
59 | wykonywania i wspierające moduły. | |
554dbb14 | 60 | |
db1e0f4e JR |
61 | Cons to oparty na Perlu zastępca make. Nie jest kompatybilny z make |
62 | ale ma wiele potężnych możliwości, których nie ma żaden inny system do | |
63 | konstruowania oprogramowania, włącznie z make. | |
554dbb14 | 64 | |
8b8fdd32 | 65 | %prep |
66 | %setup -q | |
67 | %setup -q -D -T -b 1 | |
68 | ||
69 | %build | |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/cons} | |
74 | ||
554dbb14 JB |
75 | install cons test/cons-test $RPM_BUILD_ROOT%{_bindir} |
76 | install cons.1.gz test/cons-test.1.gz $RPM_BUILD_ROOT%{_mandir}/man1 | |
77 | cp -p -r test/t $RPM_BUILD_ROOT%{_datadir}/cons | |
8b8fdd32 | 78 | |
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
84 | %doc CHANGES README RELEASE TODO cons.html | |
8b8fdd32 | 85 | %attr(755,root,root) %{_bindir}/cons |
554dbb14 | 86 | %{_mandir}/man1/cons.1* |
8b8fdd32 | 87 | |
88 | %files test | |
89 | %defattr(644,root,root,755) | |
90 | %doc test/CHANGES test/README test/TODO test/Tests.txt | |
8b8fdd32 | 91 | %attr(755,root,root) %{_bindir}/cons-test |
554dbb14 JB |
92 | %{_datadir}/cons |
93 | %{_mandir}/man1/cons-test.1* |