Compare commits

...

31 Commits
f25 ... rawhide

Author SHA1 Message Date
Jens Petersen
f388ea529d Convert to %autorelease and %autochangelog
[skip changelog]
2023-02-16 13:27:06 +08:00
Jens Petersen
5e4a7bee1a refresh to cabal-rpm-2.1.0 with SPDX migration 2023-02-16 12:44:02 +08:00
Fedora Release Engineering
7349500fef Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 05:18:05 +00:00
Jens Petersen
fc69deb3ed bump release 2022-06-18 00:57:50 +08:00
Fedora Release Engineering
9e0cbe65b0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 05:02:29 +00:00
Jens Petersen
dfd90dddfd bump release 2021-08-06 11:26:39 +08:00
Jens Petersen
906ca6e6e9 refresh to cabal-rpm-2.0.9 2021-08-04 23:58:16 +08:00
Fedora Release Engineering
90ebc03b9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 00:48:26 +00:00
Fedora Release Engineering
8c4b4161bb - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 07:19:47 +00:00
Fedora Release Engineering
50a669ad29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 19:16:07 +00:00
Jens Petersen
68f1ceb7b5 bump release 2020-07-17 18:16:49 +08:00
Jens Petersen
32c701ac39 refresh to cabal-rpm-2.0.6 2020-06-19 16:55:30 +08:00
Jens Petersen
33601a6f1f refresh to cabal-rpm-2.0.5 2020-06-04 19:26:53 +08:00
Jens Petersen
82179cd491 refresh to cabal-rpm-2.0.2 2020-02-08 22:50:36 +08:00
Fedora Release Engineering
b68b9d61b2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 20:53:05 +00:00
Jens Petersen
95b56d5c0d BR prof for lib and static for executable 2019-08-05 18:29:53 +08:00
Jens Petersen
e0a7c5c0cf cabal-rpm-1.0.0: add doc and prof subpkgs 2019-08-02 05:45:02 +05:30
Fedora Release Engineering
3eb7871a7d - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 02:36:23 +00:00
Jens Petersen
0d78a92ece refresh to cabal-rpm-0.13 2019-02-17 22:45:12 +08:00
Fedora Release Engineering
20d8a8e866 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 21:39:05 +00:00
Jens Petersen
0fd7ff265c remove part of haskell-platform comment 2018-07-22 00:24:23 +09:00
Fedora Release Engineering
802117e0a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 01:53:01 +00:00
Fedora Release Engineering
b9a2446a76 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 11:45:54 +00:00
Jens Petersen
5a44bbfb29 drop ldconfig scriptlets 2018-02-04 01:02:45 +09:00
Jens Petersen
d6b2b83d23 bump release 2018-01-26 11:39:23 +01:00
Jens Petersen
a4dc04ac8d refresh to cabal-rpm-0.12.1 2018-01-24 14:11:21 +01:00
Fedora Release Engineering
f77c890083 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 21:23:02 +00:00
Fedora Release Engineering
d5222e1a46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 09:45:56 +00:00
Jens Petersen
50a000b6da refresh to cabal-rpm-0.11.1 2017-02-24 17:48:14 +09:00
Fedora Release Engineering
1b7df6b2c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 10:41:48 +00:00
Jens Petersen
01f5c60325 use %license 2016-09-28 18:32:23 +09:00
2 changed files with 197 additions and 90 deletions

136
changelog Normal file
View File

