update to 0.7.0 and cabal2spec-0.25.2
This commit is contained in:
parent
dfacafe10e
commit
267ce3020f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/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
|
||||||
|
@ -1,35 +1,38 @@
|
|||||||
|
# cabal2spec-0.25.2
|
||||||
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||||
|
|
||||||
%global pkg_name libmpd
|
%global pkg_name libmpd
|
||||||
|
|
||||||
%global common_summary An MPD client library
|
%global common_summary Haskell MPD client library
|
||||||
|
|
||||||
%global common_description A client library for MPD, the Music Player Daemon.
|
%global common_description A client library for MPD, the Music Player Daemon.
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.5.0
|
Version: 0.7.0
|
||||||
Release: 9%{?dist}.3
|
Release: 1%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
|
# BEGIN cabal2spec
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
ExclusiveArch: %{ghc_arches}
|
ExclusiveArch: %{ghc_arches}
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||||
BuildRequires: hscolour
|
# END cabal2spec
|
||||||
BuildRequires: ghc-mtl-prof, ghc-network-prof, ghc-time-prof, ghc-utf8-string-prof
|
BuildRequires: ghc-mtl-prof
|
||||||
Patch1: libmpd-0.5.0-ghc7.patch
|
BuildRequires: ghc-network-prof
|
||||||
|
BuildRequires: ghc-time-prof
|
||||||
|
BuildRequires: ghc-utf8-string-prof
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
%if %{with shared}
|
|
||||||
This package provides the shared library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
%patch1 -p1 -b .orig
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -38,15 +41,24 @@ This package provides the shared library.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}
|
|
||||||
install -p ChangeLog %{buildroot}/%{_docdir}/%{name}-%{version}/ChangeLog
|
|
||||||
install -p README.md %{buildroot}/%{_docdir}/%{name}-%{version}/README.md
|
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
%ghc_devel_package
|
||||||
|
|
||||||
|
%ghc_devel_description
|
||||||
|
|
||||||
|
|
||||||
|
%ghc_devel_post_postun
|
||||||
|
|
||||||
|
|
||||||
|
%ghc_files
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.5.0-9.3
|
||||||
- rebuild with new gmp without compat lib
|
- rebuild with new gmp without compat lib
|
||||||
|
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user