2009-09-08 17:39:13 +00:00
|
|
|
%global pkg_name X11-xft
|
|
|
|
|
2010-01-11 06:24:14 +00:00
|
|
|
%global common_summary Haskell bindings to the Xft library
|
|
|
|
|
|
|
|
%global common_description Haskell bindings to Xft, X Free Type interface library,\
|
|
|
|
and some Xrender parts.
|
|
|
|
|
2010-04-29 02:09:36 +00:00
|
|
|
%global ghc_pkg_deps ghc-X11-devel ghc-utf8-string-devel
|
2010-01-11 06:24:14 +00:00
|
|
|
|
|
|
|
%global ghc_pkg_c_deps libXft-devel
|
|
|
|
|
|
|
|
# debuginfo is not useful for ghc
|
2009-09-08 17:39:13 +00:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 0.3
|
2011-03-10 08:15:38 +00:00
|
|
|
Release: 15%{?dist}
|
2010-01-11 06:24:14 +00:00
|
|
|
Summary: %{common_summary}
|
2009-09-08 17:39:13 +00:00
|
|
|
|
2009-12-22 16:20:13 +00:00
|
|
|
Group: System Environment/Libraries
|
2009-09-08 17:39:13 +00:00
|
|
|
License: LGPLv2
|
2010-11-26 12:26:04 +00:00
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
2009-09-08 17:39:13 +00:00
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
# fedora ghc archs:
|
2011-03-10 08:15:38 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
2010-06-25 12:08:07 +00:00
|
|
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
2011-01-16 08:24:35 +00:00
|
|
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
2010-09-04 11:22:09 +00:00
|
|
|
BuildRequires: hscolour
|
2010-01-11 06:24:14 +00:00
|
|
|
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
|
|
|
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
|
2009-09-08 17:39:13 +00:00
|
|
|
|
|
|
|
%description
|
2010-01-11 06:24:14 +00:00
|
|
|
%{common_description}
|
2009-12-22 16:20:13 +00:00
|
|
|
%if %{with shared}
|
2010-01-11 06:24:14 +00:00
|
|
|
This package provides the shared library.
|
2009-12-22 16:20:13 +00:00
|
|
|
%endif
|
2009-09-08 17:39:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2010-09-04 11:22:09 +00:00
|
|
|
%ghc_lib_build
|
2009-09-08 17:39:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2010-09-04 11:22:09 +00:00
|
|
|
%ghc_lib_install
|
2009-09-08 17:39:13 +00:00
|
|
|
|
|
|
|
|
2010-11-26 12:26:04 +00:00
|
|
|
%ghc_lib_package
|
2010-09-04 11:22:09 +00:00
|
|
|
|
|
|
|
|
2009-09-08 17:39:13 +00:00
|
|
|
%changelog
|
2011-03-10 08:15:38 +00:00
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.3-15
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-09 00:58:50 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-16 08:24:35 +00:00
|
|
|
* Sun Jan 16 2011 Jens Petersen <petersen@redhat.com> - 0.3-13
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
2010-12-05 09:31:26 +00:00
|
|
|
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 0.3-12
|
|
|
|
- rebuild
|
|
|
|
|
2010-11-26 12:26:04 +00:00
|
|
|
* Fri Nov 26 2010 Jens Petersen <petersen@redhat.com> - 0.3-11
|
|
|
|
- update url and drop -o obsoletes
|
|
|
|
|
2010-09-04 11:22:09 +00:00
|
|
|
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 0.3-10
|
|
|
|
- update to latest macros, hscolour and drop doc pkg (cabal2spec-0.22.2)
|
|
|
|
|
2010-06-25 12:08:07 +00:00
|
|
|
* Fri Jun 25 2010 Jens Petersen <petersen@redhat.com> - 0.3-9
|
|
|
|
- strip shared library (cabal2spec-0.21.4)
|
|
|
|
|
2010-04-29 02:09:36 +00:00
|
|
|
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 0.3-8
|
|
|
|
- rebuild against ghc-6.12.2
|
|
|
|
- condition ghc_lib_package
|
|
|
|
- depend on utf8-string again
|
|
|
|
|
2010-01-15 04:07:45 +00:00
|
|
|
* Fri Jan 15 2010 Jens Petersen <petersen@redhat.com> - 0.3-7
|
|
|
|
- drop ghc-utf8-string-devel dependency: utf8-string is part of ghc!
|
|
|
|
|
2010-01-11 06:24:14 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.3-6
|
|
|
|
- update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1:
|
|
|
|
- drop doc and prof bcond
|
|
|
|
- use common summary and common_description
|
|
|
|
- use ghc_lib_package, ghc_pkg_deps, ghc_pkg_c_deps
|
|
|
|
|
2009-12-22 16:20:13 +00:00
|
|
|
* Wed Dec 23 2009 Jens Petersen <petersen@redhat.com> - 0.3-5
|
|
|
|
- update packaging for ghc-6.12.1
|
|
|
|
- added shared library support: needs ghc-rpm-macros 0.3.1
|
|
|
|
- rebuild for ghc-X11-1.5.0.0
|
|
|
|
|
2009-11-16 13:58:19 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.3-4
|
|
|
|
- rebuild for ghc-X11-1.4.6.1
|
|
|
|
- use %%ghc_pkg_ver for lib dep requires
|
|
|
|
|
2009-09-08 17:39:13 +00:00
|
|
|
* Wed Aug 26 2009 Jens Petersen <petersen@redhat.com> - 0.3-3
|
|
|
|
- fix up devel, doc and prof deps
|
|
|
|
|
|
|
|
* Tue Aug 14 2009 Zachary Oglesby <zoglesby@fedoraproject.org> - 0.3-2
|
|
|
|
- Fixed description of -doc to pass rpmlint
|
|
|
|
|
|
|
|
* Tue Aug 14 2009 Zachary Oglesby <zoglesby@fedoraproject.org> - 0.3-1
|
|
|
|
- Updated to version 0.3
|
2009-11-16 13:58:19 +00:00
|
|
|
- Added ghc-utf8-string-prof as build requirement
|
|
|
|
- Added ghc-utf8-string-doc as build requirement
|
|
|
|
- Added ghc-X11-prof as build requirement
|
|
|
|
- Added ghc-X11-doc as build requirement
|
2009-09-08 17:39:13 +00:00
|
|
|
|
|
|
|
* Mon Jul 14 2009 Zachary Oglesby <zoglesby@fedoraproject.org> - 0.2-4
|
|
|
|
- Added ghc-utf8-string-devel as build requirment
|
|
|
|
- Added ghc-X11-devel as build requirment
|
|
|
|
|
|
|
|
* Thu Jun 18 2009 Zachary Oglesby <zoglesby@fedoraproject.org> - 0.2-3
|
|
|
|
- Fixed License
|
|
|
|
|
|
|
|
* Fri Jun 5 2009 Zachary Oglesby <zoglesby@fedoraproject.org> - 0.2-2
|
|
|
|
- Updated to new cabal2spec
|
|
|
|
|
|
|
|
* Fri May 29 2009 Zachary Oglesby <zoglesby@fedoraproject.org> - 0.2-1
|
|
|
|
- initial packaging for Fedora created by cabal2spec
|