- Timestamp:
- May 2, 2011, 5:54:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc15-dev/server/fedora/specs/ghc-MonadCatchIO-mtl.spec
r1833 r1839 1 # For Haskell Packaging Guidelines see:2 # - https://fedoraproject.org/wiki/Packaging:Haskell3 # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell4 5 1 %global pkg_name MonadCatchIO-mtl 6 2 7 # common part of summary for all the subpackages8 3 %global common_summary Haskell %{pkg_name} library 9 4 10 # main description used for all the subpackages11 5 %global common_description A %{pkg_name} library for Haskell. 12 6 13 # add any Haskell library dependencies here: 7 # add any Haskell library dependencies here: 14 8 %global ghc_pkg_deps ghc-mtl-devel 15 9 16 # Haskell library dependencies (used for buildrequires and devel/prof subpkg requires) 17 #%%global ghc_pkg_deps ghc-@DEP1@-devel, ghc-@DEP2@-devel 18 19 # foreign library dependencies (used for buildrequires and devel subpkg requires) 10 # add any foreign library dependencies here: 20 11 #%%global ghc_pkg_c_deps @CDEP1@-devel 21 12 … … 26 17 27 18 Name: ghc-%{pkg_name} 28 Version: 0.3.0. 229 Release: 1.%{scriptsversion}%{?dist}19 Version: 0.3.0.1 20 Release: 0.%{scriptsversion}%{?dist} 30 21 Summary: %{common_summary} 31 22 32 23 Group: System Environment/Libraries 33 24 License: BSD 34 URL: http://hackage.haskell.org/ package/%{pkg_name}25 URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} 35 26 Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz 27 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 36 28 # fedora ghc archs: 37 ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv929 ExclusiveArch: %{ix86} x86_64 ppc alpha 38 30 BuildRequires: ghc, ghc-doc, ghc-prof 39 # macros for building haskell packages 40 BuildRequires: ghc-rpm-macros >= 0.7.3 41 BuildRequires: hscolour 31 BuildRequires: ghc-rpm-macros >= 0.7.0 42 32 %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} 43 33 %{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} … … 45 35 %description 46 36 %{common_description} 37 %if %{with shared} 38 This package provides the shared library. 39 %endif 40 41 42 %{?ghc_lib_package} 47 43 48 44 … … 56 52 57 53 %install 54 rm -rf $RPM_BUILD_ROOT 58 55 %ghc_lib_install 59 56 60 57 61 # define the devel and prof subpkgs, devel post[un] scripts, and filelists: 62 # ghc-%pkg_name{,devel,prof}.files 63 %ghc_lib_package 58 %clean 59 rm -rf $RPM_BUILD_ROOT 64 60 65 61 66 62 %changelog 67 * Sat Apr 16 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.3.0.2-168 - regenerated packaging for Fedora automatically generated by cabal2spec-0.22.569 70 63 * Thu Sep 9 2010 Anders Kaseorg <andersk@mit.edu> - 0.3.0.1-0 71 64 - initial packaging for Fedora automatically generated by cabal2spec-0.22.1
Note: See TracChangeset
for help on using the changeset viewer.