Initial import into Fedora

This commit is contained in:
Ben Boeckel 2013-02-07 15:38:05 -05:00
parent 2fc5d8faae
commit 8858699cb2
3 changed files with 57 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/byteorder-1.0.3.tar.gz

55
ghc-byteorder.spec Normal file
View 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

View File

@ -0,0 +1 @@
70f8e69c2fdf384bf9a44ee3478f6a1c byteorder-1.0.3.tar.gz