Accepting request 185729 from devel:languages:haskell:pandoc

Updated packaging.

OBS-URL: https://build.opensuse.org/request/show/185729
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-temporary?expand=0&rev=3
This commit is contained in:
Peter Trommler 2013-08-03 08:31:45 +00:00 committed by Git OBS Bridge
parent dc18228048
commit b6fd56589f
6 changed files with 56 additions and 40 deletions

View File

@ -1,3 +1,3 @@
<services>
<service name="download_files"/>
</services>
<service name="download_files" mode="localonly"/>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad471e31c117c989aa6fe23bbc21ad3fc5f011dbdea3532048b8b1f59ea492f4
size 5195

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 15 13:34:28 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 1.1.2.4 from upstream
* adjust library version bounds to ghc 7.6 libs
-------------------------------------------------------------------
Thu Jun 7 08:05:09 UTC 2012 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
#
# spec file for ghc-temporary
# spec file for package ghc-temporary
#
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,60 +15,72 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# cabal2spec-0.25
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name temporary
%global common_summary Haskell temporary file and directory support library
%global common_description The functions for creating temporary files and directories in the base library are quite limited. The unixutils package contains some good ones, but they are not portable to Windows. This library just repackages the Cabal implementations of its own temporary file and folder functions so that you can use them without linking against Cabal or depending on it being installed.
Name: ghc-%{pkg_name}
Version: 1.1.2.3
Release: 1
Summary: %{common_summary}
Group: System/Libraries
Name: ghc-temporary
Version: 1.1.2.4
Release: 0
Summary: Haskell portable temporary file and directory support
License: BSD-3-Clause
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name}
Group: System/Libraries
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
# END cabal2spec
BuildRequires: ghc-unix-devel
# End cabal-rpm deps
%description
%{common_description}
The functions for creating temporary files and directories in the base library are quite limited. The unixutils
package contains some good ones, but they aren't portable to Windows.
This library just repackages the Cabal implementations of its own temporary file and folder functions so that
you can use them without linking against Cabal or depending on it being installed.
#' Help EMACS syntax highlighting.
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Requires: ghc-compiler
Requires(post): ghc-compiler
Requires(postun): ghc-compiler
Requires: %{name} = %{version}-%{release}
%description devel
The functions for creating temporary files and directories in the base library are quite limited. The unixutils
package contains some good ones, but they aren't portable to Windows.
This library just repackages the Cabal implementations of its own temporary file and folder functions so that
you can use them without linking against Cabal or depending on it being installed.
#' Help EMACS syntax highlighting.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
# devel subpackage
%ghc_devel_package
%postun devel
%ghc_pkg_recache
%ghc_devel_description
%ghc_devel_post_postun
%ghc_files LICENSE
%files -f %{name}.files
%defattr(-,root,root)
%doc LICENSE
%files devel -f %{name}-devel.files
%changelog

View File

@ -1 +0,0 @@
addFilter("static-library-without-debuginfo")

3
temporary-1.1.2.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f9ebb2aac8767c8f73c071073bea56363ea0d589df162417a988b9f856013c9
size 5220