source: projects/specs/trunk/lib/libk/libkgapi/libkgapi-vl.spec @ 9222

Revision 9222, 3.0 KB checked in by Takemikaduchi, 9 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

Line 
1Name:    libkgapi
2Summary: Google APIs for KDE
3Summary(ja): KDE 向け Google API 集
4Version: 2.2.0
5Release: 1%{?_dist_release}
6
7License: GPLv2+
8Group:   System Environment/Libraries
9URL:     https://projects.kde.org/projects/extragear/libs/libkgapi
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.bz2
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: kdelibs-devel >= 4.7.0
15BuildRequires: kdepimlibs-devel >= 4.6
16BuildRequires: libkipi-devel
17BuildRequires: qjson-devel
18BuildRequires: soprano-devel
19BuildRequires: libboost-devel
20
21Requires: kdelibs >= 4.7.0
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27LibKGAPI (previously called LibKGoogle) is a C++ library that implements APIs for
28various Google services.
29
30Currently supported APIs:
31  - Calendar API v3 (https://developers.google.com/google-apps/calendar)
32  - Contacts API v3 (https://developers.google.com/google-apps/contacts/v3/)
33  - Tasks API v1 (https://developers.google.com/google-apps/tasks)
34
35
36%package devel
37Summary:  Development files for %{name}
38Summary(ja): %{name} の開発用ファイル
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41Requires: kdelibs-devel
42
43%description devel
44%{summary}.
45
46
47%prep
48%setup -q
49
50%build
51mkdir -p %{_target_platform}
52pushd %{_target_platform}
53%cmake \
54    -DCMAKE_BUILD_TYPE=release \
55    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
56    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
57    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
58    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
59    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
60    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
61    ..
62popd
63
64make %{?_smp_mflags} -C %{_target_platform}
65
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
71
72
73%post
74/sbin/ldconfig
75touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
76
77%posttrans
78gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
79
80%postun
81/sbin/ldconfig
82if [ $1 -eq 0 ] ; then
83    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
84    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
85fi
86
87
88%files
89%defattr(-,root,root,-)
90%doc LICENSE README
91%{_libdir}/libkgapi2.so.*
92
93%files devel
94%defattr(-,root,root,-)
95%{_includedir}/kde4/%{name}2
96%{_includedir}/kde4/LibKGAPI2
97%{_libdir}/libkgapi2.so
98%{_libdir}/cmake/LibKGAPI2
99
100
101%changelog
102* Wed Dec 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
103- new upstream release
104
105* Mon May 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-1
106- new upstream release
107
108* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-1
109- new upstream release
110
111* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-1
112- new upstream release
113
114* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-1
115- new upstream release
116
117* Sun Nov 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
118- new upstream release
119
120* Mon Sep 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-1
121- new upstream release
122
123* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
124- initial build
Note: See TracBrowser for help on using the repository browser.