Compare commits

..

61 Commits
f15 ... rawhide

Author SHA1 Message Date
Jens Petersen
6e8b8418d5 Convert to %autorelease and %autochangelog
[skip changelog]
2023-02-16 13:30:18 +08:00
Jens Petersen
e7811845a5 refresh to cabal-rpm-2.1.0 with SPDX migration 2023-02-16 12:44:29 +08:00
Fedora Release Engineering
4c312f752f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 05:25:16 +00:00
Jens Petersen
d7c0d7c22d bump release 2022-06-18 01:02:54 +08:00
Fedora Release Engineering
8d73604914 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 05:10:04 +00:00
Jens Petersen
46f1f09485 update to 0.10.0.0 2021-08-05 20:14:28 +08:00
Jens Petersen
aade4c43c8 refresh to cabal-rpm-2.0.9 2021-08-05 20:14:07 +08:00
Jens Petersen
acd4997690 update to 0.9.3.0 2021-08-05 20:14:01 +08:00
Fedora Release Engineering
4063cc3639 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 00:54:52 +00:00
Fedora Release Engineering
e34748e1d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 07:25:29 +00:00
Fedora Release Engineering
187c6c77d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 19:21:00 +00:00
Jens Petersen
47f9b05712 bump release 2020-07-17 18:21:19 +08:00
Jens Petersen
f1166ff54c refresh to cabal-rpm-2.0.6 2020-06-19 16:55:47 +08:00
Jens Petersen
e204c1d0bc refresh to cabal-rpm-2.0.5 2020-06-04 19:27:11 +08:00
Jens Petersen
4f0b5c679f update to 0.9.1.0 2020-02-14 11:43:45 +08:00
Jens Petersen
6660f1091b refresh to cabal-rpm-2.0.2 2020-02-08 22:50:53 +08:00
Fedora Release Engineering
0552e82853 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 20:59:08 +00:00
Jens Petersen
121e8e6706 BR prof for lib and static for executable 2019-08-05 18:30:19 +08:00
Jens Petersen
1ba9710e79 cabal-rpm-1.0.0: add doc and prof subpkgs 2019-08-02 05:49:42 +05:30
Fedora Release Engineering
e1a37375b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 02:41:24 +00:00
Jens Petersen
1d3b92d0c6 update to 0.9.0.9 2019-02-21 12:00:35 +08:00
Jens Petersen
d4cb7e1481 refresh to cabal-rpm-0.13 2019-02-17 22:45:28 +08:00
Fedora Release Engineering
9474896358 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 21:43:35 +00:00
Jens Petersen
d97e6af15e update to 0.9.0.8 2018-07-28 08:27:56 +09:00
Fedora Release Engineering
c663be1a70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 01:56:08 +00:00
Fedora Release Engineering
b0090f51d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 11:50:40 +00:00
Jens Petersen
338e1628e5 drop ldconfig scriptlets 2018-02-04 01:02:54 +09:00
Jens Petersen
efaa1658b0 update to 0.9.0.7 2018-01-24 15:40:30 +01:00
Jens Petersen
e9d1e28ffa refresh to cabal-rpm-0.12.1 2018-01-24 14:11:30 +01:00
Fedora Release Engineering
c22a70ed24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 21:24:24 +00:00
Fedora Release Engineering
61c85114f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 09:47:19 +00:00
Jens Petersen
f8e7077c08 update to 0.9.0.6 2017-02-24 18:02:00 +09:00
Fedora Release Engineering
92e6e2ef71 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 10:42:58 +00:00
Jens Petersen
49e6a85d82 no longer remove license; use cabal_test 2016-09-27 19:15:43 +09:00
Jens Petersen
52beeaa707 allow time 1.6 2016-08-15 18:20:40 +09:00
Jens Petersen
55e0d08723 add changelog 2016-06-30 10:59:16 +09:00
Ben Boeckel
1d92c08c16 update to 0.9.0.4 2016-04-23 14:24:36 -04:00
Dennis Gilmore
cd2ec5f656 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 21:36:50 +00:00
Ben Boeckel
7c87732768 Update to 0.9.0.2 2015-07-19 13:48:31 -04:00
Dennis Gilmore
dcd78a8d01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 07:49:00 +00:00
Jens Petersen
79a9d697e1 update to 0.8.0.5 2014-08-27 17:04:38 +09:00
Peter Robinson
af8b480697 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 15:23:11 +00:00
Jens Petersen
b5b5a9ce57 update to cblrpm-0.8.11 2014-06-10 17:11:42 +09:00
Dennis Gilmore
3084395edd - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 09:57:54 -05:00
Dennis Gilmore
0d1c5230b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 08:48:29 -05:00
Jens Petersen
f7dd7b1263 update to new simplified Haskell Packaging Guidelines 2013-06-05 17:49:12 +09:00
Jens Petersen
d48dc8ec5a update to 0.8.0.2 2013-03-12 23:14:13 +09:00
Dennis Gilmore
02fe905214 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 17:12:37 -06:00
Jens Petersen
d6e3047820 add comment about license tag 2012-11-18 00:09:11 +09:00
Jens Petersen
5e78f9c9d5 update with cabal-rpm 2012-11-17 23:59:21 +09:00
Dennis Gilmore
828b65af93 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 00:47:22 -05:00
Jens Petersen
095f05c78e change prof BRs to devel 2012-07-16 11:13:00 +09:00
Jens Petersen
1971d2245b allow building with mtl-2.1 2012-06-09 23:11:57 +09:00
Jens Petersen
3670f4818a add license to ghc_files 2012-03-22 23:35:37 +09:00
Ben Boeckel
b248769862 Update to 0.7.2 2012-02-28 22:53:40 -05:00
Jens Petersen
267ce3020f update to 0.7.0 and cabal2spec-0.25.2 2012-01-04 16:50:14 +09:00
Marcela Mašláňová
dfacafe10e rebuild with new gmp without compat lib 2011-10-24 15:29:23 +02:00
Marcela Mašláňová
89bbedf7fd rebuild with new gmp without compat lib 2011-10-21 01:36:55 +02:00
Marcela Mašláňová
265052beee rebuild with new gmp 2011-10-11 16:30:26 +02:00
Jens Petersen
0c470bfe3f BR time 2011-06-23 12:24:13 +09:00
Jens Petersen
9611d1f07a use BR ghc-Cabal-devel and update deps (cabal2spec-0.23.2) 2011-06-23 12:02:55 +09:00
5 changed files with 314 additions and 86 deletions

