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 Thu Jun 30 12:02:57 UTC 2016 - mimi.vx@gmail.com

View File

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