83 lines
2.4 KiB
RPMSpec
83 lines
2.4 KiB
RPMSpec
%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
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 0.12.0
|
|
Release: 5%{?dist}
|
|
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
|
|
# ghc_excluded_archs is defined in redhat-rpm-config
|
|
ExcludeArch: %{ghc_excluded_archs}
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
BuildRequires: hscolour
|
|
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
|
|
BuildRequires: gtk2hs-buildtools
|
|
BuildRequires: ghc-bytestring-prof, ghc-haskell98-prof, ghc-mtl-prof
|
|
|
|
%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
|
|
|
|
|
|
%changelog
|
|
* 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
|