2018-01-24 13:12:15 +00:00
|
|
|
# generated by cabal-rpm-0.12.1
|
2013-09-04 01:18:35 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
%global pkg_name uuid
|
2017-02-21 15:38:19 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
2015-01-27 14:51:46 +00:00
|
|
|
%bcond_with tests
|
|
|
|
|
2013-09-04 01:18:35 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2017-02-21 15:38:19 +00:00
|
|
|
Version: 1.3.13
|
2018-01-26 11:03:11 +00:00
|
|
|
Release: 5%{?dist}
|
2013-09-04 01:18:35 +00:00
|
|
|
Summary: For creating, comparing, parsing and printing Universally Unique Identifiers
|
|
|
|
|
|
|
|
License: BSD
|
2015-01-27 14:51:46 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
2017-02-21 15:38:19 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2013-09-04 01:18:35 +00:00
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2017-10-23 09:53:25 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
2013-09-04 01:18:35 +00:00
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-binary-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
2017-10-23 09:53:25 +00:00
|
|
|
BuildRequires: ghc-cryptohash-md5-devel
|
|
|
|
BuildRequires: ghc-cryptohash-sha1-devel
|
2017-02-21 15:38:19 +00:00
|
|
|
BuildRequires: ghc-entropy-devel
|
2017-10-23 09:53:25 +00:00
|
|
|
BuildRequires: ghc-network-info-devel
|
2013-09-04 01:18:35 +00:00
|
|
|
BuildRequires: ghc-random-devel
|
2017-02-21 15:38:19 +00:00
|
|
|
BuildRequires: ghc-text-devel
|
2013-09-04 01:18:35 +00:00
|
|
|
BuildRequires: ghc-time-devel
|
2017-10-23 09:53:25 +00:00
|
|
|
BuildRequires: ghc-uuid-types-devel
|
2015-01-27 14:51:46 +00:00
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
2017-02-21 15:38:19 +00:00
|
|
|
BuildRequires: ghc-tasty-devel
|
|
|
|
BuildRequires: ghc-tasty-hunit-devel
|
|
|
|
BuildRequires: ghc-tasty-quickcheck-devel
|
2015-01-27 14:51:46 +00:00
|
|
|
%endif
|
2013-09-04 01:18:35 +00:00
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
%description
|
|
|
|
This library is useful for creating, comparing, parsing and printing
|
2017-02-21 15:38:19 +00:00
|
|
|
Universally Unique Identifiers.
|
|
|
|
|
|
|
|
See <http://en.wikipedia.org/wiki/UUID> for the general idea.
|
2013-09-04 01:18:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
2015-01-27 14:51:46 +00:00
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2018-01-24 13:12:15 +00:00
|
|
|
Provides: %{name}-doc = %{version}-%{release}
|
|
|
|
%if %{defined ghc_version}
|
2013-09-04 01:18:35 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2018-01-24 13:12:15 +00:00
|
|
|
%endif
|
2015-01-27 14:51:46 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-09-04 01:18:35 +00:00
|
|
|
|
|
|
|
%description devel
|
2015-01-27 14:51:46 +00:00
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
2013-09-04 01:18:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2017-10-23 09:53:25 +00:00
|
|
|
%setup -q -n %{pkgver}
|
2018-01-26 08:53:37 +00:00
|
|
|
cabal-tweak-dep-ver time '< 1.8' '< 1.9'
|
2013-09-04 01:18:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2015-01-27 14:51:46 +00:00
|
|
|
%check
|
2016-09-27 10:15:54 +00:00
|
|
|
%cabal_test
|
2015-01-27 14:51:46 +00:00
|
|
|
|
|
|
|
|
2018-01-24 13:12:15 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
2013-09-04 01:18:35 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2015-09-30 06:13:59 +00:00
|
|
|
%license LICENSE
|
2013-09-04 01:18:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
2017-02-21 15:38:19 +00:00
|
|
|
%doc CHANGES.md
|
2013-09-04 01:18:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2018-01-26 11:03:11 +00:00
|
|
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.3.13-5
|
|
|
|
- rebuild
|
|
|
|
|
2017-10-23 09:53:25 +00:00
|
|
|
* Mon Oct 23 2017 Jens Petersen <petersen@redhat.com> - 1.3.13-4
|
|
|
|
- subpackages are now all packaged in Fedora
|
|
|
|
|
2017-08-02 21:36:03 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.13-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 10:00:23 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-21 15:38:19 +00:00
|
|
|
* Tue Feb 21 2017 Jens Petersen <petersen@redhat.com> - 1.3.13-1
|
|
|
|
- update to 1.3.13
|
|
|
|
|
2017-02-10 10:52:23 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.14-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-06-20 01:41:28 +00:00
|
|
|
* Mon Jun 20 2016 Jens Petersen <petersen@redhat.com> - 1.2.14-1
|
|
|
|
- update to 1.2.14
|
|
|
|
|
2016-02-03 21:47:49 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-10-01 06:58:16 +00:00
|
|
|
* Wed Sep 30 2015 Jens Petersen <petersen@redhat.com> - 1.2.13-6
|
|
|
|
- allow time 1.5
|
|
|
|
|
2015-06-17 08:04:28 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-01-27 14:51:46 +00:00
|
|
|
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 1.2.13-4
|
|
|
|
- cblrpm refresh
|
|
|
|
|
2014-08-16 16:05:54 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 15:25:33 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-09-04 01:18:35 +00:00
|
|
|
* Sat Jun 15 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.2.13-1
|
|
|
|
- spec file generated by cabal-rpm-0.8.1
|