13
.gitignore vendored
View File

@ -1,2 +1,15 @@
/libmpd-0.4.2.tar.gz /libmpd-0.4.2.tar.gz
/libmpd-0.5.0.tar.gz /libmpd-0.5.0.tar.gz
/libmpd-0.7.0.tar.gz
/libmpd-0.7.2.tar.gz
/libmpd-0.8.0.2.tar.gz
/libmpd-0.8.0.5.tar.gz
/libmpd-0.9.0.2.tar.gz
/libmpd-0.9.0.4.tar.gz
/libmpd-0.9.0.6.tar.gz
/libmpd-0.9.0.7.tar.gz
/libmpd-0.9.0.8.tar.gz
/libmpd-0.9.0.9.tar.gz
/libmpd-0.9.1.0.tar.gz
/libmpd-0.9.3.0.tar.gz
/libmpd-0.10.0.0.tar.gz

182
changelog Normal file
View File

@ -0,0 +1,182 @@
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.10.0.0-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.10.0.0-3
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.10.0.0-1
- update to 0.10.0.0
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.9.3.0-1
- update to 0.9.3.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.9.1.0-2
- refresh to cabal-rpm-2.0.6
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.9.1.0-1
- update to 0.9.1.0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 0.9.0.9-3
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.9.0.9-1
- update to 0.9.0.9
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.9.0.8-3
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 0.9.0.8-1
- update to 0.9.0.8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.9.0.7-1
- update to 0.9.0.7
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.9.0.6-1
- update to 0.9.0.6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jun 30 2016 Jens Petersen <petersen@redhat.com> - 0.9.0.4-2
- add changelog to docs
* Sat Apr 23 2016 Ben Boeckel <mathstuf@gmail.com> - 0.9.0.4-1
- update to 0.9.0.4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Jul 19 2015 Ben Boeckel <mathstuf@gmail.com> - 0.9.0.2-1
- Update to 0.9.0.2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Aug 27 2014 Jens Petersen <petersen@redhat.com> - 0.8.0.5-1
- update to 0.8.0.5
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jun 10 2014 Jens Petersen <petersen@redhat.com> - 0.8.0.2-5
- update to cblrpm-0.8.11
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jun 05 2013 Jens Petersen <petersen@redhat.com> - 0.8.0.2-2
- update to new simplified Haskell Packaging Guidelines
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 0.8.0.2-1
- update to 0.8.0.2
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.7.2-6
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.7.2-4
- change prof BRs to devel
* Sat Jun 9 2012 Jens Petersen <petersen@redhat.com> - 0.7.2-3
- allow building with mtl-2.1
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.7.2-2
- add license to ghc_files
* Tue Feb 28 2012 Ben Boeckel <mathstuf@gmail.com> - 0.7.2-1
- Update to 0.7.2
* Wed Jan 4 2012 Jens Petersen <petersen@redhat.com> - 0.7.0-1
- update to 0.7.0 and cabal2spec-0.25.2
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5.0-9.3
- rebuild with new gmp without compat lib
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5.0-9.2
- rebuild with new gmp without compat lib
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.5.0-9.1
- rebuild with new gmp
* Thu Jun 23 2011 Jens Petersen <petersen@redhat.com> - 0.5.0-9
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.5.0-8
- Enable build on sparcv9
* Thu Feb 17 2011 Ben Boeckel <mathstuf@gmail.com> - 0.5.0-7
- Rebuild for broken dependencies (ghc-network)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jan 15 2011 Ben Boeckel <mathstuf@gmail.com> - 0.5.0-5
- Update to cabal2spec-0.22.4
- Rebuild
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 0.5.0-4
- also bump network dependency
* Mon Nov 29 2010 Jens Petersen <petersen@redhat.com> - 0.5.0-3
- bump some core dependency versions for ghc7
* Sun Nov 28 2010 Ben Boeckel <mathstuf@gmail.com> - 0.5.0-2
- Rebuild for GHC7
* Sun Oct 31 2010 Ben Boeckel <mathstuf@gmail.com> - 0.5.0-1
- Update to 0.5.0
* Wed Sep 01 2010 Ben Boeckel <mathstuf@gmail.com> - 0.4.2-1
- Update to 0.4.2
- Drop QuickCheck BR
- Ship the changelog and readme as well
* Tue Aug 31 2010 Ben Boeckel <mathstuf@gmail.com> - 0.4.1-1
- Initial package
* Tue Aug 31 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.4.1-0
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2

