[4664] | 1 | Name: libkipi |
---|
| 2 | Summary: Common plugin infrastructure for KDE image applications |
---|
[5298] | 3 | Summary(ja): KDE 画像アプリケーション向けの共通プラグインインフラストラクチャ |
---|
[6899] | 4 | Version: 4.9.2 |
---|
[5006] | 5 | Release: 1%{?_dist_release} |
---|
[4664] | 6 | |
---|
| 7 | License: GPLv2+ |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2 |
---|
| 10 | |
---|
[6725] | 11 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
[4664] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: kdelibs4-devel >= %{version} |
---|
| 15 | BuildRequires: soprano-devel |
---|
| 16 | |
---|
[6725] | 17 | Requires: kdelibs4 >= %{version} |
---|
[4664] | 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} |
---|
[5298] | 29 | Summary(ja): %{name} の開発用ファイル |
---|
[4664] | 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 | %cmake \ |
---|
| 45 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 46 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 47 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 48 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 49 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 50 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 51 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 52 | .. |
---|
| 53 | popd |
---|
| 54 | |
---|
| 55 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %check |
---|
| 65 | export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig |
---|
| 66 | pkg-config --modversion libkipi |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %post |
---|
| 70 | /sbin/ldconfig |
---|
| 71 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 72 | |
---|
| 73 | %posttrans |
---|
| 74 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 75 | |
---|
| 76 | %postun |
---|
| 77 | /sbin/ldconfig |
---|
| 78 | if [ $1 -eq 0 ] ; then |
---|
| 79 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 80 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 81 | fi |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | %files |
---|
| 85 | %doc AUTHORS COPYING NEWS README |
---|
[6725] | 86 | %{_libdir}/libkipi.so.* |
---|
[4664] | 87 | %{_datadir}/kde4/apps/kipi/ |
---|
| 88 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 89 | %{_datadir}/kde4/servicetypes/kipiplugin.desktop |
---|
| 90 | |
---|
| 91 | %files devel |
---|
| 92 | %{_libdir}/libkipi.so |
---|
| 93 | %{_libdir}/pkgconfig/libkipi.pc |
---|
| 94 | %{_includedir}/kde4/libkipi/ |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %changelog |
---|
[6899] | 98 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
[6797] | 101 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[6725] | 104 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[5298] | 107 | * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
[5006] | 110 | * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
[4664] | 113 | * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
| 114 | - Initial build for Vine Linux |
---|
| 115 | |
---|
| 116 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
| 117 | - 4.7.0 |
---|
| 118 | |
---|
| 119 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
| 120 | - 4.6.95 |
---|
| 121 | - fix URL |
---|
| 122 | |
---|
| 123 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3 |
---|
| 124 | - Conflicts: kdegraphics < 7:4.6.90 |
---|
| 125 | |
---|
| 126 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2 |
---|
| 127 | - License: GPLv2+ |
---|
| 128 | - fix scriptlets |
---|
| 129 | - %%doc: +NEWS, -TODO |
---|
| 130 | - fix Source0 URL |
---|
| 131 | |
---|
| 132 | * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1 |
---|
| 133 | - first try |
---|
| 134 | |
---|
| 135 | |
---|