update to 0.4.0 and cblrpm-0.8.7
current HP has 0.4.0
This commit is contained in:
parent
a33f70b06a
commit
babe788ff3
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/syb-0.3.tar.gz
|
/syb-0.3.tar.gz
|
||||||
/syb-0.3.3.tar.gz
|
/syb-0.3.3.tar.gz
|
||||||
/syb-0.3.6.tar.gz
|
/syb-0.3.6.tar.gz
|
||||||
|
/syb-0.4.0.tar.gz
|
||||||
|
62
ghc-syb.spec
62
ghc-syb.spec
@ -1,37 +1,45 @@
|
|||||||
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name syb
|
%global pkg_name syb
|
||||||
|
|
||||||
%global common_summary Haskell Scrap Your Boilerplate library
|
|
||||||
|
|
||||||
%global common_description This package contains the generics system described in the "Scrap Your\
|
|
||||||
Boilerplate" papers (see http://www.cs.uu.nl/wiki/GenericProgramming/SYB).\
|
|
||||||
It defines the Data class of types permitting folding and unfolding of\
|
|
||||||
constructor applications, instances of this class for primitive types, and\
|
|
||||||
a variety of traversals.
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
# part of haskell-platform
|
# part of haskell-platform
|
||||||
Version: 0.3.6
|
Version: 0.4.0
|
||||||
Release: 1%{?dist}
|
Release: 29%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: Scrap Your Boilerplate
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
License: BSD
|
License: BSD
|
||||||
# BEGIN cabal2spec
|
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
ExclusiveArch: %{ghc_arches}
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
BuildRequires: ghc-rpm-macros
|
||||||
# END cabal2spec
|
BuildRequires: dos2unix
|
||||||
BuildRequires: ghc-base-prof
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
This package contains the generics system described in the "Scrap Your
|
||||||
|
Boilerplate" papers (see <http://www.cs.uu.nl/wiki/GenericProgramming/SYB>).
|
||||||
|
It defines the Data class of types permitting folding and unfolding of
|
||||||
|
constructor applications, instances of this class for primitive types, and
|
||||||
|
a variety of traversals.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Haskell %{pkg_name} library development files
|
||||||
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
dos2unix LICENSE README
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -41,19 +49,27 @@ BuildRequires: ghc-base-prof
|
|||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%ghc_devel_package
|
%post devel
|
||||||
|
%ghc_pkg_recache
|
||||||
%ghc_devel_description
|
|
||||||
|
|
||||||
|
|
||||||
%ghc_devel_post_postun
|
%postun devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%ghc_files LICENSE
|
%files -f %{name}.files
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
%files devel -f %{name}-devel.files
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 7 2014 Jens Petersen <petersen@redhat.com> - 0.4.0-29
|
||||||
|
- update to 0.4.0
|
||||||
|
- unsubpackage from haskell-platform with cabal-rpm-0.8.7
|
||||||
|
|
||||||
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 0.3.6-1
|
* Tue Mar 20 2012 Jens Petersen <petersen@redhat.com> - 0.3.6-1
|
||||||
- update to 0.3.6
|
- update to 0.3.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user