update to 0.5.0.4 and cabal2spec-0.25.2
This commit is contained in:
parent
0ea25e80ab
commit
6ce2ad0c53
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/texmath-0.4.tar.gz
|
||||
/texmath-0.5.0.1.tar.gz
|
||||
/texmath-0.5.0.4.tar.gz
|
||||
|
@ -1,3 +1,7 @@
|
||||
# cabal2spec-0.25.2
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name texmath
|
||||
|
||||
%global common_summary Haskell %{pkg_name} library
|
||||
@ -7,19 +11,22 @@ presentation MathML. It supports basic LaTeX and AMS extensions, and it can\
|
||||
parse and apply LaTeX macros.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.5.0.1
|
||||
Release: 3%{?dist}.3
|
||||
Version: 0.5.0.4
|
||||
Release: 1%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: GPLv2+
|
||||
# BEGIN cabal2spec
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ghc_arches}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: hscolour
|
||||
BuildRequires: ghc-parsec-prof, ghc-syb-prof, ghc-xml-prof
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
# END cabal2spec
|
||||
BuildRequires: ghc-parsec-prof
|
||||
BuildRequires: ghc-syb-prof
|
||||
BuildRequires: ghc-xml-prof
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
@ -36,14 +43,24 @@ BuildRequires: ghc-parsec-prof, ghc-syb-prof, ghc-xml-prof
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
# remove tests and cgi data files
|
||||
rm -r $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}
|
||||
rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{cgi,tests}
|
||||
|
||||
|
||||
%ghc_lib_package
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%ghc_files
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 5 2012 Jens Petersen <petersen@redhat.com> - 0.5.0.4-1
|
||||
- update to 0.5.0.4 and cabal2spec-0.25.2
|
||||
|
||||
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5.0.1-3.3
|
||||
- rebuild with new gmp without compat lib
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user