libical-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. Name: libical
  2. Version: 0.43
  3. Release: 2%{?_dist_release}
  4. Summary: Reference implementation of the iCalendar data type and serialization format
  5. Summary(pl): Implementacja formatu iCalendar
  6. Group: System Environment/Libraries
  7. License: LGPLv2 or MPLv1.1
  8. URL: http://freeassociation.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar.gz
  10. Patch0: %{name}-%{version}-implicit-pointer-conversion.patch
  11. Patch1: %{name}-%{version}-makefile.patch
  12. Patch2: %{name}-%{version}-pkgconfig.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: bison
  15. BuildRequires: byacc
  16. BuildRequires: flex
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: babasaki, daisuke
  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(pl): Pliki deweloperskie dla libical
  31. Group: Development/Libraries
  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. %prep
  41. %setup -q
  42. %patch0 -p1
  43. %build
  44. %configure --disable-static -enable-cxx --enable-reentrant
  45. # Omit unused direct shared library dependencies.
  46. sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
  47. make %{?_smp_mflags}
  48. %check
  49. # make check
  50. # Fails on x86_64 and ppc64.
  51. #----------------------------------------------------------------------------
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
  55. find $RPM_BUILD_ROOT -type f -name "*.la" -delete
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. #----------------------------------------------------------------------------
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root,-)
  63. %doc AUTHORS
  64. %doc ChangeLog
  65. %doc COPYING
  66. %doc LICENSE
  67. %doc NEWS
  68. %doc README
  69. %doc THANKS
  70. %doc TODO
  71. %{_libdir}/%{name}.so.*
  72. %{_libdir}/%{name}_cxx.so.*
  73. %{_libdir}/libicalss.so.*
  74. %{_libdir}/libicalss_cxx.so.*
  75. %{_libdir}/libicalvcal.so.*
  76. %files devel
  77. %defattr(-,root,root,-)
  78. %doc doc/UsingLibical.txt
  79. %{_includedir}/ical.h
  80. %{_libdir}/%{name}.so
  81. %{_libdir}/%{name}_cxx.so
  82. %{_libdir}/libicalss.so
  83. %{_libdir}/libicalss_cxx.so
  84. %{_libdir}/libicalvcal.so
  85. %{_libdir}/pkgconfig/libical.pc
  86. %dir %{_includedir}/%{name}
  87. %{_includedir}/%{name}/*.h
  88. %changelog
  89. * Fri May 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43-2
  90. - remove comment line after %%postun
  91. - add Vendor/Distribution/Packager tags
  92. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.43-1
  93. - new upstream release
  94. - add pkgconfig file to -devel subpackage.
  95. - move libicalvcal headers to /usr/include/libical (patch1,2)
  96. - add patch0 to fix implicit pointer conversion from Debian. Fixes Debian BTS
  97. bug #511598.
  98. * Mon Oct 27 2008 Seiichirou Babasaki - 0.32-2
  99. - Import libical - Packager: Babasaki
  100. - Updated specfile
  101. * Tue Sep 03 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.32-1
  102. - Version bump to 0.32.
  103. - Parallel build problems fixed.
  104. * Sun Jul 27 2008 Jeff Perry <jeffperry_fedora@sourcesink.com> - 0.31-3
  105. - Added 'BuildRequires: bison byacc flex'.
  106. * Sun Jul 27 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.31-2
  107. - Fixed linkage problems and disabled parallel build till upstream accepts fix.
  108. * Thu Jul 17 2008 Jeff Perry <jeffperry_fedora@sourcesink.com> - 0.31-1
  109. - Version bump to 0.31.
  110. * Thu Jul 17 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.30-4
  111. - Changed value of License according to Fedora licensing guidelines.
  112. - Enabled reentrant system calls and C++ bindings.
  113. - Omitted unused direct shared library dependencies.
  114. - Added ChangeLog, COPYING, LICENSE, NEWS and README to doc and dropped
  115. examples.
  116. * Wed Apr 02 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.30-3
  117. - Source URL... Fixed
  118. * Wed Apr 02 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.30-2
  119. - Removed untrue note about libical's homepage (to get rid of eventuall mess)
  120. * Sat Feb 23 2008 David Nielsen <gnomeuser@gmail.com> - 0.30-1
  121. - Switch to freeassociation libical
  122. - bump to 0.30
  123. * Sat Feb 09 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-5
  124. - Mass rebuild for new GCC... Done
  125. * Sat Jan 19 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-4
  126. - Licence... Fixed
  127. * Fri Jan 18 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-3
  128. - Files section... Fixed
  129. * Thu Jan 17 2008 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-2
  130. - Source... Changed
  131. - Debug information in libical main package... Excluded
  132. - Non-numbered .so files in libical main package... Moved
  133. - libical-devel documentation... Added
  134. * Mon Dec 24 2007 Jakub 'Livio' Rusinek <jakub.rusinek@gmail.com> - 0.27-1
  135. - Initial release