source: projects/specs/trunk/lib/libi/libical/libical-vl.spec @ 11441

Revision 11441, 6.6 KB checked in by tomop, 6 years ago (diff)

libical-3.0.1-1

Line 
1%define _unpackaged_files_terminate_build 1
2
3Name:           libical
4Summary:        An Open Source implementation of the iCalendar protocols and protocol data units
5Version:        3.0.1
6Release:        1%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        LGPLv2 or MPLv1.1
10URL:            https://libical.github.io/libical/
11
12Source0:        https://github.com/libical/libical/releases/download/v1.0.1/%{name}-%{version}.tar.gz
13
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16BuildRequires:  cmake
17BuildRequires:  libxml2-devel
18BuildRequires:  glib2-devel
19Requires:       tzdata
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23Packager:       babasaki, daisuke, inagaki
24
25#----------------------------------------------------------------------------
26%description
27Reference implementation of the iCalendar data type and serialization format
28used in dozens of calendaring and scheduling products.
29
30%description -l pl
31Implementacja formatu iCalendar, używana w wielu kalendarzach i
32planerach/planistach.
33
34#----------------------------------------------------------------------------
35%package devel
36Summary:        Development files for libical
37Summary(ja):    libical の開発用ファイル
38Group:          Development/Libraries
39Requires:       %{name} = %{version}-%{release}
40
41%description devel
42The libical-devel package contains libraries and header files for developing
43applications that use libical.
44
45%description devel -l pl
46libical-devel zawiera biblioteki i pliki niezbędne do tworzenia aplikacji
47korzystających z libical.
48
49#----------------------------------------------------------------------------
50%package glib
51Summary:        libical with glib
52Group:          System Environment/Libraries
53
54%description glib
55this package contains a library to use libical with glib.
56
57#----------------------------------------------------------------------------
58%package glib-devel
59Summary:        Development files for libical-glib
60Summary(ja):    libical-glib の開発用ファイル
61Group:          Development/Libraries
62Requires:       %{name} = %{version}-%{release}
63
64%description glib-devel
65The libical-glib-devel package contains libraries and header files for
66developing applications that use libical-glib.
67
68#----------------------------------------------------------------------------
69%prep
70%setup -q
71
72%build
73mkdir -p %{_target_platform}
74pushd %{_target_platform}
75%cmake \
76    -DCMAKE_BUILD_TYPE=release \
77    ..
78popd
79
80make %{?_smp_mflags} -C %{_target_platform}
81
82%check
83# make check
84# Fails on x86_64 and ppc64.
85
86#----------------------------------------------------------------------------
87%install
88rm -rf $RPM_BUILD_ROOT
89
90make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
91
92#make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
93#find $RPM_BUILD_ROOT -type f -name "*.la" -delete
94
95rm -f %{buildroot}%{_libdir}/*.a
96
97%clean
98rm -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,-)
108%doc AUTHORS COPYING LICENSE* ReadMe.* ReleaseNotes.txt THANKS TODO
109%{_libdir}/%{name}.so.*
110%{_libdir}/%{name}_cxx.so.*
111%{_libdir}/libicalss.so.*
112%{_libdir}/libicalss_cxx.so.*
113%{_libdir}/libicalvcal.so.*
114
115%files devel
116%defattr(-,root,root,-)
117%doc doc/UsingLibical.txt
118%dir %{_includedir}/%{name}
119%{_includedir}/%{name}/*.h
120%{_libdir}/%{name}.so
121%{_libdir}/libical_cxx.so
122%{_libdir}/libicalss.so
123%{_libdir}/libicalss_cxx.so
124%{_libdir}/libicalvcal.so
125%dir %{_libdir}/cmake/LibIcal
126%{_libdir}/cmake/LibIcal/*.cmake
127%{_libdir}/pkgconfig/libical.pc
128
129%files glib
130%defattr(-,root,root,-)
131%{_libdir}/%{name}-glib.so.*
132
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
140
141%changelog
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
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
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
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
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
162* Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.44-1
163- new upstream release
164- drop Patch0
165
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
181* Wed Sep 03 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.32-1
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
Note: See TracBrowser for help on using the repository browser.