ghc-unix-time/ghc-unix-time.spec

125 lines
3.4 KiB
RPMSpec
Raw Normal View History

2017-02-23 01:52:53 +00:00
# generated by cabal-rpm-0.11.1
2013-03-23 02:54:56 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name unix-time
2017-02-23 01:52:53 +00:00
%global pkgver %{pkg_name}-%{version}
2013-03-23 02:54:56 +00:00
2015-01-23 04:13:20 +00:00
%bcond_with tests
2013-03-23 02:54:56 +00:00
Name: ghc-%{pkg_name}
2017-02-23 01:52:53 +00:00
Version: 0.3.7
Release: 3%{?dist}
Summary: Unix time parser/formatter and utilities
2013-03-23 02:54:56 +00:00
License: BSD
2015-01-23 04:13:20 +00:00
Url: https://hackage.haskell.org/package/%{pkg_name}
2017-02-23 01:52:53 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2013-03-23 02:54:56 +00:00
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
2015-01-23 04:13:20 +00:00
BuildRequires: ghc-binary-devel
2013-03-23 02:54:56 +00:00
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-old-time-devel
2015-01-23 04:13:20 +00:00
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-doctest-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-time-devel
%endif
2013-03-23 02:54:56 +00:00
# End cabal-rpm deps
%description
Fast parser, formatter, and utilities for Unix time
%package devel
Summary: Haskell %{pkg_name} library development files
2014-05-02 03:23:04 +00:00
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
2014-05-02 03:23:04 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
2013-03-23 02:54:56 +00:00
%prep
2017-02-23 01:52:53 +00:00
%setup -q -n %{pkgver}
2013-03-23 02:54:56 +00:00
%build
%ghc_lib_build
%install
%ghc_lib_install
2015-01-23 04:13:20 +00:00
%check
%cabal_test
2015-01-23 04:13:20 +00:00
%post devel
%ghc_pkg_recache
2013-03-23 02:54:56 +00:00
%postun devel
%ghc_pkg_recache
2013-03-23 02:54:56 +00:00
%files -f %{name}.files
2016-06-26 10:21:25 +00:00
%license LICENSE
2013-03-23 02:54:56 +00:00
%files devel -f %{name}-devel.files
2013-03-23 02:54:56 +00:00
%changelog
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-02-23 01:52:53 +00:00
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.3.7-1
- update to 0.3.7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-06-26 10:21:25 +00:00
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.3.6-1
- update to 0.3.6
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-01-23 04:13:20 +00:00
* Fri Jan 23 2015 Jens Petersen <petersen@redhat.com> - 0.3.4-1
- update to 0.3.4
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-02 03:23:04 +00:00
* Fri May 02 2014 Jens Petersen <petersen@redhat.com> - 0.2.2-1
- update to 0.2.2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-06-03 08:21:11 +00:00
* Mon Jun 03 2013 Jens Petersen <petersen@redhat.com> - 0.1.8-1
- update to 0.1.8
2013-03-23 02:56:51 +00:00
* Sat Mar 23 2013 Jens Petersen <petersen@redhat.com> - 0.1.5-1
- update to 0.1.5
2013-03-23 02:54:56 +00:00
* Mon Feb 11 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org>
- spec file generated by cabal-rpm-0.7.0