[ghc-texmath] update to new simplified Haskell Packaging Guidelines
Jens Petersen
petersen at fedoraproject.org
Wed Jun 5 09:03:03 UTC 2013
commit 51e184d38017aff35030fd8e1c32e3b3c7a3c092
Author: Jens Petersen <petersen at redhat.com>
Date: Wed Jun 5 18:01:57 2013 +0900
update to new simplified Haskell Packaging Guidelines
.gitignore | 1 +
ghc-texmath.spec | 50 +++++++++++++++++++++++++++++++++-----------------
sources | 2 +-
3 files changed, 35 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8ced9f6..1ae9cd7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/texmath-0.6.0.6.tar.gz
/texmath-0.6.1.1.tar.gz
/texmath-0.6.1.3.tar.gz
+/texmath-0.6.1.5.tar.gz
diff --git a/ghc-texmath.spec b/ghc-texmath.spec
index 8fd6f9c..83e59f8 100644
--- a/ghc-texmath.spec
+++ b/ghc-texmath.spec
@@ -1,20 +1,11 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
-# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name texmath
-%global common_summary Conversion of LaTeX math formulas to MathML or OMML
-
-%global common_description The texmathml library provides functions to convert LaTeX math formulas\
-to presentation MathML (which can be used in HTML) or\
-OMML (Office Math Markup Language, used in Microsoft Office).\
-It supports basic LaTeX and AMS extensions,\
-and it can parse and apply LaTeX macros.
-
Name: ghc-%{pkg_name}
-Version: 0.6.1.3
-Release: 1%{?dist}
-Summary: %{common_summary}
+Version: 0.6.1.5
+Release: 2%{?dist}
+Summary: Conversion of LaTeX math formulas to MathML or OMML
License: GPLv2+
URL: http://hackage.haskell.org/package/%{pkg_name}
@@ -30,7 +21,22 @@ BuildRequires: ghc-xml-devel
# End cabal-rpm deps
%description
-%{common_description}
+The texmathml library provides functions to convert LaTeX math formulas
+to presentation MathML (which can be used in HTML) or
+OMML (Office Math Markup Language, used in Microsoft Office).
+It supports basic LaTeX and AMS extensions,
+and it can parse and apply LaTeX macros.
+
+
+%package devel
+Summary: Haskell %{pkg_name} library development files
+Requires: ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development files.
%prep
@@ -47,18 +53,28 @@ BuildRequires: ghc-xml-devel
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{cgi,tests}
-%ghc_devel_package
+%post devel
+%ghc_pkg_recache
+
-%ghc_devel_description
+%postun devel
+%ghc_pkg_recache
-%ghc_devel_post_postun
+%files -f %{name}.files
+%doc LICENSE
-%ghc_files LICENSE
+%files devel -f %{name}-devel.files
%changelog
+* Wed Jun 05 2013 Jens Petersen <petersen at redhat.com> - 0.6.1.5-2
+- update to new simplified Haskell Packaging Guidelines
+
+* Wed Jun 05 2013 Jens Petersen <petersen at redhat.com> - 0.6.1.5-1
+- update to 0.6.1.5
+
* Sun Mar 10 2013 Jens Petersen <petersen at redhat.com> - 0.6.1.3-1
- update to 0.6.1.3
diff --git a/sources b/sources
index 72d08e9..0683afe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6737a06392f51886e8b1ca8aa6dc2168 texmath-0.6.1.3.tar.gz
+4600cec39f3592a65e5f665df97f56ac texmath-0.6.1.5.tar.gz
More information about the scm-commits
mailing list