2012-01-24 02:26:11 +00:00
|
|
|
# cabal2spec-0.25.2
|
2012-01-04 13:23:43 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
2010-09-02 00:25:47 +00:00
|
|
|
%global pkg_name cairo
|
|
|
|
|
|
|
|
%global common_summary Haskell %{pkg_name} library
|
|
|
|
|
|
|
|
%global common_description Haskell binding to the Cairo vector graphics library.
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2012-01-04 13:23:43 +00:00
|
|
|
Version: 0.12.2
|
|
|
|
Release: 1%{?dist}
|
2010-09-02 00:25:47 +00:00
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD
|
2012-01-04 13:23:43 +00:00
|
|
|
# BEGIN cabal2spec
|
2010-09-02 00:25:47 +00:00
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
2011-06-21 08:22:56 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
2011-06-21 02:47:40 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-01-04 13:23:43 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
|
|
|
# END cabal2spec
|
|
|
|
BuildRequires: cairo-devel%{?_isa}
|
2010-11-30 02:27:48 +00:00
|
|
|
BuildRequires: gtk2hs-buildtools
|
2012-01-04 13:23:43 +00:00
|
|
|
BuildRequires: ghc-bytestring-prof
|
|
|
|
BuildRequires: ghc-haskell98-prof
|
|
|
|
BuildRequires: ghc-mtl-prof
|
2010-09-02 00:25:47 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
rm -r $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
2012-01-04 13:23:43 +00:00
|
|
|
%ghc_devel_package
|
|
|
|
Requires: cairo-devel%{?_isa}
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files
|
|
|
|
%doc demo
|
2011-06-21 02:47:40 +00:00
|
|
|
|
|
|
|
|
2010-09-02 00:25:47 +00:00
|
|
|
%changelog
|
2012-01-04 13:23:43 +00:00
|
|
|
* Wed Jan 4 2012 Jens Petersen <petersen@redhat.com> - 0.12.2-1
|
|
|
|
- update to 0.12.2 and cabal2spec-0.25.2
|
|
|
|
|
2011-10-20 19:20:03 +00:00
|
|
|
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.12.1-1.2
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-11 09:15:46 +00:00
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.12.1-1.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2011-09-19 16:14:48 +00:00
|
|
|
* Tue Sep 20 2011 Jens Petersen <petersen@redhat.com> - 0.12.1-1
|
|
|
|
- update to 0.12.1
|
|
|
|
|
2011-06-21 02:47:40 +00:00
|
|
|
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 0.12.0-5
|
|
|
|
- use BR ghc-Cabal-devel instead of ghc-prof (cabal2spec-0.23.1)
|
|
|
|
|
2011-03-10 08:15:38 +00:00
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.12.0-4
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-09 01:03:38 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-18 04:17:12 +00:00
|
|
|
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 0.12.0-2
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
2010-11-30 02:27:48 +00:00
|
|
|
* Tue Nov 30 2010 Jens Petersen <petersen@redhat.com> - 0.12.0-1
|
|
|
|
- update to 0.12.0
|
|
|
|
- Gtk2HsSetup patch no longer needed
|
|
|
|
|
2010-11-25 06:30:27 +00:00
|
|
|
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 0.11.1-2
|
2010-11-25 07:54:17 +00:00
|
|
|
- add ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch to fix build
|
2010-11-25 06:30:27 +00:00
|
|
|
|
2010-09-02 00:25:47 +00:00
|
|
|
* Thu Aug 19 2010 Jens Petersen <petersen@redhat.com> - 0.11.1-1
|
|
|
|
- update to 0.11.1
|
|
|
|
|
|
|
|
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 0.11.0-2
|
|
|
|
- use ghc-rpm-macros-0.8.1 so devel provides doc
|
|
|
|
|
|
|
|
* Wed Jun 30 2010 Jens Petersen <petersen@redhat.com> - 0.11.0-1
|
|
|
|
- description and license
|
|
|
|
- buildrequires gtk2hs-buildtools
|
|
|
|
- support hscolour
|
|
|
|
- buildrequires ghc-mtl-devel and cairo-devel
|
|
|
|
|
|
|
|
* Wed Jun 30 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.11.0-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.1
|