libical-vl.spec 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. %define _unpackaged_files_terminate_build 1
  2. Name: libical
  3. Summary: An Open Source implementation of the iCalendar protocols and protocol data units
  4. Version: 3.0.9
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: babasaki, daisuke, inagaki
  10. License: LGPLv2 or MPLv1.1
  11. URL: https://libical.github.io/libical/
  12. Source0: https://github.com/libical/libical/releases/download/v%{version}/%{name}-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: cmake
  15. BuildRequires: libxml2-devel
  16. BuildRequires: glib2-devel
  17. BuildRequires: gobject-introspection-devel
  18. BuildRequires: vala
  19. Requires: tzdata
  20. #----------------------------------------------------------------------------
  21. %description
  22. Reference implementation of the iCalendar data type and serialization format
  23. used in dozens of calendaring and scheduling products.
  24. %description -l pl
  25. Implementacja formatu iCalendar, używana w wielu kalendarzach i
  26. planerach/planistach.
  27. #----------------------------------------------------------------------------
  28. %package devel
  29. Summary: Development files for libical
  30. Summary(ja): libical の開発用ファイル
  31. Group: programming
  32. Requires: %{name} = %{version}-%{release}
  33. %description devel
  34. The libical-devel package contains libraries and header files for developing
  35. applications that use libical.
  36. %description devel -l pl
  37. libical-devel zawiera biblioteki i pliki niezbędne do tworzenia aplikacji
  38. korzystających z libical.
  39. #----------------------------------------------------------------------------
  40. %package glib
  41. Summary: libical with glib
  42. Group: system
  43. %description glib
  44. this package contains a library to use libical with glib.
  45. #----------------------------------------------------------------------------
  46. %package glib-devel
  47. Summary: Development files for libical-glib
  48. Summary(ja): libical-glib の開発用ファイル
  49. Group: programming
  50. Requires: %{name}-devel = %{version}-%{release}
  51. Requires: %{name}-glib = %{version}-%{release}
  52. %description glib-devel
  53. The libical-glib-devel package contains libraries and header files for
  54. developing applications that use libical-glib.
  55. #----------------------------------------------------------------------------
  56. %debug_package
  57. #----------------------------------------------------------------------------
  58. %prep
  59. %setup -q
  60. #----------------------------------------------------------------------------
  61. %build
  62. %cmake \
  63. -DCMAKE_BUILD_TYPE=release \
  64. -DSHARED_ONLY=true \
  65. -DENABLE_GTK_DOC=OFF \
  66. -DGOBJECT_INTROSPECTION=true \
  67. -DUSE_INTEROPERABLE_VTIMEZONES=true \
  68. -DICAL_ALLOW_EMPTY_PROPERTIES=true \
  69. -DICAL_GLIB=true \
  70. -DICAL_GLIB_VAPI=true \
  71. %{nil}
  72. %cmake_build
  73. #----------------------------------------------------------------------------
  74. %install
  75. rm -rf $RPM_BUILD_ROOT
  76. %cmake_install
  77. # This is just a private build tool, not meant to be installed
  78. rm %{buildroot}/%{_libexecdir}/libical/ical-glib-src-generator
  79. #----------------------------------------------------------------------------
  80. %files
  81. %defattr(-,root,root,-)
  82. %license COPYING LICENSE*
  83. %doc AUTHORS ReadMe.* ReleaseNotes.txt THANKS TODO
  84. %{_libdir}/%{name}.so.*
  85. %{_libdir}/%{name}_cxx.so.*
  86. %{_libdir}/libicalss.so.*
  87. %{_libdir}/libicalss_cxx.so.*
  88. %{_libdir}/libicalvcal.so.*
  89. %{_libdir}/girepository-1.0/ICal-*.typelib
  90. %files devel
  91. %defattr(-,root,root,-)
  92. %doc doc/UsingLibical.txt
  93. %dir %{_includedir}/%{name}
  94. %{_includedir}/%{name}/*.h
  95. %{_libdir}/%{name}.so
  96. %{_libdir}/libical_cxx.so
  97. %{_libdir}/libicalss.so
  98. %{_libdir}/libicalss_cxx.so
  99. %{_libdir}/libicalvcal.so
  100. %dir %{_libdir}/cmake/LibIcal
  101. %{_libdir}/cmake/LibIcal/*.cmake
  102. %{_libdir}/pkgconfig/libical.pc
  103. %{_datadir}/gir-1.0/ICal-*.gir
  104. %files glib
  105. %defattr(-,root,root,-)
  106. %{_libdir}/%{name}-glib.so.*
  107. %{_libdir}/girepository-1.0/ICalGLib-*.typelib
  108. %files glib-devel
  109. %defattr(-,root,root,-)
  110. %doc doc/UsingLibical.txt
  111. %dir %{_includedir}/%{name}-glib
  112. %{_includedir}/%{name}-glib/*.h
  113. %{_libdir}/%{name}-glib.so
  114. %{_libdir}/pkgconfig/libical-glib.pc
  115. %{_datadir}/gir-1.0/ICalGLib-*.gir
  116. %dir %{_datadir}/vala
  117. %dir %{_datadir}/vala/vapi
  118. %{_datadir}/vala/vapi/*
  119. %changelog
  120. * Wed Apr 07 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.9-1
  121. - new upstream release.
  122. - dropped ldconfig scriptlets.
  123. * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-2
  124. - added vala support.
  125. * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-1
  126. - new upstream release.
  127. * Sun Sep 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.5-1
  128. - updated to 3.0.5.
  129. * Fri Jan 26 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.1-1
  130. - updated to 3.0.1.
  131. - added subpackages for glib.
  132. * Mon Feb 23 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.1-1
  133. - updated to 1.0.1
  134. - updated URL
  135. - added BR: cmake
  136. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48-1
  137. - update to 0.48
  138. - remove old patches
  139. * Sat Apr 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46-1
  140. - new upstream release
  141. - added Patch0-2 from Fedora
  142. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-2
  143. - rebuild with rpm-4.8.1 for pkg-config file
  144. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-1
  145. - new upstream release
  146. - drop Patch0
  147. * Fri May 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43-2
  148. - remove comment line after %%postun
  149. - add Vendor/Distribution/Packager tags
  150. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43-1
  151. - new upstream release
  152. - add pkgconfig file to -devel subpackage.
  153. - move libicalvcal headers to /usr/include/libical (patch1,2)
  154. - add patch0 to fix implicit pointer conversion from Debian. Fixes Debian BTS
  155. bug #511598.
  156. * Mon Oct 27 2008 Seiichirou Babasaki - 0.32-2
  157. - Import libical - Packager: Babasaki
  158. - Updated specfile
  159. * Wed Sep 03 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.32-1
  160. - Version bump to 0.32.
  161. - Parallel build problems fixed.
  162. * Sun Jul 27 2008 Jeff Perry <jeffperry_fedora@sourcesink.com> - 0.31-3
  163. - Added 'BuildRequires: bison byacc flex'.
  164. * Sun Jul 27 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.31-2
  165. - Fixed linkage problems and disabled parallel build till upstream accepts fix.
  166. * Thu Jul 17 2008 Jeff Perry <jeffperry_fedora@sourcesink.com> - 0.31-1
  167. - Version bump to 0.31.
  168. * Thu Jul 17 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.30-4
  169. - Changed value of License according to Fedora licensing guidelines.
  170. - Enabled reentrant system calls and C++ bindings.
  171. - Omitted unused direct shared library dependencies.
  172. - Added ChangeLog, COPYING, LICENSE, NEWS and README to doc and dropped
  173. examples.
  174. * Wed Apr 02 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.30-3
  175. - Source URL... Fixed
  176. * Wed Apr 02 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.30-2
  177. - Removed untrue note about libical's homepage (to get rid of eventuall mess)
  178. * Sat Feb 23 2008 David Nielsen <gnomeuser@gmail.com> - 0.30-1
  179. - Switch to freeassociation libical
  180. - bump to 0.30
  181. * Sat Feb 09 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-5
  182. - Mass rebuild for new GCC... Done
  183. * Sat Jan 19 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-4
  184. - Licence... Fixed
  185. * Fri Jan 18 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-3
  186. - Files section... Fixed
  187. * Thu Jan 17 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-2
  188. - Source... Changed
  189. - Debug information in libical main package... Excluded
  190. - Non-numbered .so files in libical main package... Moved
  191. - libical-devel documentation... Added
  192. * Mon Dec 24 2007 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-1
  193. - Initial release