Blame ghc-codec-rpm.spec

135c1a2
# generated by cabal-rpm-2.0.6
79b96e0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
305699a
305699a
%global pkg_name codec-rpm
305699a
%global pkgver %{pkg_name}-%{version}
305699a
135c1a2
# testsuite missing deps: hspec-attoparsec
135c1a2
305699a
Name:           ghc-%{pkg_name}
49fd783
Version:        0.2.2
a314a54
Release:        9%{?dist}
305699a
Summary:        A library for manipulating RPM files
305699a
305699a
License:        LGPLv2+
305699a
Url:            https://hackage.haskell.org/package/%{pkg_name}
8f325f8
# Begin cabal-rpm sources:
305699a
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
8f325f8
# End cabal-rpm sources
305699a
8f325f8
# Begin cabal-rpm deps:
305699a
BuildRequires:  ghc-Cabal-devel
305699a
BuildRequires:  ghc-rpm-macros
4068430
BuildRequires:  ghc-attoparsec-prof
4068430
BuildRequires:  ghc-attoparsec-binary-prof
4068430
BuildRequires:  ghc-base-prof
4068430
BuildRequires:  ghc-bytestring-prof
4068430
BuildRequires:  ghc-conduit-prof
4068430
BuildRequires:  ghc-conduit-extra-prof
4068430
BuildRequires:  ghc-cpio-conduit-prof
4068430
BuildRequires:  ghc-exceptions-prof
4068430
BuildRequires:  ghc-lzma-conduit-prof
4068430
BuildRequires:  ghc-mtl-prof
4068430
BuildRequires:  ghc-parsec-prof
4068430
BuildRequires:  ghc-pretty-prof
4068430
BuildRequires:  ghc-resourcet-prof
4068430
BuildRequires:  ghc-text-prof
305699a
# End cabal-rpm deps
305699a
305699a
%description
305699a
This module provides a library for reading RPM files and converting them into
305699a
useful data structures. There is currently no way to operate in reverse - that
305699a
is, for building an RPM file out of a data structure.
305699a
305699a
305699a
%package devel
305699a
Summary:        Haskell %{pkg_name} library development files
305699a
Provides:       %{name}-static = %{version}-%{release}
4068430
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
095e583
%if %{defined ghc_version}
305699a
Requires:       ghc-compiler = %{ghc_version}
095e583
%endif
305699a
Requires:       %{name}%{?_isa} = %{version}-%{release}
305699a
305699a
%description devel
305699a
This package provides the Haskell %{pkg_name} library development files.
305699a
305699a
2129b1d
%if %{with haddock}
2129b1d
%package doc
2129b1d
Summary:        Haskell %{pkg_name} library documentation
c24065f
BuildArch:      noarch
2129b1d
2129b1d
%description doc
2129b1d
This package provides the Haskell %{pkg_name} library documentation.
2129b1d
%endif
2129b1d
2129b1d
2129b1d
%if %{with ghc_prof}
2129b1d
%package prof
2129b1d
Summary:        Haskell %{pkg_name} profiling library
2129b1d
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
c24065f
Supplements:    (%{name}-devel and ghc-prof)
2129b1d
2129b1d
%description prof
2129b1d
This package provides the Haskell %{pkg_name} profiling library.
2129b1d
%endif
2129b1d
2129b1d
305699a
%prep
8f325f8
# Begin cabal-rpm setup:
305699a
%setup -q -n %{pkgver}
8f325f8
# End cabal-rpm setup
7ca5504
305699a
305699a
%build
8f325f8
# Begin cabal-rpm build:
305699a
%ghc_lib_build
8f325f8
# End cabal-rpm build
305699a
305699a
305699a
%install
8f325f8
# Begin cabal-rpm install
305699a
%ghc_lib_install
8f325f8
# End cabal-rpm install
305699a
305699a
305699a
%files -f %{name}.files
8f325f8
# Begin cabal-rpm files:
305699a
%license LICENSE
8f325f8
# End cabal-rpm files
305699a
305699a
305699a
%files devel -f %{name}-devel.files
305699a
%doc ChangeLog.md README.md examples
305699a
305699a
2129b1d
%if %{with haddock}
2129b1d
%files doc -f %{name}-doc.files
c24065f
%license LICENSE
2129b1d
%endif
2129b1d
2129b1d
2129b1d
%if %{with ghc_prof}
2129b1d
%files prof -f %{name}-prof.files
2129b1d
%endif
2129b1d
2129b1d
305699a
%changelog
a314a54
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-9
a314a54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a314a54
7e72889
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.2.2-8
7e72889
- refresh to cabal-rpm-2.0.6
7e72889
c24065f
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 0.2.2-7
c24065f
- refresh to cabal-rpm-2.0.2
c24065f
131e754
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-6
131e754
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
131e754
2129b1d
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.2.2-5
2129b1d
- add doc and prof subpackages (cabal-rpm-1.0.0)
2129b1d
f259be5
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-4
f259be5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f259be5
8f325f8
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.2.2-3
8f325f8
- refresh to cabal-rpm-0.13
8f325f8
f265f2a
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
f265f2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f265f2a
49fd783
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 0.2.2-1
49fd783
- update to 0.2.2
49fd783
1c7ff71
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
1c7ff71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1c7ff71
7ca5504
* Wed Mar 21 2018 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.1-1
7ca5504
- spec file generated by cabal-rpm-0.12.1