@ -0,0 +1,136 @@
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 1.0.1.2-54
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 1.0.1.2-52
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 1.0.1.2-50
- rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 1.0.1.2-46
- refresh to cabal-rpm-2.0.6
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 1.0.1.2-44
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.0.1.2-42
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.0.1.2-38
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 1.0.1.2-35
- refresh to cabal-rpm-0.11.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 1.0.1.2-31
- update urls
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jan 2 2014 Jens Petersen <petersen@redhat.com> - 1.0.1.2-28
- bring back out of haskell-platform
- spec file updated with cabal-rpm-0.8.7
* Sun Mar 18 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.2-14
- update to cabal2spec-0.25
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-13.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.1.2-12.3
- rebuild with new gmp without compat lib
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.1.2-12.2
- rebuild with new gmp without compat lib
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 1.0.1.2-12.1
- rebuild with new gmp
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-12
- ghc_arches replaces ghc_excluded_archs
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-11
- BR ghc-Cabal-devel
- use ghc_excluded_archs
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-10
- update to cabal2spec-0.23: add ppc64
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.1.2-9
- Enable build on sparcv9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-7
- update to cabal2spec-0.22.4
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-6
- update url
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-5
- add hscolour and doc obsolete (cabal2spec-0.22.2)
* Sun Jun 27 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-4
- sync cabal2spec-0.22.1
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-3
- part of haskell-platform-2010.1.0.0
- rebuild against ghc-6.12.2
- condition ghc_lib_package
* Fri Jan 15 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-2
- BSD license
- part of haskell-platform
* Fri Jan 15 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 1.0.1.2-1
- initial packaging for Fedora automatically generated by cabal2spec-0.21.1

View File

@ -1,19 +1,28 @@
# https://fedoraproject.org/wiki/Packaging:Haskell # generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name html %global pkg_name html
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
# part of haskell-platform
Version: 1.0.1.2 Version: 1.0.1.2
Release: 33%{?dist} Release: %autorelease
Summary: HTML combinator library Summary: HTML combinator library
License: BSD License: BSD-3-Clause
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz # Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
%endif
# End cabal-rpm deps
%description %description
This package contains a combinator library for constructing HTML documents. This package contains a combinator library for constructing HTML documents.
@ -22,113 +31,75 @@ This package contains a combinator library for constructing HTML documents.
%package devel %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release} Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version} Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version} %endif
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
This package provides the Haskell %{pkg_name} library development files. This package provides the Haskell %{pkg_name} library development files.
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%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}
Supplements: (%{name}-devel and ghc-prof)
%description prof
This package provides the Haskell %{pkg_name} profiling library.
%endif
%prep %prep
%setup -q -n %{pkg_name}-%{version} # Begin cabal-rpm setup:
%setup -q -n %{pkgver}
# End cabal-rpm setup
%build %build
# Begin cabal-rpm build:
%ghc_lib_build %ghc_lib_build
# End cabal-rpm build
%install %install
# Begin cabal-rpm install
%ghc_lib_install %ghc_lib_install
# End cabal-rpm install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files %files -f %{name}.files
%doc LICENSE # Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%if %{with haddock}
%files doc -f %{name}-doc.files
%license LICENSE
%endif
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
%endif
%changelog %changelog
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.2-33 %autochangelog
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 1.0.1.2-31
- update urls
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jan 2 2014 Jens Petersen <petersen@redhat.com> - 1.0.1.2-28
- bring back out of haskell-platform
- spec file updated with cabal-rpm-0.8.7
* Sun Mar 18 2012 Jens Petersen <petersen@redhat.com> - 1.0.1.2-14
- update to cabal2spec-0.25
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-13.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.1.2-12.3
- rebuild with new gmp without compat lib
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.1.2-12.2
- rebuild with new gmp without compat lib
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 1.0.1.2-12.1
- rebuild with new gmp
* Tue Jun 21 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-12
- ghc_arches replaces ghc_excluded_archs
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-11
- BR ghc-Cabal-devel
- use ghc_excluded_archs
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-10
- update to cabal2spec-0.23: add ppc64
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.1.2-9
- Enable build on sparcv9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 1.0.1.2-7
- update to cabal2spec-0.22.4
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-6
- update url
* Sat Sep 4 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-5
- add hscolour and doc obsolete (cabal2spec-0.22.2)
* Sun Jun 27 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-4
- sync cabal2spec-0.22.1
* Tue Apr 27 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-3
- part of haskell-platform-2010.1.0.0
- rebuild against ghc-6.12.2
- condition ghc_lib_package
* Fri Jan 15 2010 Jens Petersen <petersen@redhat.com> - 1.0.1.2-2
- BSD license
- part of haskell-platform
* Fri Jan 15 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 1.0.1.2-1
- initial packaging for Fedora automatically generated by cabal2spec-0.21.1