Changeset 1840 for branches/fc15-dev/server/fedora
- Timestamp:
- May 2, 2011, 6:21:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc15-dev/server/fedora/specs/ghc-MonadCatchIO-mtl.spec
r1839 r1840 1 # For Haskell Packaging Guidelines see: 2 # - https://fedoraproject.org/wiki/Packaging:Haskell 3 # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell 4 1 5 %global pkg_name MonadCatchIO-mtl 2 6 7 # common part of summary for all the subpackages 3 8 %global common_summary Haskell %{pkg_name} library 4 9 10 # main description used for all the subpackages 5 11 %global common_description A %{pkg_name} library for Haskell. 6 12 7 # add any Haskell library dependencies here:13 # Haskell library dependencies (used for buildrequires and devel/prof subpkg requires) 8 14 %global ghc_pkg_deps ghc-mtl-devel 9 15 10 # add any foreign library dependencies here:16 # foreign library dependencies (used for buildrequires and devel subpkg requires) 11 17 #%%global ghc_pkg_c_deps @CDEP1@-devel 12 18 13 %bcond_without shared14 15 # debuginfo is not useful for ghc16 %global debug_package %{nil}17 18 19 Name: ghc-%{pkg_name} 19 Version: 0.3.0. 120 Version: 0.3.0.2 20 21 Release: 0.%{scriptsversion}%{?dist} 21 22 Summary: %{common_summary} … … 23 24 Group: System Environment/Libraries 24 25 License: BSD 25 URL: http://hackage.haskell.org/ cgi-bin/hackage-scripts/package/%{pkg_name}26 URL: http://hackage.haskell.org/package/%{pkg_name} 26 27 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)28 28 # fedora ghc archs: 29 ExclusiveArch: %{ix86} x86_64 ppc alpha 29 ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 30 30 BuildRequires: ghc, ghc-doc, ghc-prof 31 BuildRequires: ghc-rpm-macros >= 0.7.0 31 # macros for building haskell packages 32 BuildRequires: ghc-rpm-macros >= 0.7.3 33 BuildRequires: hscolour 32 34 %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} 33 35 %{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} … … 35 37 %description 36 38 %{common_description} 37 %if %{with shared}38 This package provides the shared library.39 %endif40 41 42 %{?ghc_lib_package}43 39 44 40 … … 52 48 53 49 %install 54 rm -rf $RPM_BUILD_ROOT55 50 %ghc_lib_install 56 51 57 52 58 %clean 59 rm -rf $RPM_BUILD_ROOT 53 # define the devel and prof subpkgs, devel post[un] scripts, and filelists: 54 # ghc-%pkg_name{,devel,prof}.files 55 %ghc_lib_package 60 56 61 57 62 58 %changelog 59 * Mon May 2 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.3.0.2-0 60 - regenerated packaging with cabal2spec-0.22.5 61 63 62 * Thu Sep 9 2010 Anders Kaseorg <andersk@mit.edu> - 0.3.0.1-0 64 63 - initial packaging for Fedora automatically generated by cabal2spec-0.22.1
Note: See TracChangeset
for help on using the changeset viewer.