Changeset 1826 for branches/fc15-dev/server/fedora/specs/ghc-cgi.spec
- Timestamp:
- Apr 30, 2011, 11:56:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc15-dev/server/fedora/specs/ghc-cgi.spec
r1693 r1826 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 cgi 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 … … 8 14 %global ghc_pkg_deps ghc-network-devel, ghc-parsec-devel, ghc-mtl-devel, ghc-MonadCatchIO-mtl-devel, ghc-xhtml-devel 9 15 10 # add any foreign library dependencies here: 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) 11 20 #%%global ghc_pkg_c_deps @CDEP1@-devel 12 21 … … 17 26 18 27 Name: ghc-%{pkg_name} 19 Version: 3001.1.8. 128 Version: 3001.1.8.2 20 29 Release: 0.%{scriptsversion}%{?dist} 21 30 Summary: %{common_summary} 22 31 23 32 Group: System Environment/Libraries 24 License: BSD25 URL: http://hackage.haskell.org/ cgi-bin/hackage-scripts/package/%{pkg_name}33 License: @LICENSE@ 34 URL: http://hackage.haskell.org/package/%{pkg_name} 26 35 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 36 # fedora ghc archs: 29 ExclusiveArch: %{ix86} x86_64 ppc alpha 37 ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 30 38 BuildRequires: ghc, ghc-doc, ghc-prof 31 BuildRequires: ghc-rpm-macros >= 0.7.0 39 # macros for building haskell packages 40 BuildRequires: ghc-rpm-macros >= 0.7.3 41 BuildRequires: hscolour 32 42 %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} 33 43 %{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} … … 35 45 %description 36 46 %{common_description} 37 %if %{with shared}38 This package provides the shared library.39 %endif40 41 42 %{?ghc_lib_package}43 47 44 48 … … 52 56 53 57 %install 54 rm -rf $RPM_BUILD_ROOT55 58 %ghc_lib_install 56 59 57 60 58 %clean 59 rm -rf $RPM_BUILD_ROOT 61 # define the devel and prof subpkgs, devel post[un] scripts, and filelists: 62 # ghc-%pkg_name{,devel,prof}.files 63 %ghc_lib_package 60 64 61 65 62 66 %changelog 67 * Sat Apr 16 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 3001.1.8.2-0 68 - regenerated packaging for Fedora automatically generated by cabal2spec-0.22.5 69 63 70 * Thu Sep 9 2010 Anders Kaseorg <andersk@mit.edu> - 3001.1.8.1-0 64 71 - initial packaging for Fedora automatically generated by cabal2spec-0.22.1
Note: See TracChangeset
for help on using the changeset viewer.