source: branches/fc15-dev/server/fedora/specs/ghc-unix-handle.spec @ 1839

Last change on this file since 1839 was 1839, checked in by achernya, 13 years ago
Revert all cabal2spec generated files In order to make the history look better with respect to the 3-way merge, revert all of the current changes to all cabal2spec generated files, bringing them back to their original F11 state.
File size: 1.6 KB
RevLine 
[1590]1%global pkg_name unix-handle
2
[1693]3%global common_summary Haskell %{pkg_name} library
[1590]4
[1693]5%global common_description A %{pkg_name} library for Haskell.
6
[1839]7# add any Haskell library dependencies here:
[1693]8#%%global ghc_pkg_deps ghc-@DEP1@-devel, ghc-@DEP2@-devel
9
[1839]10# add any foreign library dependencies here:
[1693]11#%%global ghc_pkg_c_deps @CDEP1@-devel
12
[1839]13%bcond_without shared
14
15# debuginfo is not useful for ghc
16%global debug_package %{nil}
17
[1590]18Name:           ghc-%{pkg_name}
19Version:        0.0.0
20Release:        0.%{scriptsversion}%{?dist}
[1693]21Summary:        %{common_summary}
[1590]22
[1693]23Group:          System Environment/Libraries
[1833]24License:        BSD
[1839]25URL:            http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
[1590]26Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
[1839]27BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
[1590]28# fedora ghc archs:
[1839]29ExclusiveArch:  %{ix86} x86_64 ppc alpha
[1693]30BuildRequires:  ghc, ghc-doc, ghc-prof
[1839]31BuildRequires:  ghc-rpm-macros >= 0.7.0
[1693]32%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
33%{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
[1590]34
35%description
[1693]36%{common_description}
[1839]37%if %{with shared}
38This package provides the shared library.
39%endif
[1590]40
41
[1839]42%{?ghc_lib_package}
43
44
[1590]45%prep
46%setup -q -n %{pkg_name}-%{version}
47
48
49%build
[1693]50%ghc_lib_build
[1590]51
52
53%install
[1839]54rm -rf $RPM_BUILD_ROOT
[1693]55%ghc_lib_install
[1590]56
57
[1839]58%clean
59rm -rf $RPM_BUILD_ROOT
[1590]60
61
62%changelog
[1693]63* Thu Sep  9 2010 Anders Kaseorg <andersk@mit.edu> - 0.0.0-0
64- initial packaging for Fedora automatically generated by cabal2spec-0.22.1
Note: See TracBrowser for help on using the repository browser.