forked from pool/ghc-network
Accepting request 99829 from home:ptrommler:devel:languages:haskell:platform-2011.4
Haskell Platform 2011.4 OBS-URL: https://build.opensuse.org/request/show/99829 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network?expand=0&rev=1
This commit is contained in:
commit
5b01212f02
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
_service
Normal file
3
_service
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<services>
|
||||||
|
<service name="download_files"/>
|
||||||
|
</services>
|
3
_service:download_files:network-2.3.0.5.tar.gz
Normal file
3
_service:download_files:network-2.3.0.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e00768f588c9dca91ebffb97345cdd893fcae20109d16eead4207fe7f45b3a78
|
||||||
|
size 136448
|
20
ghc-network.changes
Normal file
20
ghc-network.changes
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 28 20:13:41 UTC 2011 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- Adjusted version for platform 2011.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 14 09:09:58 UTC 2011 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- Fix defattr
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 14 08:57:49 UTC 2011 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- Added rpmlintrc and BR ghc libraries
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 1 14:03:07 UTC 2011 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- Initial packaging.
|
||||||
|
|
102
ghc-network.spec
Normal file
102
ghc-network.spec
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
# For Haskell Packaging Guidelines see:
|
||||||
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||||
|
|
||||||
|
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%global pkg_name network
|
||||||
|
|
||||||
|
# common part of summary for all the subpackages
|
||||||
|
%global common_summary Haskell %{pkg_name} library
|
||||||
|
|
||||||
|
# main description used for all the subpackages
|
||||||
|
%global common_description A %{pkg_name} library for Haskell.
|
||||||
|
|
||||||
|
Name: ghc-network
|
||||||
|
Version: 2.3.0.5
|
||||||
|
Release: 1
|
||||||
|
Summary: %{common_summary}
|
||||||
|
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
License: BSD3
|
||||||
|
# BEGIN cabal2spec
|
||||||
|
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}
|
||||||
|
BuildRequires: ghc-Cabal-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
%if %{undefined without_hscolour}
|
||||||
|
BuildRequires: hscolour
|
||||||
|
%endif
|
||||||
|
# END cabal2spec
|
||||||
|
# BR any C devel dependency here
|
||||||
|
# list ghc-*-prof dependencies:
|
||||||
|
BuildRequires: ghc-bytestring-devel ghc-parsec-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{common_description}
|
||||||
|
|
||||||
|
|
||||||
|
%package -n ghc-%{pkg_name}-devel
|
||||||
|
Summary: Development files for %{common_summary}
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
# BEGIN cabal2spec
|
||||||
|
%{?ghc_devel_requires}
|
||||||
|
Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release}
|
||||||
|
Provides: ghc-%{pkg_name}-prof = %{version}-%{release}
|
||||||
|
# END cabal2spec
|
||||||
|
# remember to require any C devel dependency here
|
||||||
|
# Haskell devel dependencies are autogenerated by ghc-deps.sh
|
||||||
|
|
||||||
|
%description -n ghc-%{pkg_name}-devel
|
||||||
|
%{common_description}
|
||||||
|
|
||||||
|
This package contains the development files.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
#%%define cabal_configure_options -f "opt1 -opt2 ..."
|
||||||
|
%ghc_lib_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
|
%post -n ghc-%{pkg_name}-devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
|
%postun -n ghc-%{pkg_name}-devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
|
%if %{undefined ghc_without_shared}
|
||||||
|
%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Nov 1 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 2.3.0.7-0
|
||||||
|
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1
|
Loading…
Reference in New Issue
Block a user