1
0

Accepting request 411382 from devel:languages:haskell

1

OBS-URL: https://build.opensuse.org/request/show/411382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-JuicyPixels?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2016-07-21 06:05:03 +00:00 committed by Git OBS Bridge
commit a382565f1a
2 changed files with 22 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 10 16:56:13 UTC 2016 - psimons@suse.com
- Update to version 3.2.7.2 revision 0 with cabal2obs.
-------------------------------------------------------------------
Thu Jun 30 12:02:57 UTC 2016 - mimi.vx@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-JuicyPixels
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,14 @@
%global pkg_name JuicyPixels
# no useful debuginfo for Haskell packages without C sources
Name: ghc-JuicyPixels
Name: ghc-%{pkg_name}
Version: 3.2.7.2
Release: 0
Summary: Picture loading/serialization
Summary: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)
License: BSD-3-Clause
Group: Development/Languages/Other
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
Group: System/Libraries
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-binary-devel
@ -42,7 +41,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
This library can load and store images in PNG,Bitmap, Jpeg, Radiance, Tiff and
Gif images.
@ -50,25 +48,30 @@ Gif images.
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
sed -i 's/\r//' LICENSE
%build
%{ghc_lib_build}
%ghc_lib_build
%install
%{ghc_lib_install}
%ghc_lib_install
%post devel
%{ghc_pkg_recache}
%ghc_pkg_recache
%postun devel
%{ghc_pkg_recache}
%ghc_pkg_recache
%files -f %{name}.files
%defattr(-,root,root,-)
@ -76,6 +79,6 @@ sed -i 's/\r//' LICENSE
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc docimages
%doc README.md changelog docimages
%changelog