2018-01-24 13:12:27 +00:00
|
|
|
# generated by cabal-rpm-0.12.1
|
2012-01-06 12:14:56 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
2011-01-04 09:38:44 +00:00
|
|
|
%global pkg_name zip-archive
|
2017-02-22 03:25:04 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
2011-01-04 09:38:44 +00:00
|
|
|
|
2015-01-28 11:59:59 +00:00
|
|
|
%ifnarch armv7hl
|
2014-10-30 08:52:00 +00:00
|
|
|
%bcond_without tests
|
2015-01-28 11:59:59 +00:00
|
|
|
%endif
|
2014-10-30 08:52:00 +00:00
|
|
|
|
2011-01-04 09:38:44 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2018-01-24 15:03:38 +00:00
|
|
|
Version: 0.3.1.1
|
2018-07-13 02:18:33 +00:00
|
|
|
Release: 3%{?dist}
|
2013-06-07 03:49:18 +00:00
|
|
|
Summary: Library for creating and modifying zip archives
|
2011-01-04 09:38:44 +00:00
|
|
|
|
2012-11-08 09:16:19 +00:00
|
|
|
License: BSD
|
2015-01-23 05:26:24 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
2017-02-22 03:25:04 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2012-11-08 09:16:19 +00:00
|
|
|
|
2011-06-22 09:22:43 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-11-08 09:16:19 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-array-devel
|
2012-07-16 02:16:22 +00:00
|
|
|
BuildRequires: ghc-binary-devel
|
2012-11-08 09:16:19 +00:00
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
BuildRequires: ghc-containers-devel
|
2012-07-16 02:16:22 +00:00
|
|
|
BuildRequires: ghc-digest-devel
|
2012-11-08 09:16:19 +00:00
|
|
|
BuildRequires: ghc-directory-devel
|
|
|
|
BuildRequires: ghc-filepath-devel
|
2012-07-16 02:16:22 +00:00
|
|
|
BuildRequires: ghc-mtl-devel
|
2012-11-08 09:16:19 +00:00
|
|
|
BuildRequires: ghc-old-time-devel
|
|
|
|
BuildRequires: ghc-pretty-devel
|
2014-10-30 08:52:00 +00:00
|
|
|
BuildRequires: ghc-text-devel
|
2012-11-08 09:16:19 +00:00
|
|
|
BuildRequires: ghc-time-devel
|
|
|
|
BuildRequires: ghc-unix-devel
|
2012-07-16 02:16:22 +00:00
|
|
|
BuildRequires: ghc-zlib-devel
|
2014-10-30 08:52:00 +00:00
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
BuildRequires: ghc-process-devel
|
2017-02-22 03:25:04 +00:00
|
|
|
BuildRequires: ghc-temporary-devel
|
2014-10-30 08:52:00 +00:00
|
|
|
%endif
|
2012-11-08 09:16:19 +00:00
|
|
|
# End cabal-rpm deps
|
2011-01-04 09:38:44 +00:00
|
|
|
|
|
|
|
%description
|
2014-10-30 08:52:00 +00:00
|
|
|
The zip-archive library provides functions for creating, modifying, and
|
|
|
|
extracting files from zip archives.
|
2013-06-07 03:49:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
2014-10-30 08:52:00 +00:00
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2018-01-24 13:12:27 +00:00
|
|
|
Provides: %{name}-doc = %{version}-%{release}
|
|
|
|
%if %{defined ghc_version}
|
2013-06-07 03:49:18 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2018-01-24 13:12:27 +00:00
|
|
|
%endif
|
2014-10-30 08:52:00 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-06-07 03:49:18 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
2011-01-04 09:38:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2017-02-22 03:25:04 +00:00
|
|
|
%setup -q -n %{pkgver}
|
2011-01-04 09:38:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
2012-01-06 12:14:56 +00:00
|
|
|
|
2014-10-30 08:52:00 +00:00
|
|
|
%check
|
2016-09-27 10:15:58 +00:00
|
|
|
%cabal_test
|
2014-10-30 08:52:00 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:49:18 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
2012-01-06 12:14:56 +00:00
|
|
|
|
2011-01-04 09:38:44 +00:00
|
|
|
|
2013-06-07 03:49:18 +00:00
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
2011-01-04 09:38:44 +00:00
|
|
|
|
2012-01-06 12:14:56 +00:00
|
|
|
|
2013-06-07 03:49:18 +00:00
|
|
|
%files -f %{name}.files
|
2016-09-28 09:32:27 +00:00
|
|
|
%license LICENSE
|
2012-01-06 12:14:56 +00:00
|
|
|
|
2013-06-07 03:49:18 +00:00
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
2017-02-22 03:25:04 +00:00
|
|
|
%doc README.markdown changelog
|
2011-02-15 11:39:09 +00:00
|
|
|
|
|
|
|
|
2011-01-04 09:38:44 +00:00
|
|
|
%changelog
|
2018-07-13 02:18:33 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 12:24:35 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-24 15:03:38 +00:00
|
|
|
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.3.1.1-1
|
|
|
|
- update to 0.3.1.1
|
|
|
|
|
2017-08-02 21:38:25 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 10:02:53 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-22 03:25:04 +00:00
|
|
|
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 0.3.0.5-1
|
|
|
|
- update to 0.3.0.5
|
|
|
|
|
2017-02-10 10:54:22 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-03 21:50:15 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 08:07:46 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-01-23 05:26:24 +00:00
|
|
|
* Fri Jan 23 2015 Jens Petersen <petersen@redhat.com> - 0.2.3.5-1
|
|
|
|
- update to 0.2.3.5
|
|
|
|
|
2014-10-30 08:52:00 +00:00
|
|
|
* Thu Oct 30 2014 Jens Petersen <petersen@redhat.com> - 0.2.3.4-1
|
|
|
|
- update to 0.2.3.4
|
|
|
|
- refresh to cblrpm-0.8.11
|
|
|
|
|
2014-08-16 16:14:51 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 15:32:02 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 14:12:41 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-07 03:49:18 +00:00
|
|
|
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.1.3.4-2
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
2013-03-10 09:14:45 +00:00
|
|
|
* Sun Mar 10 2013 Jens Petersen <petersen@redhat.com> - 0.1.3.4-1
|
|
|
|
- update to 0.1.3.4
|
|
|
|
|
2013-02-13 23:23:20 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-08 09:16:19 +00:00
|
|
|
* Thu Nov 08 2012 Jens Petersen <petersen@redhat.com> - 0.1.2.1-1
|
|
|
|
- update to 0.1.2.1
|
|
|
|
- license is now BSD
|
|
|
|
|
2012-07-19 06:25:24 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 02:16:22 +00:00
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.1.1.8-2
|
|
|
|
- change prof BRs to devel
|
|
|
|
|
2012-06-13 10:07:54 +00:00
|
|
|
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 0.1.1.8-1
|
|
|
|
- update to 0.1.1.8
|
|
|
|
|
2012-01-06 12:14:56 +00:00
|
|
|
* Fri Jan 6 2012 Jens Petersen <petersen@redhat.com> - 0.1.1.7-6
|
|
|
|
- update to cabal2spec-0.25.2
|
|
|
|
|
2011-10-21 04:12:38 +00:00
|
|
|
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.1.1.7-5.2
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-11 19:44:23 +00:00
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.1.1.7-5.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2011-09-30 07:44:59 +00:00
|
|
|
* Fri Sep 30 2011 Jens Petersen <petersen@redhat.com> - 0.1.1.7-5
|
|
|
|
- rebuild against latest digest library
|
|
|
|
|
2011-06-22 09:22:43 +00:00
|
|
|
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 0.1.1.7-4
|
|
|
|
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
|
|
|
|
|
2011-05-28 10:06:28 +00:00
|
|
|
* Sat May 28 2011 Jens Petersen <petersen@redhat.com> - 0.1.1.7-3
|
|
|
|
- update to cabal2spec-0.23: add ppc64
|
|
|
|
|
2011-03-10 08:15:38 +00:00
|
|
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.1.1.7-2
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
2011-02-15 11:39:09 +00:00
|
|
|
* Tue Feb 15 2011 Jens Petersen <petersen@redhat.com> - 0.1.1.7-1
|
|
|
|
- update to 0.1.1.7
|
|
|
|
|
2011-02-09 01:41:32 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-19 00:20:32 +00:00
|
|
|
* Wed Jan 19 2011 Jens Petersen <petersen@redhat.com> - 0.1.1.6-5
|
|
|
|
- update to cabal2spec-0.22.4
|
|
|
|
|
2011-01-04 09:38:44 +00:00
|
|
|
* Tue Dec 21 2010 Jens Petersen <petersen@redhat.com> - 0.1.1.6-4
|
|
|
|
- install COPYING instead
|
|
|
|
|
|
|
|
* Fri Dec 10 2010 Jens Petersen <petersen@redhat.com> - 0.1.1.6-3
|
|
|
|
- include the COPYING file (#652573)
|
|
|
|
|
|
|
|
* Thu Dec 2 2010 Jens Petersen <petersen@redhat.com> - 0.1.1.6-2
|
|
|
|
- also depends on binary (#652573)
|
|
|
|
|
|
|
|
* Thu Dec 2 2010 Jens Petersen <petersen@redhat.com> - 0.1.1.6-1
|
|
|
|
- GPLv2+
|
|
|
|
- depends on digest, mtl, utf8-string, zlib
|
|
|
|
|
|
|
|
* Fri Nov 12 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.1.1.6-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
|