120 lines
3.3 KiB
RPMSpec
120 lines
3.3 KiB
RPMSpec
# cabal2spec-0.25.2
|
|
# 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.
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 0.12.3.1
|
|
Release: 3%{?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 %{!?without_hscolour:hscolour}
|
|
# END cabal2spec
|
|
BuildRequires: cairo-devel%{?_isa}
|
|
BuildRequires: gtk2hs-buildtools
|
|
BuildRequires: ghc-bytestring-devel
|
|
BuildRequires: ghc-haskell98-devel
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
%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}
|
|
|
|
|
|
%ghc_devel_package
|
|
Requires: cairo-devel%{?_isa}
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
%ghc_files COPYRIGHT
|
|
%doc demo
|
|
|
|
|
|
%changelog
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.12.3.1-2
|
|
- change prof BRs to devel
|
|
|
|
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 0.12.3.1-1
|
|
- update to 0.12.3.1
|
|
|
|
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 0.12.3-1
|
|
- update to 0.12.3
|
|
|
|
* 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
|
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.12.1-1.1
|
|
- rebuild with new gmp
|
|
|
|
* 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
|
|
|
|
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 0.12.0-2
|
|
- update to cabal2spec-0.22.4
|
|
|
|
* Tue Nov 30 2010 Jens Petersen <petersen@redhat.com> - 0.12.0-1
|
|
- update to 0.12.0
|
|
- Gtk2HsSetup patch no longer needed
|
|
|
|
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 0.11.1-2
|
|
- add ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch to fix build
|
|
|
|
* 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
|