ghc-uniplate/ghc-uniplate.spec

108 lines
3.0 KiB
RPMSpec
Raw Normal View History

2009-03-22 21:45:12 +00:00
%global pkg_name uniplate
%global common_summary Haskell Uniform type generic traversals library
2009-03-22 21:45:12 +00:00
%global common_description Uniplate is a boilerplate removal library, with similar goals to the\
original Scrap Your Boilerplate work. It requires few extensions to\
Haskell.
%global ghc_pkg_deps ghc-mtl-devel
%bcond_without shared
%bcond_without hscolour
# debuginfo is not useful for ghc
2009-03-22 21:45:12 +00:00
%global debug_package %{nil}
Name: ghc-%{pkg_name}
2010-11-29 01:25:14 +00:00
Version: 1.6
Release: 1%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
2009-03-22 21:45:12 +00:00
License: BSD
URL: http://community.haskell.org/~ndm/uniplate/
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2009-03-22 21:45:12 +00:00
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc, ghc-doc, ghc-prof
BuildRequires: ghc-rpm-macros >= 0.8.1
%if %{with hscolour}
BuildRequires: hscolour
%endif
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
2009-03-22 21:45:12 +00:00
%description
%{common_description}
%if %{with shared}
This package provides the shared library.
2009-03-22 21:45:12 +00:00
%endif
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
2009-03-22 21:45:12 +00:00
%install
rm -rf $RPM_BUILD_ROOT
%ghc_lib_install
2009-03-22 21:45:12 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
2010-11-29 01:25:14 +00:00
%ghc_lib_package
2009-03-22 21:45:12 +00:00
%changelog
2010-11-29 01:25:14 +00:00
* Mon Nov 29 2010 Jens Petersen <petersen@redhat.com> - 1.6-1
- update to 1.6
- drop the -o doc obsolete
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 1.5.1-4
- update to latest macros, hscolour and drop doc pkg (cabal2spec-0.22.2)
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 1.5.1-3
- strip shared library (cabal2spec-0.21.4)
2010-02-15 09:45:45 +00:00
* Mon Feb 15 2010 Conrad Meyer <konrad@tylerc.org> - 1.5.1-1
- Update to 1.5.1
2010-01-22 02:42:37 +00:00
* Fri Jan 22 2010 Jens Petersen <petersen@redhat.com> - 1.4-1
- update to 1.4
2010-01-11 15:04:18 +00:00
* Tue Jan 12 2010 Jens Petersen <petersen@redhat.com> - 1.2.0.3-8
- rebuild against ghc-mtl package
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 1.2.0.3-7
- 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 and ghc_pkg_deps
- build shared library
- drop redundant buildroot and its install cleaning
2009-08-04 10:29:32 +00:00
* Tue Aug 4 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 1.2.0.3-6
- rebuild against new ghc
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu May 28 2009 Jens Petersen <petersen@redhat.com> - 1.2.0.3-4
- update to cabal2spec-0.16
- uncomment LICENSE in devel filelist!
2009-03-22 21:45:12 +00:00
* Fri Mar 20 2009 Conrad Meyer <konrad@tylerc.org> - 1.2.0.3-3
- Fix URL.
* Thu Mar 19 2009 Conrad Meyer <konrad@tylerc.org> - 1.2.0.3-2
- Update to new cabal2spec template.
* Mon Jan 12 2009 Conrad Meyer <konrad@tylerc.org> - 1.2.0.3-1
- initial packaging for Fedora created by cabal2spec