Compare commits

..

35 Commits
f21 ... rawhide

Author SHA1 Message Date
Jens Petersen
ae25acc980 Convert to %autorelease and %autochangelog
[skip changelog]
2023-02-16 13:09:01 +08:00
Jens Petersen
48d94e8a06 refresh to cabal-rpm-2.1.0 with SPDX migration 2023-02-16 12:41:57 +08:00
Fedora Release Engineering
fbab14a4c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 04:35:51 +00:00
Jens Petersen
2abb749cf4 bump release 2022-06-18 00:28:11 +08:00
Fedora Release Engineering
e913d3daa7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 04:25:12 +00:00
Jens Petersen
b4b0fcb43f bump release 2021-08-06 10:16:44 +08:00
Jens Petersen
0df52e1a62 refresh to cabal-rpm-2.0.9 2021-08-04 23:40:43 +08:00
Fedora Release Engineering
4a2b8d4f06 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 00:13:05 +00:00
Fedora Release Engineering
967c7516aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 06:46:43 +00:00
Fedora Release Engineering
034c0e4b5d - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 18:42:48 +00:00
Jens Petersen
86a1a3eb09 bump release 2020-07-17 17:47:21 +08:00
Jens Petersen
1dff334a4b refresh to cabal-rpm-2.0.6 2020-06-19 16:53:33 +08:00
Jens Petersen
c1de0e5535 refresh to cabal-rpm-2.0.5 2020-06-04 19:24:56 +08:00
Jens Petersen
ef63f3ddb4 refresh to cabal-rpm-2.0.2 2020-02-08 22:48:38 +08:00
Fedora Release Engineering
74a11840b7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 20:10:04 +00:00
Jens Petersen
b6422ad0a3 BR prof for lib and static for executable 2019-08-05 18:27:04 +08:00
Jens Petersen
fc42c490d0 cabal-rpm-1.0.0: add doc and prof subpkgs 2019-08-01 21:23:07 +05:30
Fedora Release Engineering
7e1b7a12a9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 02:00:38 +00:00
Jens Petersen
1bfb4f298c refresh to cabal-rpm-0.13 2019-02-17 22:43:11 +08:00
Fedora Release Engineering
8f3f3ae2f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 21:05:13 +00:00
Jens Petersen
1fbf2684e5 rebuild 2018-07-29 01:05:37 +09:00
Fedora Release Engineering
5738d199f0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 01:29:47 +00:00
Fedora Release Engineering
64c3992827 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 11:13:08 +00:00
Jens Petersen
213023e62a drop ldconfig scriptlets 2018-02-04 01:01:46 +09:00
Jens Petersen
00c1b93f0c bump release 2018-01-26 11:13:56 +01:00
Jens Petersen
1c59b89a96 refresh to cabal-rpm-0.12.1 2018-01-24 14:10:24 +01:00
Fedora Release Engineering
17b6557d1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 21:10:11 +00:00
Fedora Release Engineering
e020228856 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 09:31:52 +00:00
Jens Petersen
8925ef8132 refresh to cabal-rpm-0.11.1 2017-02-24 17:48:07 +09:00
Fedora Release Engineering
59da60c857 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 10:31:11 +00:00
Jens Petersen
e920215166 use %license 2016-09-28 18:32:20 +09:00
Dennis Gilmore
772fa4866d - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 21:22:55 +00:00
Dennis Gilmore
1dce6f3ae5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 07:28:08 +00:00
Jens Petersen
d81f11c049 rebuild 2015-03-02 10:54:50 +09:00
Jens Petersen
63dd217c75 cblrpm refresh 2015-01-28 21:21:42 +09:00
2 changed files with 157 additions and 34 deletions

92
changelog Normal file
View File

@ -0,0 +1,92 @@
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.85-30
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.85-28
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.85-26
- rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.85-22
- refresh to cabal-rpm-2.0.6
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.85-20
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.85-18
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.85-16
- rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.85-13
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.85-10
- refresh to cabal-rpm-0.11.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.85-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Mar 2 2015 Jens Petersen <petersen@redhat.com> - 0.85-6
- rebuild
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com>
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jun 06 2013 Jens Petersen <petersen@redhat.com> - 0.85-2
- update to new simplified Haskell Packaging Guidelines
* Sun Mar 10 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.85-1
- spec file generated by cabal-rpm-0.7.1

View File

@ -1,20 +1,29 @@
# 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 IfElse %global pkg_name IfElse
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.85 Version: 0.85
Release: 5%{?dist} Release: %autorelease
Summary: Anaphoric and miscellaneous control-flow Summary: Anaphoric and miscellaneous useful control-flow
License: BSD License: BSD-3-Clause
URL: http://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{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
# Begin cabal-rpm deps: BuildRequires: ghc-base-devel
BuildRequires: ghc-mtl-devel BuildRequires: ghc-mtl-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-mtl-prof
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
@ -23,54 +32,76 @@ Anaphoric and miscellaneous useful control-flow.
%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%{?_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} = %{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
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-5 %autochangelog
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jun 06 2013 Jens Petersen <petersen@redhat.com> - 0.85-2
- update to new simplified Haskell Packaging Guidelines
* Sun Mar 10 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.85-1
- spec file generated by cabal-rpm-0.7.1