diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1731daa --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/syb-0.2.2.tar.gz +/syb-0.3.tar.gz +/syb-0.3.3.tar.gz +/syb-0.3.6.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 6dee5e4..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -obsoleted by haskell-platform subpackage diff --git a/ghc-syb.spec b/ghc-syb.spec new file mode 100644 index 0000000..0128891 --- /dev/null +++ b/ghc-syb.spec @@ -0,0 +1,100 @@ +%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} +# part of haskell-platform +Version: 0.3.6 +Release: 1%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-base-prof + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE +%doc README + + +%changelog +* Tue Mar 20 2012 Jens Petersen - 0.3.6-1 +- update to 0.3.6 + +* Fri Jan 13 2012 Fedora Release Engineering - 0.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Dec 28 2011 Jens Petersen - 0.3.3-2 +- move ghc_devel_package and ghc_devel_description to avoid srpm description + +* Tue Dec 27 2011 Jens Petersen - 0.3.3-1 +- update to 0.3.3 for haskell-platform-2011.4.0.0 +- update to cabal2spec-0.25.1 +- add README to devel doc + +* Fri Oct 21 2011 Marcela Mašláňová - 0.3-8 +- rebuild with new gmp + +* Tue Jun 21 2011 Jens Petersen - 0.3-7 +- ghc_arches replaces ghc_excluded_archs + +* Mon Jun 20 2011 Jens Petersen - 0.3-6 +- BR ghc-Cabal-devel and use ghc_excluded_archs + +* Wed May 25 2011 Jens Petersen - 0.3-5 +- update to cabal2spec-0.22.7 + +* Thu Mar 10 2011 Fabio M. Di Nitto - 0.3-4 +- Enable build on sparcv9 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 14 2011 Jens Petersen - 0.3-2 +- update to cabal2spec-0.22.4 + +* Sun Dec 5 2010 Jens Petersen - 0.3-1 +- update to 0.3 + +* Thu Nov 25 2010 Jens Petersen - 0.2.2-1 +- BSD license +- summary and description + +* Thu Nov 25 2010 Fedora Haskell SIG - 0.2.2-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.22.2 diff --git a/sources b/sources new file mode 100644 index 0000000..7234b87 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +0d807bb244fdeb95fa546b4311fcd8df syb-0.3.6.tar.gz