1 | %define _unpackaged_files_terminate_build 1 |
---|
2 | |
---|
3 | Name: libical |
---|
4 | Summary: An Open Source implementation of the iCalendar protocols and protocol data units |
---|
5 | Version: 3.0.8 |
---|
6 | Release: 2%{?_dist_release} |
---|
7 | Group: System Environment/Libraries |
---|
8 | Vendor: Project Vine |
---|
9 | Distribution: Vine Linux |
---|
10 | Packager: babasaki, daisuke, inagaki |
---|
11 | |
---|
12 | License: LGPLv2 or MPLv1.1 |
---|
13 | URL: https://libical.github.io/libical/ |
---|
14 | Source0: https://github.com/libical/libical/releases/download/v%{version}/%{name}-%{version}.tar.gz |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: cmake |
---|
18 | BuildRequires: libxml2-devel |
---|
19 | BuildRequires: glib2-devel |
---|
20 | BuildRequires: gobject-introspection-devel |
---|
21 | BuildRequires: vala-tools |
---|
22 | Requires: tzdata |
---|
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 |
---|
36 | Summary(ja): libical の開発用ファイル |
---|
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 | #---------------------------------------------------------------------------- |
---|
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 |
---|
61 | Requires: %{name}-devel = %{version}-%{release} |
---|
62 | Requires: %{name}-glib = %{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 | #---------------------------------------------------------------------------- |
---|
69 | %prep |
---|
70 | %setup -q |
---|
71 | |
---|
72 | %build |
---|
73 | mkdir -p %{_target_platform} |
---|
74 | pushd %{_target_platform} |
---|
75 | %cmake \ |
---|
76 | -DCMAKE_BUILD_TYPE=release \ |
---|
77 | -DGOBJECT_INTROSPECTION=true \ |
---|
78 | -DICAL_GLIB=true \ |
---|
79 | -DICAL_GLIB_VAPI=true \ |
---|
80 | -DENABLE_GTK_DOC=OFF \ |
---|
81 | .. |
---|
82 | popd |
---|
83 | |
---|
84 | make %{?_smp_mflags} -C %{_target_platform} |
---|
85 | |
---|
86 | %check |
---|
87 | # make check |
---|
88 | # Fails on x86_64 and ppc64. |
---|
89 | |
---|
90 | #---------------------------------------------------------------------------- |
---|
91 | %install |
---|
92 | rm -rf $RPM_BUILD_ROOT |
---|
93 | |
---|
94 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
95 | |
---|
96 | #make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT |
---|
97 | #find $RPM_BUILD_ROOT -type f -name "*.la" -delete |
---|
98 | |
---|
99 | rm -f %{buildroot}%{_libdir}/*.a |
---|
100 | |
---|
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,-) |
---|
112 | %license COPYING LICENSE* |
---|
113 | %doc AUTHORS ReadMe.* ReleaseNotes.txt THANKS TODO |
---|
114 | %{_libdir}/%{name}.so.* |
---|
115 | %{_libdir}/%{name}_cxx.so.* |
---|
116 | %{_libdir}/libicalss.so.* |
---|
117 | %{_libdir}/libicalss_cxx.so.* |
---|
118 | %{_libdir}/libicalvcal.so.* |
---|
119 | %{_libdir}/girepository-1.0/ICal-*.typelib |
---|
120 | |
---|
121 | %files devel |
---|
122 | %defattr(-,root,root,-) |
---|
123 | %doc doc/UsingLibical.txt |
---|
124 | %dir %{_includedir}/%{name} |
---|
125 | %{_includedir}/%{name}/*.h |
---|
126 | %{_libdir}/%{name}.so |
---|
127 | %{_libdir}/libical_cxx.so |
---|
128 | %{_libdir}/libicalss.so |
---|
129 | %{_libdir}/libicalss_cxx.so |
---|
130 | %{_libdir}/libicalvcal.so |
---|
131 | %dir %{_libdir}/cmake/LibIcal |
---|
132 | %{_libdir}/cmake/LibIcal/*.cmake |
---|
133 | %{_libdir}/pkgconfig/libical.pc |
---|
134 | %{_datadir}/gir-1.0/ICal-*.gir |
---|
135 | |
---|
136 | %files glib |
---|
137 | %defattr(-,root,root,-) |
---|
138 | %{_libdir}/%{name}-glib.so.* |
---|
139 | %{_libdir}/girepository-1.0/ICalGLib-*.typelib |
---|
140 | |
---|
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 |
---|
148 | %{_datadir}/gir-1.0/ICalGLib-*.gir |
---|
149 | %dir %{_datadir}/vala |
---|
150 | %dir %{_datadir}/vala/vapi |
---|
151 | %{_datadir}/vala/vapi/* |
---|
152 | |
---|
153 | |
---|
154 | %changelog |
---|
155 | * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-2 |
---|
156 | - added vala support. |
---|
157 | |
---|
158 | * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-1 |
---|
159 | - new upstream release. |
---|
160 | |
---|
161 | * Sun Sep 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.5-1 |
---|
162 | - updated to 3.0.5. |
---|
163 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
184 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-1 |
---|
185 | - new upstream release |
---|
186 | - drop Patch0 |
---|
187 | |
---|
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 | |
---|
203 | * Wed Sep 03 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.32-1 |
---|
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 |
---|