94 lines
2.5 KiB
RPMSpec
94 lines
2.5 KiB
RPMSpec
# cabal2spec-0.25.2
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
%global pkg_name pandoc-types
|
|
|
|
%global common_summary Pandoc data structure library
|
|
|
|
%global common_description This package contains definitions for the Pandoc data structure, which\
|
|
is used by pandoc to represent structured documents. These definitions\
|
|
used to live in the pandoc package, but they have been split off, so\
|
|
that other packages can use them without drawing in all of pandoc's\
|
|
dependencies, and pandoc itself can depend on packages (like\
|
|
citeproc-hs) that use them.
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 1.9.0.2
|
|
Release: 1%{?dist}
|
|
Summary: %{common_summary}
|
|
|
|
Group: System Environment/Libraries
|
|
License: GPLv2+
|
|
# 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-containers-prof
|
|
BuildRequires: ghc-syb-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
|
|
|
|
|
|
%changelog
|
|
* Sun Feb 12 2012 Jens Petersen <petersen@redhat.com> - 1.9.0.2-1
|
|
- update to 1.9.0.2
|
|
|
|
* Thu Jan 5 2012 Jens Petersen <petersen@redhat.com> - 1.8.2-2
|
|
- update to cabal2spec-0.25.2
|
|
|
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.8.2-1.3
|
|
- rebuild with new gmp without compat lib
|
|
|
|
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.8.2-1.2
|
|
- rebuild with new gmp without compat lib
|
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 1.8.2-1.1
|
|
- rebuild with new gmp
|
|
|
|
* Thu Aug 4 2011 Jens Petersen <petersen@redhat.com> - 1.8.2-1
|
|
- update to 1.8.2
|
|
|
|
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 1.8.0.2-2
|
|
- use ghc_arches (cabal2spec-0.23.2)
|
|
|
|
* Fri May 13 2011 Jens Petersen <petersen@redhat.com> - 1.8.0.2-1
|
|
- update to 1.8.0.2
|
|
|
|
* Wed May 11 2011 Jens Petersen <petersen@redhat.com> - 1.8-2
|
|
- drop ghc_package_deps
|
|
- add BR on ghc-Cabal-devel and ghc-containers-prof
|
|
|
|
* Tue May 3 2011 Jens Petersen <petersen@redhat.com> - 1.8-1
|
|
- GPLv2+ and depends on syb
|
|
|
|
* Tue May 3 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 1.8-0
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.6
|