Blame SPECS/ghc-byteable.spec

111c59
# generated by cabal-rpm-0.12.1
111c59
# https://fedoraproject.org/wiki/Packaging:Haskell
111c59
111c59
%global pkg_name byteable
111c59
%global pkgver %{pkg_name}-%{version}
111c59
111c59
Name:           ghc-%{pkg_name}
111c59
Version:        0.1.1
111c59
Release:        13%{?dist}
111c59
Summary:        Type class for sequence of bytes
111c59
111c59
License:        BSD
111c59
Url:            https://hackage.haskell.org/package/%{pkg_name}
111c59
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
111c59
111c59
BuildRequires:  ghc-Cabal-devel
111c59
BuildRequires:  ghc-rpm-macros
111c59
# Begin cabal-rpm deps:
111c59
BuildRequires:  ghc-bytestring-devel
111c59
# End cabal-rpm deps
111c59
111c59
%description
111c59
Abstract class to manipulate sequence of bytes
111c59
111c59
The use case of this class is abstracting manipulation of types that are just
111c59
wrapping a bytestring with stronger and more meaniful name.
111c59
111c59
Usual definition of those types are of the form: newtype MyType = MyType
111c59
ByteString.
111c59
111c59
111c59
%package devel
111c59
Summary:        Haskell %{pkg_name} library development files
111c59
Provides:       %{name}-static = %{version}-%{release}
111c59
Provides:       %{name}-doc = %{version}-%{release}
111c59
%if %{defined ghc_version}
111c59
Requires:       ghc-compiler = %{ghc_version}
111c59
Requires(post): ghc-compiler = %{ghc_version}
111c59
Requires(postun): ghc-compiler = %{ghc_version}
111c59
%endif
111c59
Requires:       %{name}%{?_isa} = %{version}-%{release}
111c59
111c59
%description devel
111c59
This package provides the Haskell %{pkg_name} library development files.
111c59
111c59
111c59
%prep
111c59
%setup -q -n %{pkgver}
111c59
111c59
111c59
%build
111c59
%ghc_lib_build
111c59
111c59
111c59
%install
111c59
%ghc_lib_install
111c59
111c59
rm %{buildroot}%{_datadir}/%{pkgver}/README.md
111c59
111c59
111c59
%post devel
111c59
%ghc_pkg_recache
111c59
111c59
111c59
%postun devel
111c59
%ghc_pkg_recache
111c59
111c59
111c59
%files -f %{name}.files
111c59
%license LICENSE
111c59
111c59
111c59
%files devel -f %{name}-devel.files
111c59
%doc README.md
111c59
111c59
111c59
%changelog
111c59
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-13
111c59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
111c59
111c59
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.1.1-12
111c59
- rebuild
111c59
111c59
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-11
111c59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
111c59
111c59
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-10
111c59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
111c59
111c59
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.1.1-9
111c59
- refresh to cabal-rpm-0.11.1
111c59
111c59
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-8
111c59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
111c59
111c59
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-7
111c59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
111c59
111c59
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-6
111c59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
111c59
111c59
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 0.1.1-5
111c59
- update urls
111c59
111c59
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
111c59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
111c59
111c59
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
111c59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
111c59
111c59
* Wed Oct 16 2013 Jens Petersen <petersen@redhat.com> - 0.1.1-2
111c59
- add static provides to devel
111c59
111c59
* Wed Sep 25 2013 Jens Petersen <petersen@redhat.com> - 0.1.1-1
111c59
- remove README.md from datadir
111c59
111c59
* Wed Sep 25 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org>
111c59
- spec file generated by cabal-rpm-0.8.3