template-specs: ghc-package.spec - added prof subpackage
baggins
baggins at pld-linux.org
Tue Sep 27 21:08:46 CEST 2011
Author: baggins Date: Tue Sep 27 19:08:46 2011 GMT
Module: template-specs Tag: HEAD
---- Log message:
- added prof subpackage
---- Files affected:
template-specs:
ghc-package.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: template-specs/ghc-package.spec
diff -u template-specs/ghc-package.spec:1.18 template-specs/ghc-package.spec:1.19
--- template-specs/ghc-package.spec:1.18 Thu Feb 24 13:44:44 2011
+++ template-specs/ghc-package.spec Tue Sep 27 21:08:41 2011
@@ -21,10 +21,25 @@
%description
+%package prof
+Summary: Profiling %{pkgname} library for GHC
+Summary(pl.UTF-8): Biblioteka profilująca %{pkgname} dla GHC.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description prof
+Profiling %{pkgname} library for GHC. Should be installed when
+GHC's profiling subsystem is needed.
+
+%description prof -l pl.UTF-8
+Biblioteka profilująca %{pkgname} dla GHC. Powinna być zainstalowana
+kiedy potrzebujemy systemu profilującego z GHC.
+
%package doc
Summary: HTML documentation for %{pkgname}
Summary(pl.UTF-8): Dokumentacja w formacie HTML dla %{pkgname}
Group: Documentation
+Requires: %{name} = %{version}-%{release}
%description doc
HTML documentation for %{pkgname}.
@@ -36,7 +51,7 @@
%setup -q -n %{pkgname}-%{version}
%build
-runhaskell Setup.hs configure -v2 \
+runhaskell Setup.hs configure -v2 --enable-library-profiling \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
@@ -71,7 +86,18 @@
%defattr(644,root,root,755)
%doc NEWS
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}
+%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.o
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.a
+%exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*_p.a
+
+%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/PACKAGE
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/PACKAGE/*.hi
+
+%files prof
+%defattr(644,root,root,755)
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*_p.a
+%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/PACKAGE/*.p_hi
%files doc
%defattr(644,root,root,755)
@@ -83,6 +109,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2011/09/27 19:08:41 baggins
+- added prof subpackage
+
Revision 1.18 2011/02/24 12:44:44 glen
- use PACKAGE_NAME as substitution for case insensitive matching
@@ -140,4 +169,4 @@
- fixed post
Revision 1.1 2010/04/08 12:03:46 baggins
-- template for haskell (ghc) packages
\ No newline at end of file
+- template for haskell (ghc) packages
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/ghc-package.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list