Changeset 1826


Ignore:
Timestamp:
Apr 30, 2011, 11:56:37 AM (11 years ago)
Author:
achernya
Message:
Get ghc packages to build on F15

Regenerated the .spec files with cabal2spec for the Haskell packages
that are needed by Scripts, including bumping the versions to the
latest ones.

Location:
branches/fc15-dev/server/fedora
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/fc15-dev/server/fedora/Makefile

    r1809 r1826  
    2020
    2121upstream_yum    = krb5 krb5.i686 httpd openssh
    22 hackage         = MonadCatchIO-mtl-0.3.0.1 cgi-3001.1.8.1 unix-handle-0.0.0
     22hackage         = MonadCatchIO-mtl-0.3.0.2 cgi-3001.1.8.2 unix-handle-0.0.0
    2323upstream_hackage = ghc-MonadCatchIO-mtl ghc-cgi ghc-unix-handle
    2424upstream        = openafs $(upstream_yum) $(upstream_hackage) moira zephyr zephyr.i686 python-zephyr
     
    4040server_url      = "http://web.mit.edu/scripts/src"
    4141server_arch     = "fedora.stable"
    42 #openafs_url    = "http://dl.openafs.org/dl/openafs/1.4.12/openafs-1.4.12-1.1.2.src.rpm"
    43 openafs_url     = "http://web.mit.edu/~scripts/rpm-fc13/openafs-1.4.12.1-1.0.pre3.src.rpm"
     42openafs_url     = "http://dl.openafs.org/dl/openafs/1.4.14/openafs-1.4.14-1.1.1.src.rpm"
     43#openafs_url    = "http://web.mit.edu/~scripts/rpm-fc13/openafs-1.4.12.1-1.0.pre3.src.rpm"
    4444zephyr_url      = "http://zephyr.1ts.org/export/HEAD/distribution/zephyr-3.0.1.tar.gz"
    4545
  • branches/fc15-dev/server/fedora/specs/ghc-MonadCatchIO-mtl.spec

    r1808 r1826  
    2626
    2727Name:           ghc-%{pkg_name}
    28 Version:        0.3.0.1
     28Version:        0.3.0.2
    2929Release:        1.%{scriptsversion}%{?dist}
    3030Summary:        %{common_summary}
     
    6565
    6666%changelog
    67 * Sat Apr 16 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.3.0.1-1
     67* Sat Apr 16 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.3.0.2-1
    6868- regenerated packaging for Fedora automatically generated by cabal2spec-0.22.5
    6969
  • 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
    15%global pkg_name cgi
    26
     7# common part of summary for all the subpackages
    38%global common_summary Haskell %{pkg_name} library
    49
     10# main description used for all the subpackages
    511%global common_description A %{pkg_name} library for Haskell.
    612
     
    814%global ghc_pkg_deps ghc-network-devel, ghc-parsec-devel, ghc-mtl-devel, ghc-MonadCatchIO-mtl-devel, ghc-xhtml-devel
    915
    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)
    1120#%%global ghc_pkg_c_deps @CDEP1@-devel
    1221
     
    1726
    1827Name:           ghc-%{pkg_name}
    19 Version:        3001.1.8.1
     28Version:        3001.1.8.2
    2029Release:        0.%{scriptsversion}%{?dist}
    2130Summary:        %{common_summary}
    2231
    2332Group:          System Environment/Libraries
    24 License:        BSD
    25 URL:            http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
     33License:        @LICENSE@
     34URL:            http://hackage.haskell.org/package/%{pkg_name}
    2635Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
    27 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2836# fedora ghc archs:
    29 ExclusiveArch:  %{ix86} x86_64 ppc alpha
     37ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
    3038BuildRequires:  ghc, ghc-doc, ghc-prof
    31 BuildRequires:  ghc-rpm-macros >= 0.7.0
     39# macros for building haskell packages
     40BuildRequires:  ghc-rpm-macros >= 0.7.3
     41BuildRequires:  hscolour
    3242%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
    3343%{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
     
    3545%description
    3646%{common_description}
    37 %if %{with shared}
    38 This package provides the shared library.
    39 %endif
    40 
    41 
    42 %{?ghc_lib_package}
    4347
    4448
     
    5256
    5357%install
    54 rm -rf $RPM_BUILD_ROOT
    5558%ghc_lib_install
    5659
    5760
    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
    6064
    6165
    6266%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
    6370* Thu Sep  9 2010 Anders Kaseorg <andersk@mit.edu> - 3001.1.8.1-0
    6471- initial packaging for Fedora automatically generated by cabal2spec-0.22.1
  • branches/fc15-dev/server/fedora/specs/ghc-unix-handle.spec

    r1693 r1826  
     1# For Haskell Packaging Guidelines see:
     2# - https://fedoraproject.org/wiki/Packaging:Haskell
     3# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
     4
    15%global pkg_name unix-handle
    26
     7# common part of summary for all the subpackages
    38%global common_summary Haskell %{pkg_name} library
    49
     10# main description used for all the subpackages
    511%global common_description A %{pkg_name} library for Haskell.
    612
    7 # add any Haskell library dependencies here:
     13# Haskell library dependencies (used for buildrequires and devel/prof subpkg requires)
    814#%%global ghc_pkg_deps ghc-@DEP1@-devel, ghc-@DEP2@-devel
    915
    10 # add any foreign library dependencies here:
     16# foreign library dependencies (used for buildrequires and devel subpkg requires)
    1117#%%global ghc_pkg_c_deps @CDEP1@-devel
    12 
    13 %bcond_without shared
    14 
    15 # debuginfo is not useful for ghc
    16 %global debug_package %{nil}
    1718
    1819Name:           ghc-%{pkg_name}
     
    2223
    2324Group:          System Environment/Libraries
    24 License:        BSD
    25 URL:            http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
     25License:        @LICENSE@
     26URL:            http://hackage.haskell.org/package/%{pkg_name}
    2627Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
    27 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    2828# fedora ghc archs:
    29 ExclusiveArch:  %{ix86} x86_64 ppc alpha
     29ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9
    3030BuildRequires:  ghc, ghc-doc, ghc-prof
    31 BuildRequires:  ghc-rpm-macros >= 0.7.0
     31# macros for building haskell packages
     32BuildRequires:  ghc-rpm-macros >= 0.7.3
     33BuildRequires:  hscolour
    3234%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
    3335%{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
     
    3537%description
    3638%{common_description}
    37 %if %{with shared}
    38 This package provides the shared library.
    39 %endif
    40 
    41 
    42 %{?ghc_lib_package}
    4339
    4440
     
    5248
    5349%install
    54 rm -rf $RPM_BUILD_ROOT
    5550%ghc_lib_install
    5651
    5752
    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
    6056
    6157
    6258%changelog
     59* Sat Apr 30 2011 Alexander Chernyakhovsky <achernya@mit.edu> - 0.0.0-0
     60- regenerated packaging for Fedora automatically generated by cabal2spec-0.22.5
     61
    6362* Thu Sep  9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0.0-0
    6463- initial packaging for Fedora automatically generated by cabal2spec-0.22.1
Note: See TracChangeset for help on using the changeset viewer.