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

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