ghc-cairo/ghc-cairo.spec

88 lines
2.5 KiB
RPMSpec
Raw Normal View History

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.
2011-09-19 16:14:48 +00:00
%global ghc_pkg_c_deps cairo-devel%{?_isa}
2010-09-02 00:25:47 +00:00
Name: ghc-%{pkg_name}
2011-09-19 16:14:48 +00:00
Version: 0.12.1
2011-10-11 09:15:46 +00:00
Release: 1%{?dist}.1
2010-09-02 00:25:47 +00:00
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
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
BuildRequires: ghc-rpm-macros
2010-09-02 00:25:47 +00:00
BuildRequires: hscolour
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
2010-11-30 02:27:48 +00:00
BuildRequires: gtk2hs-buildtools
BuildRequires: ghc-bytestring-prof, ghc-haskell98-prof, 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}
echo "%doc demo" >> %{name}-devel.files
%ghc_lib_package
2010-09-02 00:25:47 +00:00
%changelog
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