ghc-xss-sanitize/ghc-xss-sanitize.spec

108 lines
2.8 KiB
RPMSpec
Raw Normal View History

2012-01-06 11:46:43 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
2011-10-04 00:58:16 +00:00
2011-10-04 00:57:46 +00:00
%global pkg_name xss-sanitize
Name: ghc-%{pkg_name}
2013-07-26 05:19:01 +00:00
Version: 0.3.4
Release: 1%{?dist}
Summary: Sanitize untrusted HTML to prevent XSS attacks
2011-10-04 00:57:46 +00:00
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
2012-11-17 17:08:21 +00:00
2011-10-04 00:58:16 +00:00
BuildRequires: ghc-Cabal-devel
2012-11-17 17:08:21 +00:00
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
2012-06-20 02:47:34 +00:00
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-css-text-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-tagsoup-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-utf8-string-devel
2012-11-17 17:08:21 +00:00
# End cabal-rpm deps
2011-10-04 00:57:46 +00:00
%description
Run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS
to prevent XSS attacks.
%package devel
Summary: Haskell %{pkg_name} library development files
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
2011-10-04 00:57:46 +00:00
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
2012-01-06 11:46:43 +00:00
%postun devel
%ghc_pkg_recache
2012-01-06 11:46:43 +00:00
%files -f %{name}.files
%doc LICENSE
2012-01-06 11:46:43 +00:00
%files devel -f %{name}-devel.files
2011-10-04 00:57:46 +00:00
%changelog
2013-07-26 05:19:01 +00:00
* Fri Jul 26 2013 Jens Petersen <petersen@redhat.com> - 0.3.4-1
- update to 0.3.4
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.3.3-2
- update to new simplified Haskell Packaging Guidelines
2013-03-12 16:00:52 +00:00
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 0.3.3-1
- update to 0.3.3
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-11-17 17:08:21 +00:00
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.3.2-3
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-10 04:48:25 +00:00
* Tue Jul 10 2012 Ben Boeckel <mathstuf@gmail.com> - 0.3.2-1
2012-06-20 02:47:34 +00:00
- Update to 0.3.2
2012-06-15 08:42:55 +00:00
* Fri Jun 15 2012 Jens Petersen <petersen@redhat.com> - 0.2.6-3
- rebuild
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
* 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