packages: cpphs/cpphs.spec - filled in the blanks - rel 1

baggins baggins at pld-linux.org
Wed Dec 15 14:05:55 CET 2010


Author: baggins                      Date: Wed Dec 15 13:05:56 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- filled in the blanks
- rel 1

---- Files affected:
packages/cpphs:
   cpphs.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/cpphs/cpphs.spec
diff -u packages/cpphs/cpphs.spec:1.1 packages/cpphs/cpphs.spec:1.2
--- packages/cpphs/cpphs.spec:1.1	Wed Dec 15 14:00:47 2010
+++ packages/cpphs/cpphs.spec	Wed Dec 15 14:05:47 2010
@@ -1,8 +1,8 @@
 # $Revision$, $Date$
-Summary:	-
+Summary:	A liberalised re-implementation of cpp, the C pre-processor
 Name:		cpphs
 Version:	1.11
-Release:	0.1
+Release:	1
 License:	LGPL
 Group:		Development/Languages
 Source0:	http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
@@ -15,6 +15,15 @@
 %define		ghcdir		ghc-%(/usr/bin/ghc --numeric-version)
 
 %description
+Cpphs is a re-implementation of the C pre-processor that is both
+more compatible with Haskell, and itself written in Haskell so
+that it can be distributed with compilers.
+
+This version of the C pre-processor is pretty-much
+feature-complete and compatible with traditional (K&R)
+pre-processors.  Additional features include: a plain-text mode;
+an option to unlit literate code files; and an option to turn
+off macro-expansion.
 
 %prep
 %setup -q
@@ -40,7 +49,7 @@
 cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
 
 runhaskell Setup.hs register \
-	--gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
+	--gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,10 +62,11 @@
 
 %files
 %defattr(644,root,root,755)
-%doc NEWS
+%doc CHANGELOG README docs/design docs/index.html
 %doc %{name}-%{version}-doc/html
-%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}
+%{_bindir}/cpphs
+%{_libdir}/%{ghcdir}/package.conf.d/%{name}.conf
+%{_libdir}/%{ghcdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +74,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/12/15 13:05:47  baggins
+- filled in the blanks
+- rel 1
+
 Revision 1.1  2010/12/15 13:00:47  baggins
 - initial revision
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cpphs/cpphs.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list