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

75 lines
1.7 KiB
RPMSpec
Raw Normal View History

2013-03-23 02:54:56 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name unix-time
Name: ghc-%{pkg_name}
2013-06-03 08:21:11 +00:00
Version: 0.1.8
Release: 2%{?dist}
Summary: Unix time parser/formatter and utilities
2013-03-23 02:54:56 +00:00
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-old-time-devel
# End cabal-rpm deps
%description
Fast parser, formatter, and utilities for Unix time
%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 %{pkg_name} library development files.
2013-03-23 02:54:56 +00:00
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%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
%doc LICENSE
2013-03-23 02:54:56 +00:00
%files devel -f %{name}-devel.files
2013-03-23 02:54:56 +00:00
%changelog
* 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