packages: ghc-uniplate/ghc-uniplate.spec - rel 2 - fix docs packaging
baggins
baggins at pld-linux.org
Sat Oct 22 11:49:45 CEST 2011
Author: baggins Date: Sat Oct 22 09:49:45 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 2
- fix docs packaging
---- Files affected:
packages/ghc-uniplate:
ghc-uniplate.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/ghc-uniplate/ghc-uniplate.spec
diff -u packages/ghc-uniplate/ghc-uniplate.spec:1.7 packages/ghc-uniplate/ghc-uniplate.spec:1.8
--- packages/ghc-uniplate/ghc-uniplate.spec:1.7 Tue Sep 27 15:12:00 2011
+++ packages/ghc-uniplate/ghc-uniplate.spec Sat Oct 22 11:49:40 2011
@@ -3,7 +3,7 @@
Summary: Help writing simple, concise and fast generic operations
Name: ghc-%{pkgname}
Version: 1.6.2
-Release: 1
+Release: 2
License: BSD
Group: Development/Languages
Source0: http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkgname}-%{version}.tar.gz
@@ -12,27 +12,20 @@
BuildRequires: ghc >= 6.12.3
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
+Obsoletes: ghc-uniplate-doc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
%define _enable_debug_packages 0
+# don't compress haddoc files
+%define _noautocompressdoc *.haddock
+
%description
Uniplate is library for writing simple and concise generic operations.
Uniplate has similar goals to the original Scrap Your Boilerplate
work, but is substantially simpler and faster.
-%package doc
-Summary: HTML documentation for %{pkgname}
-Summary(pl.UTF-8): Dokumentacja w formacie HTML dla %{pkgname}
-Group: Documentation
-
-%description doc
-HTML documentation for %{pkgname}.
-
-%description doc -l pl.UTF-8
-Dokumentacja w formacie HTML dla %{pkgname}.
-
%prep
%setup -q -n %{pkgname}-%{version}
@@ -54,7 +47,7 @@
# work around automatic haddock docs installation
rm -rf %{name}-%{version}-doc
-cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{name}-%{version}-doc
+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
@@ -71,19 +64,20 @@
%files
%defattr(644,root,root,755)
%doc uniplate.htm
+%doc %{name}-%{version}-doc/*
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%files doc
-%defattr(644,root,root,755)
-%doc %{name}-%{version}-doc/*
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2011/10/22 09:49:40 baggins
+- rel 2
+- fix docs packaging
+
Revision 1.7 2011/09/27 13:12:00 baggins
- fix md5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ghc-uniplate/ghc-uniplate.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list