libical-vl.spec 6.9 KB

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