update to new simplified Haskell Packaging Guidelines
This commit is contained in:
parent
16bd1cac82
commit
51e184d380
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
%ghc_devel_description
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
%files -f %{name}.files
|
||||
%doc LICENSE
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 05 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.5-2
|
||||
- update to new simplified Haskell Packaging Guidelines
|
||||
|
||||
* Wed Jun 05 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.5-1
|
||||
- update to 0.6.1.5
|
||||
|
||||
* Sun Mar 10 2013 Jens Petersen <petersen@redhat.com> - 0.6.1.3-1
|
||||
- update to 0.6.1.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user