1 | Name: libkipi |
---|
2 | Summary: Common plugin infrastructure for KDE image applications |
---|
3 | Summary(ja): KDE 画像アプリケーション向けの共通プラグインインフラストラクチャ |
---|
4 | Version: 4.12.5 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2+ |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2 |
---|
10 | |
---|
11 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: kdelibs-devel >= %{version} |
---|
15 | BuildRequires: soprano-devel |
---|
16 | |
---|
17 | Requires: kdelibs >= %{version} |
---|
18 | |
---|
19 | # when split occurred |
---|
20 | Conflicts: kdegraphics-libs < 4.6.95-10 |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | |
---|
25 | %description |
---|
26 | Kipi (KDE Image Plugin Interface) is an effort to develop a common plugin |
---|
27 | structure (for Digikam, Gwenview, etc.). Its aim is to share |
---|
28 | image plugins among graphic applications. |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Development files for %{name} |
---|
32 | Summary(ja): %{name} の開発用ファイル |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | Requires: kdelibs-devel |
---|
36 | |
---|
37 | %description devel |
---|
38 | %{summary}. |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | |
---|
44 | %build |
---|
45 | mkdir -p %{_target_platform} |
---|
46 | pushd %{_target_platform} |
---|
47 | %cmake \ |
---|
48 | -DCMAKE_BUILD_TYPE=release \ |
---|
49 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
50 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
51 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
52 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
53 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
54 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
55 | .. |
---|
56 | popd |
---|
57 | |
---|
58 | make %{?_smp_mflags} -C %{_target_platform} |
---|
59 | |
---|
60 | |
---|
61 | %install |
---|
62 | rm -rf $RPM_BUILD_ROOT |
---|
63 | |
---|
64 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
65 | |
---|
66 | |
---|
67 | %check |
---|
68 | export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig |
---|
69 | pkg-config --modversion libkipi |
---|
70 | |
---|
71 | |
---|
72 | %post |
---|
73 | /sbin/ldconfig |
---|
74 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
75 | |
---|
76 | %posttrans |
---|
77 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
78 | |
---|
79 | %postun |
---|
80 | /sbin/ldconfig |
---|
81 | if [ $1 -eq 0 ] ; then |
---|
82 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
83 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
84 | fi |
---|
85 | |
---|
86 | |
---|
87 | %files |
---|
88 | %doc AUTHORS COPYING NEWS README |
---|
89 | %{_bindir}/kxmlkipicmd |
---|
90 | %{_libdir}/libkipi.so.* |
---|
91 | %{_libdir}/kde4/kipiplugin_kxmlhelloworld.so |
---|
92 | %{_datadir}/kde4/apps/kipi/ |
---|
93 | %{_datadir}/kde4/apps/kxmlkipicmd/ |
---|
94 | %{_datadir}/icons/hicolor/*/*/* |
---|
95 | %{_datadir}/kde4/servicetypes/kipiplugin.desktop |
---|
96 | %{_datadir}/kde4/services/kipiplugin_kxmlhelloworld.desktop |
---|
97 | |
---|
98 | %files devel |
---|
99 | %{_libdir}/libkipi.so |
---|
100 | %{_libdir}/pkgconfig/libkipi.pc |
---|
101 | %{_includedir}/kde4/libkipi/ |
---|
102 | |
---|
103 | |
---|
104 | %changelog |
---|
105 | * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
112 | - new upstream release |
---|
113 | |
---|
114 | * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
127 | - new upstream release |
---|
128 | |
---|
129 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
142 | - Initial build for Vine Linux |
---|
143 | |
---|
144 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
145 | - 4.7.0 |
---|
146 | |
---|
147 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
148 | - 4.6.95 |
---|
149 | - fix URL |
---|
150 | |
---|
151 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3 |
---|
152 | - Conflicts: kdegraphics < 7:4.6.90 |
---|
153 | |
---|
154 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2 |
---|
155 | - License: GPLv2+ |
---|
156 | - fix scriptlets |
---|
157 | - %%doc: +NEWS, -TODO |
---|
158 | - fix Source0 URL |
---|
159 | |
---|
160 | * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1 |
---|
161 | - first try |
---|
162 | |
---|
163 | |
---|