summaryrefslogtreecommitdiffstats
path: root/php-htmLawed.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-htmLawed.spec')
-rw-r--r--php-htmLawed.spec80
1 files changed, 73 insertions, 7 deletions
diff --git a/php-htmLawed.spec b/php-htmLawed.spec
index 1ab3c16..d279bbb 100644
--- a/php-htmLawed.spec
+++ b/php-htmLawed.spec
@@ -1,17 +1,23 @@
-%global libname htmLawed
+# remirepo/fedora spec file for php-htmLawed
+#
+# Copyright (c) 2012-2016 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/4.0/
+#
+# Please, preserve the changelog entries
+#
+%global libname htmLawed
+%global libversion 1122
Name: php-%{libname}
-Version: 1.1.11
+Version: 1.1.22
Release: 2%{?dist}
Summary: PHP code to purify and filter HTML
Group: Development/Libraries
License: LGPLv3 and GPLv2+
URL: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/
-# Latest archive is not versionned
-# No license included
-# see http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=220
-Source0: http://www.bioinformatics.org/phplabware/downloads/%{libname}.zip
+Source0: http://www.bioinformatics.org/phplabware/downloads/%{libname}%{libversion}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -42,7 +48,7 @@ PHP code to purify and filter HTML
%prep
%setup -qc
-chmod -x htm*
+chmod -x *
%build
@@ -61,11 +67,71 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
+%{!?_licensedir:%global license %%doc}
+%license LICENSE*
%doc *README* *TESTCASE* htmLawedTest.php
%{_datadir}/php/%{libname}
%changelog
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.22-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Mar 7 2016 Remi Collet <remi@fedoraproject.org> - 1.1.22-1
+- update to 1.1.22
+
+* Tue Mar 1 2016 Remi Collet <remi@fedoraproject.org> - 1.1.21-1
+- update to 1.1.21
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.20-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Thu Jun 18 2015 Remi Collet <remi@fedoraproject.org> - 1.1.20-1
+- update to 1.1.20
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.19-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Tue Jan 20 2015 Remi Collet <remi@fedoraproject.org> - 1.1.19-1
+- update to 1.1.19
+
+* Sun Aug 17 2014 Remi Collet <remi@fedoraproject.org> - 1.1.18-1
+- update to 1.1.18 (security)
+- fix license handling
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.17-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu Mar 27 2014 Remi Collet <remi@fedoraproject.org> - 1.1.17-1
+- update to 1.1.17, improves php 5.5 compatibility
+
+* Thu Sep 12 2013 Remi Collet <remi@fedoraproject.org> - 1.1.16-1
+- update to 1.1.16, fix for a potential security vulnerability
+ arising from specialy encoded space characters in URL schemes/protocols
+
+* Fri Aug 23 2013 Remi Collet <remi@fedoraproject.org> - 1.1.15-2
+- new upstream sources with Licenses included
+
+* Fri Aug 23 2013 Remi Collet <remi@fedoraproject.org> - 1.1.15-1
+- update to 1.1.15
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.14-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Aug 9 2012 Remi Collet <remi@fedoraproject.org> - 1.1.14-1
+- update to 1.1.14
+
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.12-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Jul 05 2012 Remi Collet <remi@fedoraproject.org> - 1.1.12-1
+- update to 1.1.12
+- add License files
+- fix source0 to permanent URL.
+
* Wed Jul 04 2012 Remi Collet <remi@fedoraproject.org> - 1.1.11-2
- fix License per review comment (#836587)