source: trunk/server/fedora/specs/ghc-unix-handle.spec @ 2415

Last change on this file since 2415 was 2246, checked in by ezyang, 12 years ago
Reintegrate Fedora 17 development branch into trunk.
File size: 1.4 KB
RevLine 
[2246]1# cabal2spec-0.25
2# https://fedoraproject.org/wiki/Packaging:Haskell
3# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
[2066]4
[1590]5%global pkg_name unix-handle
6
[1693]7%global common_summary Haskell %{pkg_name} library
[1590]8
[1693]9%global common_description A %{pkg_name} library for Haskell.
10
[1590]11Name:           ghc-%{pkg_name}
12Version:        0.0.0
13Release:        0.%{scriptsversion}%{?dist}
[1693]14Summary:        %{common_summary}
[1590]15
[1693]16Group:          System Environment/Libraries
[1590]17License:        BSD
[2246]18# BEGIN cabal2spec
[2066]19URL:            http://hackage.haskell.org/package/%{pkg_name}
[1590]20Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
[2246]21ExclusiveArch:  %{ghc_arches}
22BuildRequires:  ghc-Cabal-devel
23BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
24# END cabal2spec
[1590]25
26%description
[1693]27%{common_description}
[1590]28
29
30%prep
31%setup -q -n %{pkg_name}-%{version}
32
33
34%build
[1693]35%ghc_lib_build
[1590]36
37
38%install
[1693]39%ghc_lib_install
[1590]40
41
[2246]42# devel subpackage
43%ghc_devel_package
[1590]44
[2246]45%ghc_devel_description
[1590]46
[2246]47
48%ghc_devel_post_postun
49
50
51%ghc_files LICENSE
52
53
[1590]54%changelog
[2246]55* Fri May 25 2012 Anders Kaseorg <andersk@mit.edu> - 0.0.0-0
56- regenerated packaging with cabal2spec-0.25.5
57
[2066]58* Mon May  2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0.0-0
59- regenerated packaging with cabal2spec-0.22.5
60
[1693]61* Thu Sep  9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0.0-0
62- initial packaging for Fedora automatically generated by cabal2spec-0.22.1
Note: See TracBrowser for help on using the repository browser.