publicsuffix-list-vl.spec 7.2 KB

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