ghc-crypto-cipher-types/ghc-crypto-cipher-types.spec

123 lines
3.3 KiB
RPMSpec
Raw Normal View History

2018-01-24 13:10:53 +00:00
# generated by cabal-rpm-0.12.1
2014-02-15 16:51:42 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name crypto-cipher-types
2017-02-24 08:48:11 +00:00
%global pkgver %{pkg_name}-%{version}
2014-02-15 16:51:42 +00:00
Name: ghc-%{pkg_name}
Version: 0.0.9
2018-01-26 10:26:41 +00:00
Release: 14%{?dist}
2014-02-15 16:51:42 +00:00
Summary: Generic cryptography cipher types
License: BSD
2015-01-27 14:57:31 +00:00
Url: https://hackage.haskell.org/package/%{pkg_name}
2017-02-24 08:48:11 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2014-02-15 16:51:42 +00:00
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-byteable-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-securemem-devel
# End cabal-rpm deps
%description
Generic cryptography cipher types.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
2018-01-24 13:10:53 +00:00
Provides: %{name}-doc = %{version}-%{release}
%if %{defined ghc_version}
2014-02-15 16:51:42 +00:00
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
2018-01-24 13:10:53 +00:00
%endif
2014-02-15 16:51:42 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development
files.
%prep
2017-02-24 08:48:11 +00:00
%setup -q -n %{pkgver}
2014-02-15 16:51:42 +00:00
%build
%ghc_lib_build
%install
%ghc_lib_install
2017-02-24 08:48:11 +00:00
rm %{buildroot}%{_datadir}/%{pkgver}/README.md
2014-02-15 16:51:42 +00:00
2018-01-24 13:10:53 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2014-02-15 16:51:42 +00:00
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
2016-09-28 09:32:22 +00:00
%license LICENSE
2014-02-15 16:51:42 +00:00
%files devel -f %{name}-devel.files
%doc README.md
%changelog
2018-01-26 10:26:41 +00:00
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.0.9-14
- rebuild
2017-09-15 04:36:59 +00:00
* Fri Sep 15 2017 Jens Petersen <petersen@redhat.com> - 0.0.9-13
- rebuild for newer memory
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.9-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.9-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-02-24 08:48:11 +00:00
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.0.9-10
- refresh to cabal-rpm-0.11.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.9-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.9-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-02-17 20:37:19 +00:00
* Tue Feb 17 2015 Sébastien Willmann <sebastien.willmann@gmail.com> - 0.0.9-6
- Rebuild to fix broken deps
2015-01-27 14:57:31 +00:00
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 0.0.9-5
- update urls
2014-12-30 21:00:53 +00:00
* Tue Dec 30 2014 Sébastien Willmann <sebastien.willmann@gmail.com> - 0.0.9-4
- Rebuilt to fix broken deps
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-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.0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-02-15 18:02:52 +00:00
* Sat Feb 15 2014 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.0.9-1
2014-02-15 16:51:42 +00:00
- spec file generated by cabal-rpm-0.8.7
- Removed README installed in the wrong place