ghc-byteorder/ghc-byteorder.spec

56 lines
1.1 KiB
RPMSpec

# 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