You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghc-xml-types/ghc-xml-types.spec

169 lines
4.8 KiB

# generated by cabal-rpm-1.0.0
12 years ago
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name xml-types
%global pkgver %{pkg_name}-%{version}
12 years ago
Name: ghc-%{pkg_name}
9 years ago
Version: 0.3.6
Release: 13%{?dist}
Summary: Basic types for representing XML
12 years ago
License: MIT
10 years ago
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# End cabal-rpm sources
12 years ago
# Begin cabal-rpm deps:
12 years ago
BuildRequires: ghc-Cabal-devel
%if %{with haddock}
BuildRequires: ghc-doc
%endif
%if %{with ghc_prof}
BuildRequires: ghc-prof
%endif
12 years ago
BuildRequires: ghc-rpm-macros
10 years ago
BuildRequires: ghc-deepseq-devel
12 years ago
BuildRequires: ghc-text-devel
# End cabal-rpm deps
%description
Basic types for representing XML.
%package devel
Summary: Haskell %{pkg_name} library development files
10 years ago
Provides: %{name}-static = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
%endif
10 years ago
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
12 years ago
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
%description doc
This package provides the Haskell %{pkg_name} library documentation.
%endif
%if %{with ghc_prof}
%package prof
Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description prof
This package provides the Haskell %{pkg_name} profiling library.
%endif
12 years ago
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
# End cabal-rpm setup
12 years ago
%build
# Begin cabal-rpm build:
12 years ago
%ghc_lib_build
# End cabal-rpm build
12 years ago
%install
# Begin cabal-rpm install
12 years ago
%ghc_lib_install
# End cabal-rpm install
12 years ago
%files -f %{name}.files
# Begin cabal-rpm files:
9 years ago
%license license.txt
# End cabal-rpm files
12 years ago
%files devel -f %{name}-devel.files
12 years ago
%if %{with haddock}
%files doc -f %{name}-doc.files
%endif
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
%endif
12 years ago
%changelog
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 0.3.6-13
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.3.6-11
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7 years ago
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.3.6-9
- rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7 years ago
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.3.6-6
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.3.6-3
- refresh to cabal-rpm-0.11.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9 years ago
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.3.6-1
- update to 0.3.6
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
10 years ago
* Fri Jan 23 2015 Jens Petersen <petersen@redhat.com> - 0.3.4-1
- update to 0.3.4
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.3.3-3
- update to new simplified Haskell Packaging Guidelines
12 years ago
* Mon Mar 11 2013 Jens Petersen <petersen@redhat.com> - 0.3.3-2
- update to cabal-rpm-0.7
* Fri Nov 2 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.3.3-1
- spec file generated by cabal-rpm-0.6.4