publicsuffix-list-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. %bcond_without dafsa
  2. Name: publicsuffix-list
  3. Summary: Cross-vendor public domain suffix database
  4. Version: 20240604
  5. Release: 1%{?_dist_release}
  6. Group: security
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MPLv2.0
  10. URL: https://publicsuffix.org/
  11. Source0: https://publicsuffix.org/list/public_suffix_list.dat
  12. Source1: https://www.mozilla.org/media/MPL/2.0/index.txt
  13. Source2: https://github.com/publicsuffix/list/raw/master/tests/test_psl.txt
  14. BuildArch: noarch
  15. %if %{with dafsa}
  16. BuildRequires: psl-make-dafsa
  17. %endif
  18. %description
  19. The Public Suffix List is a cross-vendor initiative to provide
  20. an accurate list of domain name suffixes, maintained by the hard work
  21. of Mozilla volunteers and by submissions from registries.
  22. Software using the Public Suffix List will be able to determine where
  23. cookies may and may not be set, protecting the user from being
  24. tracked across sites.
  25. %if %{with dafsa}
  26. %package dafsa
  27. Summary: Cross-vendor public domain suffix database in DAFSA form
  28. %description dafsa
  29. The Public Suffix List is a cross-vendor initiative to provide
  30. an accurate list of domain name suffixes, maintained by the hard work
  31. of Mozilla volunteers and by submissions from registries.
  32. Software using the Public Suffix List will be able to determine where
  33. cookies may and may not be set, protecting the user from being
  34. tracked across sites.
  35. This package includes a DAFSA representation of the Public Suffix List
  36. for runtime loading.
  37. %endif
  38. %prep
  39. %setup -c -T
  40. cp -av %{SOURCE0} .
  41. cp -av %{SOURCE1} COPYING
  42. %build
  43. %if %{with dafsa}
  44. LC_CTYPE=C.UTF-8 \
  45. psl-make-dafsa --output-format=binary \
  46. public_suffix_list.dat public_suffix_list.dafsa
  47. %endif
  48. %install
  49. %if %{with dafsa}
  50. install -m 644 -p -D public_suffix_list.dafsa $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/public_suffix_list.dafsa
  51. %endif
  52. install -m 644 -p -D %{SOURCE0} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/public_suffix_list.dat
  53. install -m 644 -p -D %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/test_psl.txt
  54. ln -s public_suffix_list.dat $RPM_BUILD_ROOT/%{_datadir}/publicsuffix/effective_tld_names.dat
  55. %files
  56. %license COPYING
  57. %dir %{_datadir}/publicsuffix
  58. %{_datadir}/publicsuffix/effective_tld_names.dat
  59. %{_datadir}/publicsuffix/public_suffix_list.dat
  60. %{_datadir}/publicsuffix/test_psl.txt
  61. %if %{with dafsa}
  62. %files dafsa
  63. %license COPYING
  64. %dir %{_datadir}/publicsuffix
  65. %{_datadir}/publicsuffix/public_suffix_list.dafsa
  66. %endif
  67. %changelog
  68. * Mon Jun 10 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 20240604-1
  69. - new upstream release.
  70. * Fri Nov 18 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 20221118-1
  71. - new upstream release.
  72. * Fri Apr 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 20210402-1
  73. - new upstream release.
  74. * Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 20200509-1
  75. - initial build for Vine Linux.
  76. - new upstream release.
  77. * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20190417-3
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  79. * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190417-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  81. * Wed Apr 17 2019 Kamil Dudka <kdudka@redhat.com> - 20190417-1
  82. - Recent revision - 20190417
  83. * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190128-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  85. * Mon Jan 28 2019 Yanko Kaneti <yaneti@declera.com> - 20190128-1
  86. - Recent revision - 20190128
  87. * Mon Jul 23 2018 Kamil Dudka <kdudka@redhat.com> - 20180723-1
  88. - Recent revision - 20180723
  89. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180514-2
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  91. * Tue May 22 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 20180514-1
  92. - Recent revision - 20180514
  93. * Wed May 02 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 20180419-1
  94. - Recent revision - 20180419
  95. * Thu Mar 29 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 20180328-1
  96. - Recent revision - 20180328
  97. * Tue Feb 27 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 20180223-1
  98. - Recent revision - 20180223
  99. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171228-2
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  101. * Fri Jan 5 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 20171228-1
  102. - Recent revision - 20171228
  103. * Tue Nov 14 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20171028-1
  104. - Recent revision - 20171028
  105. * Mon Sep 4 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170828-1
  106. - Recent revision - 20170828
  107. * Fri Aug 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170809-1
  108. - Recent revision - 20170809
  109. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170424-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  111. * Thu Apr 27 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170424-1
  112. - Recent revision - 20170424
  113. * Wed Feb 22 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170206-1
  114. - Recent revision - 20170206
  115. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170116-2
  116. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  117. * Tue Jan 17 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20170116-1
  118. - Recent revision - 20170116
  119. - Use system psl-make-dafsa
  120. * Thu Jan 5 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 20161230-1
  121. - Recent revision - 20161230
  122. - Added dafsa package for runtime use by libpsl
  123. * Fri Nov 4 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 20161028-1
  124. - Recent revision - 20161028
  125. * Mon Aug 15 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 20160805-1
  126. - Recent revision - 20160805
  127. * Fri Jul 15 2016 Yanko Kaneti <yaneti@declera.com> - 20160713-1
  128. - Recent revision - 20160713
  129. * Fri Mar 25 2016 Yanko Kaneti <yaneti@declera.com> - 20160323-1
  130. - Recent revision - 20160323
  131. * Mon Feb 8 2016 Yanko Kaneti <yaneti@declera.com> - 20160206-1
  132. - Recent revision - 20160206
  133. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20151208-2
  134. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  135. * Tue Dec 8 2015 Yanko Kaneti <yaneti@declera.com> - 20151208-1
  136. - Recent revision - 20151208
  137. * Tue Sep 1 2015 Yanko Kaneti <yaneti@declera.com> - 20150831-1
  138. - The latest revision - 20150831
  139. - Add test data - bug 1251921
  140. * Mon Aug 3 2015 Yanko Kaneti <yaneti@declera.com> - 20150731-1
  141. - The latest revision - 20150731
  142. - Move to the new upstream filename. Install a compat symlink for now
  143. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150506-2
  144. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  145. * Thu May 7 2015 Yanko Kaneti <yaneti@declera.com> - 20150506-1
  146. - The latest revision - 20150506
  147. * Thu Apr 30 2015 Yanko Kaneti <yaneti@declera.com> - 20150430-1
  148. - The latest revision - 20150430
  149. * Tue Apr 7 2015 Yanko Kaneti <yaneti@declera.com> - 20150407-1
  150. - The latest revision - 20150407
  151. * Sat Apr 4 2015 Yanko Kaneti <yaneti@declera.com> - 20150404-1
  152. - The latest revision - 20150404
  153. * Thu Feb 26 2015 Yanko Kaneti <yaneti@declera.com> - 20150226-1
  154. - The latest revision - 20150226
  155. * Wed Feb 18 2015 Yanko Kaneti <yaneti@declera.com> - 20150217-1
  156. - The latest revision - 20150217
  157. * Thu Feb 5 2015 Yanko Kaneti <yaneti@declera.com> - 20150204-1
  158. - The latest revision - 20150204
  159. * Tue Dec 30 2014 Yanko Kaneti <yaneti@declera.com> - 20141230-1
  160. - Initial version for review - 20141124-1
  161. - Today's revision. Add license file - 20141218-1
  162. - Today's revision - 20141223-1
  163. - Today's revision - 20141230-1