# For Haskell Packaging Guidelines see: # - https://fedoraproject.org/wiki/Packaging:Haskell # - https://fedoraproject.org/wiki/PackagingDrafts/Haskell %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} Version: 0.2.6 Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD # 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: %{ghc_arches} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %if %{undefined without_hscolour} BuildRequires: hscolour %endif # END cabal2spec BuildRequires: ghc-network-prof, ghc-tagsoup-prof, ghc-utf8-string-prof %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %{ghc_lib_package} %changelog * Tue Oct 4 2011 Jens Petersen - 0.2.6-1 - update to 0.2.6 and cabal2spec-0.23 * Sat Oct 30 2010 Ben Boeckel - 0.2.2-1 - Initial package * Sat Oct 30 2010 Fedora Haskell SIG - 0.2.2-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.2