1 | Name: libkipi |
---|
2 | Summary: Common plugin infrastructure for KDE image applications |
---|
3 | Summary(ja): KDE 画像アプリケーション向けの共通プラグインインフラストラクチャ |
---|
4 | Version: 4.7.4 |
---|
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/unstable/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: kdelibs4-devel >= %{version} |
---|
15 | BuildRequires: soprano-devel |
---|
16 | |
---|
17 | Requires: kdelibs4 >= 4.7.0 |
---|
18 | |
---|
19 | # when split occurred |
---|
20 | Conflicts: kdegraphics-libs < 4.6.95-10 |
---|
21 | |
---|
22 | %description |
---|
23 | Kipi (KDE Image Plugin Interface) is an effort to develop a common plugin |
---|
24 | structure (for Digikam, Gwenview, etc.). Its aim is to share |
---|
25 | image plugins among graphic applications. |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Development files for %{name} |
---|
29 | Summary(ja): %{name} の開発用ファイル |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | Requires: kdelibs4-devel |
---|
33 | |
---|
34 | %description devel |
---|
35 | %{summary}. |
---|
36 | |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | %build |
---|
42 | mkdir -p %{_target_platform} |
---|
43 | pushd %{_target_platform} |
---|
44 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
45 | %cmake \ |
---|
46 | -DCMAKE_BUILD_TYPE=release \ |
---|
47 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
48 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
49 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
50 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
51 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
52 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
53 | .. |
---|
54 | popd |
---|
55 | |
---|
56 | make %{?_smp_mflags} -C %{_target_platform} |
---|
57 | |
---|
58 | |
---|
59 | %install |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
63 | |
---|
64 | |
---|
65 | %check |
---|
66 | export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig |
---|
67 | pkg-config --modversion libkipi |
---|
68 | |
---|
69 | |
---|
70 | %post |
---|
71 | /sbin/ldconfig |
---|
72 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
73 | |
---|
74 | %posttrans |
---|
75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
76 | |
---|
77 | %postun |
---|
78 | /sbin/ldconfig |
---|
79 | if [ $1 -eq 0 ] ; then |
---|
80 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
81 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
82 | fi |
---|
83 | |
---|
84 | |
---|
85 | %files |
---|
86 | %doc AUTHORS COPYING NEWS README |
---|
87 | %{_libdir}/libkipi.so.8* |
---|
88 | %{_datadir}/kde4/apps/kipi/ |
---|
89 | %{_datadir}/icons/hicolor/*/*/* |
---|
90 | %{_datadir}/kde4/servicetypes/kipiplugin.desktop |
---|
91 | |
---|
92 | %files devel |
---|
93 | %{_libdir}/libkipi.so |
---|
94 | %{_libdir}/pkgconfig/libkipi.pc |
---|
95 | %{_includedir}/kde4/libkipi/ |
---|
96 | |
---|
97 | |
---|
98 | %changelog |
---|
99 | * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1 |
---|
100 | - new upstream release |
---|
101 | |
---|
102 | * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
106 | - Initial build for Vine Linux |
---|
107 | |
---|
108 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
109 | - 4.7.0 |
---|
110 | |
---|
111 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
112 | - 4.6.95 |
---|
113 | - fix URL |
---|
114 | |
---|
115 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3 |
---|
116 | - Conflicts: kdegraphics < 7:4.6.90 |
---|
117 | |
---|
118 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2 |
---|
119 | - License: GPLv2+ |
---|
120 | - fix scriptlets |
---|
121 | - %%doc: +NEWS, -TODO |
---|
122 | - fix Source0 URL |
---|
123 | |
---|
124 | * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1 |
---|
125 | - first try |
---|
126 | |
---|
127 | |
---|