ghc-cairo/ghc-cairo.spec

114 lines
3.1 KiB
RPMSpec
Raw Normal View History

# 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-06-13 08:39:50 +00:00
Version: 0.12.3.1
2012-01-04 13:23:43 +00:00
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}
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
2012-03-20 12:05:41 +00:00
%ghc_files COPYRIGHT
2012-01-04 13:23:43 +00:00
%doc demo
2010-09-02 00:25:47 +00:00
%changelog
2012-06-13 08:39:50 +00:00
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 0.12.3.1-1
- update to 0.12.3.1
2012-03-20 12:05:41 +00:00
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 0.12.3-1
- update to 0.12.3
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
* 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
* 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)
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.12.0-4
- Enable build on sparcv9
* 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