[4664] | 1 | Name: libkipi |
---|
| 2 | Summary: Common plugin infrastructure for KDE image applications |
---|
[5006] | 3 | Version: 4.7.2 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[4664] | 5 | |
---|
| 6 | License: GPLv2+ |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2 |
---|
| 9 | |
---|
| 10 | Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: kdelibs4-devel >= %{version} |
---|
| 14 | BuildRequires: soprano-devel |
---|
| 15 | |
---|
| 16 | Requires: kdelibs4 >= 4.7.0 |
---|
| 17 | |
---|
| 18 | # when split occurred |
---|
| 19 | Conflicts: kdegraphics-libs < 4.6.95-10 |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | Kipi (KDE Image Plugin Interface) is an effort to develop a common plugin |
---|
| 23 | structure (for Digikam, Gwenview, etc.). Its aim is to share |
---|
| 24 | image plugins among graphic applications. |
---|
| 25 | |
---|
| 26 | %package devel |
---|
| 27 | Summary: Development files for %{name} |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | Requires: kdelibs4-devel |
---|
| 31 | |
---|
| 32 | %description devel |
---|
| 33 | %{summary}. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | mkdir -p %{_target_platform} |
---|
| 42 | pushd %{_target_platform} |
---|
| 43 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
| 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 |
---|
| 86 | %{_libdir}/libkipi.so.8* |
---|
| 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 |
---|
[5006] | 98 | * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
[4664] | 101 | * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
| 102 | - Initial build for Vine Linux |
---|
| 103 | |
---|
| 104 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
| 105 | - 4.7.0 |
---|
| 106 | |
---|
| 107 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
| 108 | - 4.6.95 |
---|
| 109 | - fix URL |
---|
| 110 | |
---|
| 111 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3 |
---|
| 112 | - Conflicts: kdegraphics < 7:4.6.90 |
---|
| 113 | |
---|
| 114 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2 |
---|
| 115 | - License: GPLv2+ |
---|
| 116 | - fix scriptlets |
---|
| 117 | - %%doc: +NEWS, -TODO |
---|
| 118 | - fix Source0 URL |
---|
| 119 | |
---|
| 120 | * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1 |
---|
| 121 | - first try |
---|
| 122 | |
---|
| 123 | |
---|