libical-vl.spec 5.5 KB

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