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