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