|
|
@ -1,16 +1,11 @@
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name xml
|
|
|
|
%global pkg_name xml
|
|
|
|
|
|
|
|
|
|
|
|
%global common_summary A simple XML library
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global common_description A simple XML library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 1.3.12
|
|
|
|
Version: 1.3.13
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
Summary: A simple XML library
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
@ -24,7 +19,18 @@ BuildRequires: ghc-text-devel
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
A simple XML library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
This package provides the Haskell xml library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
@ -39,18 +45,26 @@ BuildRequires: ghc-text-devel
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_package
|
|
|
|
%post devel
|
|
|
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
%postun devel
|
|
|
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files LICENSE
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jun 03 2013 Jens Petersen <petersen@redhat.com> - 1.3.13-1
|
|
|
|
|
|
|
|
- update to 1.3.13
|
|
|
|
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.12-7
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.12-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|