|
|
|
@ -1,18 +1,19 @@
|
|
|
|
|
# generated by cabal-rpm-0.11
|
|
|
|
|
# generated by cabal-rpm-0.11.2
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name doctemplates
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.1.0.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Pandoc-style document templates
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
@ -51,7 +52,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -61,7 +62,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
%install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
|
|
|
|
rm %{buildroot}%{_datadir}/%{pkgver}/README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -78,7 +79,6 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_datadir}/%{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
@ -86,5 +86,8 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Oct 14 2017 Jens Petersen <petersen@redhat.com> - 0.1.0.2-4
|
|
|
|
|
- refresh to cabal-rpm-0.11.2
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.1.0.2-1
|
|
|
|
|
- spec file generated by cabal-rpm-0.11
|
|
|
|
|