update to 0.12.2 and cabal2spec-0.25.2

This commit is contained in:
Jens Petersen 2012-01-04 22:23:43 +09:00
parent e4ceaa64e5
commit b40095110a
3 changed files with 29 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/cairo-0.11.1.tar.gz
/cairo-0.12.0.tar.gz
/cairo-0.12.1.tar.gz
/cairo-0.12.2.tar.gz

View File

@ -1,27 +1,32 @@
# cabal2spec-@CABAL2SPEC_VERSION@
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name cairo
%global common_summary Haskell %{pkg_name} library
%global common_description Haskell binding to the Cairo vector graphics library.
%global ghc_pkg_c_deps cairo-devel%{?_isa}
Name: ghc-%{pkg_name}
Version: 0.12.1
Release: 1%{?dist}.2
Version: 0.12.2
Release: 1%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
# 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
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# END cabal2spec
BuildRequires: cairo-devel%{?_isa}
BuildRequires: gtk2hs-buildtools
BuildRequires: ghc-bytestring-prof, ghc-haskell98-prof, ghc-mtl-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-haskell98-prof
BuildRequires: ghc-mtl-prof
%description
%{common_description}
@ -39,13 +44,25 @@ BuildRequires: ghc-bytestring-prof, ghc-haskell98-prof, ghc-mtl-prof
%ghc_lib_install
rm -r $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}
echo "%doc demo" >> %{name}-devel.files
%ghc_lib_package
%ghc_devel_package
Requires: cairo-devel%{?_isa}
%ghc_devel_description
%ghc_devel_post_postun
%ghc_files
%doc demo
%changelog
* Wed Jan 4 2012 Jens Petersen <petersen@redhat.com> - 0.12.2-1
- update to 0.12.2 and cabal2spec-0.25.2
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.12.1-1.2
- rebuild with new gmp without compat lib

View File

@ -1 +1 @@
b63d31dabb6af6f63c25a93d3ebffcbb cairo-0.12.1.tar.gz
b3583136fe84d25cd9d4f7bda3c3db0c cairo-0.12.2.tar.gz