libical-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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.1
  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/v1.0.1/%{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. ..
  61. popd
  62. make %{?_smp_mflags} -C %{_target_platform}
  63. %check
  64. # make check
  65. # Fails on x86_64 and ppc64.
  66. #----------------------------------------------------------------------------
  67. %install
  68. rm -rf $RPM_BUILD_ROOT
  69. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  70. #make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
  71. #find $RPM_BUILD_ROOT -type f -name "*.la" -delete
  72. rm -f %{buildroot}%{_libdir}/*.a
  73. %clean
  74. rm -rf $RPM_BUILD_ROOT
  75. #----------------------------------------------------------------------------
  76. %post -p /sbin/ldconfig
  77. %postun -p /sbin/ldconfig
  78. %files
  79. %defattr(-,root,root,-)
  80. %doc AUTHORS COPYING LICENSE* ReadMe.* ReleaseNotes.txt THANKS TODO
  81. %{_libdir}/%{name}.so.*
  82. %{_libdir}/%{name}_cxx.so.*
  83. %{_libdir}/libicalss.so.*
  84. %{_libdir}/libicalss_cxx.so.*
  85. %{_libdir}/libicalvcal.so.*
  86. %files devel
  87. %defattr(-,root,root,-)
  88. %doc doc/UsingLibical.txt
  89. %dir %{_includedir}/%{name}
  90. %{_includedir}/%{name}/*.h
  91. %{_libdir}/%{name}.so
  92. %{_libdir}/libical_cxx.so
  93. %{_libdir}/libicalss.so
  94. %{_libdir}/libicalss_cxx.so
  95. %{_libdir}/libicalvcal.so
  96. %dir %{_libdir}/cmake/LibIcal
  97. %{_libdir}/cmake/LibIcal/*.cmake
  98. %{_libdir}/pkgconfig/libical.pc
  99. %files glib
  100. %defattr(-,root,root,-)
  101. %{_libdir}/%{name}-glib.so.*
  102. %files glib-devel
  103. %defattr(-,root,root,-)
  104. %doc doc/UsingLibical.txt
  105. %dir %{_includedir}/%{name}-glib
  106. %{_includedir}/%{name}-glib/*.h
  107. %{_libdir}/%{name}-glib.so
  108. %{_libdir}/pkgconfig/libical-glib.pc
  109. %changelog
  110. * Fri Jan 26 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.1-1
  111. - updated to 3.0.1.
  112. - added subpackages for glib.
  113. * Mon Feb 23 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.1-1
  114. - updated to 1.0.1
  115. - updated URL
  116. - added BR: cmake
  117. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48-1
  118. - update to 0.48
  119. - remove old patches
  120. * Sat Apr 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46-1
  121. - new upstream release
  122. - added Patch0-2 from Fedora
  123. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-2
  124. - rebuild with rpm-4.8.1 for pkg-config file
  125. * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-1
  126. - new upstream release
  127. - drop Patch0
  128. * Fri May 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43-2
  129. - remove comment line after %%postun
  130. - add Vendor/Distribution/Packager tags
  131. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43-1
  132. - new upstream release
  133. - add pkgconfig file to -devel subpackage.
  134. - move libicalvcal headers to /usr/include/libical (patch1,2)
  135. - add patch0 to fix implicit pointer conversion from Debian. Fixes Debian BTS
  136. bug #511598.
  137. * Mon Oct 27 2008 Seiichirou Babasaki - 0.32-2
  138. - Import libical - Packager: Babasaki
  139. - Updated specfile
  140. * Wed Sep 03 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.32-1
  141. - Version bump to 0.32.
  142. - Parallel build problems fixed.
  143. * Sun Jul 27 2008 Jeff Perry <jeffperry_fedora@sourcesink.com> - 0.31-3
  144. - Added 'BuildRequires: bison byacc flex'.
  145. * Sun Jul 27 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.31-2
  146. - Fixed linkage problems and disabled parallel build till upstream accepts fix.
  147. * Thu Jul 17 2008 Jeff Perry <jeffperry_fedora@sourcesink.com> - 0.31-1
  148. - Version bump to 0.31.
  149. * Thu Jul 17 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.30-4
  150. - Changed value of License according to Fedora licensing guidelines.
  151. - Enabled reentrant system calls and C++ bindings.
  152. - Omitted unused direct shared library dependencies.
  153. - Added ChangeLog, COPYING, LICENSE, NEWS and README to doc and dropped
  154. examples.
  155. * Wed Apr 02 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.30-3
  156. - Source URL... Fixed
  157. * Wed Apr 02 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.30-2
  158. - Removed untrue note about libical's homepage (to get rid of eventuall mess)
  159. * Sat Feb 23 2008 David Nielsen <gnomeuser@gmail.com> - 0.30-1
  160. - Switch to freeassociation libical
  161. - bump to 0.30
  162. * Sat Feb 09 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-5
  163. - Mass rebuild for new GCC... Done
  164. * Sat Jan 19 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-4
  165. - Licence... Fixed
  166. * Fri Jan 18 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-3
  167. - Files section... Fixed
  168. * Thu Jan 17 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-2
  169. - Source... Changed
  170. - Debug information in libical main package... Excluded
  171. - Non-numbered .so files in libical main package... Moved
  172. - libical-devel documentation... Added
  173. * Mon Dec 24 2007 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-1
  174. - Initial release