Initial import into Fedora
This commit is contained in:
parent
2fc5d8faae
commit
8858699cb2
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/byteorder-1.0.3.tar.gz
|
55
ghc-byteorder.spec
Normal file
55
ghc-byteorder.spec
Normal file
@ -0,0 +1,55 @@
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name byteorder
|
||||
|
||||
%global common_summary Exposes the native endianness or byte ordering of the system
|
||||
|
||||
%global common_description This package is for working with the native byte-ordering of\
|
||||
the system.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.3
|
||||
Release: 2%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 07 2013 Ben Boeckel <mathstuf@gmail.com> - 1.0.3-2
|
||||
- Initial import into Fedora
|
||||
|
||||
* Sat Jan 12 2013 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 1.0.3-1
|
||||
- spec file generated by cabal-rpm-0.6.6
|
Loading…
Reference in New Issue
Block a user