View File

@ -1,90 +1,142 @@
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name libmpd %global pkg_name libmpd
%global pkgver %{pkg_name}-%{version}
%global common_summary An MPD client library %bcond_with tests
%global common_description A client library for MPD, the Music Player Daemon.
%global ghc_pkg_deps ghc-mtl-devel, ghc-network-devel, ghc-utf8-string-devel
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.5.0 Version: 0.10.0.0
Release: 8%{?dist} Release: %autorelease
Summary: %{common_summary} Summary: An MPD client library
Group: System Environment/Libraries License: MIT
License: LGPLv2 Url: https://hackage.haskell.org/package/%{pkg_name}
URL: http://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources:
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# fedora ghc archs: # End cabal-rpm sources
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
BuildRequires: ghc, ghc-doc, ghc-prof # Begin cabal-rpm deps:
BuildRequires: ghc-rpm-macros >= 0.7.3 BuildRequires: ghc-Cabal-devel
BuildRequires: hscolour BuildRequires: ghc-rpm-macros
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} BuildRequires: ghc-attoparsec-devel
Patch1: libmpd-0.5.0-ghc7.patch BuildRequires: ghc-base-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-data-default-class-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-safe-exceptions-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-utf8-string-devel
%if %{with ghc_prof}
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-data-default-class-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-safe-exceptions-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-utf8-string-prof
%endif
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-hspec-discover-devel
BuildRequires: ghc-unix-devel
%endif
# End cabal-rpm deps
%description %description
%{common_description} A client library for MPD, the Music Player Daemon.
%if %{with shared}
This package provides the shared library.
%package devel
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}
%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
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 %endif
%prep %prep
%setup -q -n %{pkg_name}-%{version} # Begin cabal-rpm setup:
%patch1 -p1 -b .orig %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
mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version} # End cabal-rpm install
install -p ChangeLog %{buildroot}/%{_docdir}/%{name}-%{version}/ChangeLog
install -p README.md %{buildroot}/%{_docdir}/%{name}-%{version}/README.md
%{?ghc_lib_package} %check
%if %{with tests}
%cabal_test
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
%doc README.md changelog.md
%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
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.5.0-8 %autochangelog
- Enable build on sparcv9
* Thu Feb 17 2011 Ben Boeckel <mathstuf@gmail.com> - 0.5.0-7
- Rebuild for broken dependencies (ghc-network)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jan 15 2011 Ben Boeckel <mathstuf@gmail.com> - 0.5.0-5
- Update to cabal2spec-0.22.4
- Rebuild
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 0.5.0-4
- also bump network dependency
* Mon Nov 29 2010 Jens Petersen <petersen@redhat.com> - 0.5.0-3
- bump some core dependency versions for ghc7
* Sun Nov 28 2010 Ben Boeckel <mathstuf@gmail.com> - 0.5.0-2
- Rebuild for GHC7
* Sun Oct 31 2010 Ben Boeckel <mathstuf@gmail.com> - 0.5.0-1
- Update to 0.5.0
* Wed Sep 01 2010 Ben Boeckel <mathstuf@gmail.com> - 0.4.2-1
- Update to 0.4.2
- Drop QuickCheck BR
- Ship the changelog and readme as well
* Tue Aug 31 2010 Ben Boeckel <mathstuf@gmail.com> - 0.4.1-1
- Initial package
* Tue Aug 31 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.4.1-0
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2

