libical-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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.5
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2 or MPLv1.1
  8. URL: https://libical.github.io/libical/
  9. Source0: https://github.com/libical/libical/releases/download/v%{version}/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: cmake
  12. BuildRequires: libxml2-devel
  13. BuildRequires: glib2-devel
  14. Requires: tzdata
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: babasaki, daisuke, inagaki
  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. %doc AUTHORS COPYING LICENSE* ReadMe.* ReleaseNotes.txt THANKS TODO
  82. %{_libdir}/%{name}.so.*
  83. %{_libdir}/%{name}_cxx.so.*
  84. %{_libdir}/libicalss.so.*
  85. %{_libdir}/libicalss_cxx.so.*
  86. %{_libdir}/libicalvcal.so.*
  87. %files devel
  88. %defattr(-,root,root,-)
  89. %doc doc/UsingLibical.txt
  90. %dir %{_includedir}/%{name}
  91. %{_includedir}/%{name}/*.h
  92. %{_libdir}/%{name}.so
  93. %{_libdir}/libical_cxx.so
  94. %{_libdir}/libicalss.so
  95. %{_libdir}/libicalss_cxx.so
  96. %{_libdir}/libicalvcal.so
  97. %dir %{_libdir}/cmake/LibIcal
  98. %{_libdir}/cmake/LibIcal/*.cmake
  99. %{_libdir}/pkgconfig/libical.pc
  100. %files glib
  101. %defattr(-,root,root,-)
  102. %{_libdir}/%{name}-glib.so.*
  103. %files glib-devel
  104. %defattr(-,root,root,-)
  105. %doc doc/UsingLibical.txt
  106. %dir %{_includedir}/%{name}-glib
  107. %{_includedir}/%{name}-glib/*.h
  108. %{_libdir}/%{name}-glib.so
  109. %{_libdir}/pkgconfig/libical-glib.pc
  110. %changelog
  111. * Sun Sep 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.5-1
  112. - updated to 3.0.5.
  113. * Fri Jan 26 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.1-1
  114. - updated to 3.0.1.
  115. - added subpackages for glib.
  116. * Mon Feb 23 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.1-1
  117. - updated to 1.0.1
  118. - updated URL
  119. - added BR: cmake
  120. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48-1
  121. - update to 0.48
  122. - remove old patches
  123. * Sat Apr 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46-1
  124. - new upstream release
  125. - added Patch0-2 from Fedora
  126. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-2
  127. - rebuild with rpm-4.8.1 for pkg-config file
  128. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-1
  129. - new upstream release
  130. - drop Patch0
  131. * Fri May 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43-2
  132. - remove comment line after %%postun
  133. - add Vendor/Distribution/Packager tags
  134. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43-1
  135. - new upstream release
  136. - add pkgconfig file to -devel subpackage.
  137. - move libicalvcal headers to /usr/include/libical (patch1,2)
  138. - add patch0 to fix implicit pointer conversion from Debian. Fixes Debian BTS
  139. bug #511598.
  140. * Mon Oct 27 2008 Seiichirou Babasaki - 0.32-2
  141. - Import libical - Packager: Babasaki
  142. - Updated specfile
  143. * Wed Sep 03 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.32-1
  144. - Version bump to 0.32.
  145. - Parallel build problems fixed.
  146. * Sun Jul 27 2008 Jeff Perry <jeffperry_fedora@sourcesink.com> - 0.31-3
  147. - Added 'BuildRequires: bison byacc flex'.
  148. * Sun Jul 27 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.31-2
  149. - Fixed linkage problems and disabled parallel build till upstream accepts fix.
  150. * Thu Jul 17 2008 Jeff Perry <jeffperry_fedora@sourcesink.com> - 0.31-1
  151. - Version bump to 0.31.
  152. * Thu Jul 17 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.30-4
  153. - Changed value of License according to Fedora licensing guidelines.
  154. - Enabled reentrant system calls and C++ bindings.
  155. - Omitted unused direct shared library dependencies.
  156. - Added ChangeLog, COPYING, LICENSE, NEWS and README to doc and dropped
  157. examples.
  158. * Wed Apr 02 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.30-3
  159. - Source URL... Fixed
  160. * Wed Apr 02 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.30-2
  161. - Removed untrue note about libical's homepage (to get rid of eventuall mess)
  162. * Sat Feb 23 2008 David Nielsen <gnomeuser@gmail.com> - 0.30-1
  163. - Switch to freeassociation libical
  164. - bump to 0.30
  165. * Sat Feb 09 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-5
  166. - Mass rebuild for new GCC... Done
  167. * Sat Jan 19 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-4
  168. - Licence... Fixed
  169. * Fri Jan 18 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-3
  170. - Files section... Fixed
  171. * Thu Jan 17 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-2
  172. - Source... Changed
  173. - Debug information in libical main package... Excluded
  174. - Non-numbered .so files in libical main package... Moved
  175. - libical-devel documentation... Added
  176. * Mon Dec 24 2007 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-1
  177. - Initial release