2012-01-06 11:46:43 +00:00
|
|
|
# cabal2spec-0.25.2
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
2011-10-04 00:58:16 +00:00
|
|
|
|
2011-10-04 00:57:46 +00:00
|
|
|
%global pkg_name xss-sanitize
|
|
|
|
|
|
|
|
%global common_summary Sanitize untrusted HTML to prevent XSS attacks
|
|
|
|
|
|
|
|
%global common_description Run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS \
|
|
|
|
to prevent XSS attacks. see README.md \
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
2012-02-29 03:11:29 +00:00
|
|
|
Version: 0.3.1
|
2012-01-19 02:35:33 +00:00
|
|
|
Release: 1%{?dist}
|
2011-10-04 00:57:46 +00:00
|
|
|
Summary: %{common_summary}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD
|
2011-10-04 00:58:16 +00:00
|
|
|
# BEGIN cabal2spec
|
2011-10-04 00:57:46 +00:00
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
2011-10-04 00:58:16 +00:00
|
|
|
ExclusiveArch: %{ghc_arches}
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-01-06 11:46:43 +00:00
|
|
|
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
2011-10-04 00:58:16 +00:00
|
|
|
# END cabal2spec
|
2012-01-06 11:46:43 +00:00
|
|
|
BuildRequires: ghc-network-prof
|
|
|
|
BuildRequires: ghc-tagsoup-prof
|
|
|
|
BuildRequires: ghc-utf8-string-prof
|
2011-10-04 00:57:46 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2012-01-06 11:46:43 +00:00
|
|
|
%ghc_devel_package
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files
|
2011-10-04 00:57:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-01-19 02:35:33 +00:00
|
|
|
* Thu Jan 19 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.3.1-1
|
|
|
|
- update to upstream version 0.3.1
|
|
|
|
|
2012-01-06 11:46:43 +00:00
|
|
|
* Fri Jan 6 2012 Jens Petersen <petersen@redhat.com> - 0.2.6-2
|
|
|
|
- update to cabal2spec-0.25.2
|
|
|
|
|
2011-10-24 13:45:52 +00:00
|
|
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.2.6-1.1
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-04 00:58:16 +00:00
|
|
|
* Tue Oct 4 2011 Jens Petersen <petersen@redhat.com> - 0.2.6-1
|
|
|
|
- update to 0.2.6 and cabal2spec-0.23
|
|
|
|
|
2011-10-04 00:57:46 +00:00
|
|
|
* Sat Oct 30 2010 Ben Boeckel <mathstuf@gmail.com> - 0.2.2-1
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
* Sat Oct 30 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.2.2-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
|