]> git.pld-linux.org Git - packages/cons.git/commitdiff
- new
authorradek <radek@pld-linux.org>
Sun, 24 Oct 2004 18:10:26 +0000 (18:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cons.spec -> 1.1

cons.spec [new file with mode: 0644]

diff --git a/cons.spec b/cons.spec
new file mode 100644 (file)
index 0000000..b773c34
--- /dev/null
+++ b/cons.spec
@@ -0,0 +1,70 @@
+Summary:       Cons - A software Construction System
+Name:          cons
+Version:       2.2.0
+Release:       1
+License:       GPL
+Group:         Development/Tools
+Source0:       http://www.gnu.org/software/cons/stable/%{name}-%{version}.tgz
+# Source0-md5: 4e42d6aa29bc8c3da76e3ad6b9030414
+Source1:       http://www.gnu.org/software/cons/stable/%{name}-test-%{version}.tgz
+# Source1-md5: c09f2cfe93b5f78337d159309e917e73
+URL:           http://www.gnu.org/software/cons/
+Requires:      perl-Digest-MD5
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Cons is a Perl-based make replacement. It is not compatible with make,
+but has a number of powerful capabilities not found in other software
+construction systems, including make.
+
+Do you use Makefiles for your project? Have you ever done a "make
+clean; make all" just because you didn't know if the files you changed
+would be rebuilt correctly? Or perhaps you work on several machines
+accessing an NFS server, and if their clocks aren't in sync, make
+won't know to rebuild things? Well, welcome to a new and better way to
+control the building of your projects.
+
+%package test
+Summary:       Cons-Test - Cons software construction utility regression test package
+Group:         Development/Tools
+Requires:      %{name} = %{version}-%{release}
+
+%description test
+The regression test package for the Cons software construction tool,
+containing the tests, a wrapper script for executing them, and
+supporting modules.
+
+Cons is a Perl-based make replacement. It is not compatible with make,
+but has a number of powerful capabilities not found in other software
+construction systems, including make.
+
+%prep
+%setup -q
+%setup -q -D -T -b 1
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/cons}
+
+cp -p cons test/cons-test $RPM_BUILD_ROOT%{_bindir}/
+cp -p cons.1.gz test/cons-test.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p -r test/t $RPM_BUILD_ROOT%{_datadir}/cons/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README RELEASE TODO cons.html
+%{_mandir}/man1/cons.*
+%attr(755,root,root) %{_bindir}/cons
+
+%files test
+%defattr(644,root,root,755)
+%doc test/CHANGES test/README test/TODO test/Tests.txt
+%{_mandir}/man1/cons-test.*
+%{_datadir}/cons
+%attr(755,root,root) %{_bindir}/cons-test
This page took 0.080923 seconds and 4 git commands to generate.