View File

@ -1,19 +0,0 @@
diff -up libmpd-0.5.0/libmpd.cabal.orig libmpd-0.5.0/libmpd.cabal
--- libmpd-0.5.0/libmpd.cabal.orig 2010-09-08 23:47:02.000000000 +1000
+++ libmpd-0.5.0/libmpd.cabal 2010-12-05 19:55:32.000000000 +1000
@@ -41,11 +41,11 @@ Library
else
Build-Depends: base >= 4 && < 5
- Build-Depends: network >= 2.1 && < 2.3,
- mtl >= 1.1 && < 1.2, filepath >= 1.0 && < 1.2,
+ Build-Depends: network >= 2.1 && < 2.4,
+ mtl >= 1.1 && < 2.1, filepath >= 1.0 && < 1.3,
utf8-string >= 0.3.1 && < 0.4,
- containers >= 0.3 && < 0.4,
- time >= 1.1 && < 1.2,
+ containers >= 0.3 && < 0.5,
+ time >= 1.1 && < 1.3,
old-locale >= 1.0 && < 1.1
Exposed-Modules: Network.MPD, Network.MPD.Commands.Extensions,
Network.MPD.Core

View File

@ -1 +1 @@
38771e38d93ed511340c3c171df3dd75 libmpd-0.5.0.tar.gz SHA512 (libmpd-0.10.0.0.tar.gz) = 33b2af4cbbcc2c6bb2f05ada685d8870ca5132559f8f0505da39f0deb290f1e15028d783c9b28fc51f785ed86878fbf40bb0be0487612cc2b600eaf619114c11