|
|
|
|
|
|
|
%global framework libkipi
|
|
|
|
|
|
|
|
Name: kf5-libkipi
|
|
|
|
Summary: Common plugin infrastructure for KDE image applications
|
|
|
|
Version: 17.04.2
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: kf5-kconfig-devel
|
|
|
|
BuildRequires: kf5-ki18n-devel
|
|
|
|
BuildRequires: kf5-kxmlgui-devel
|
|
|
|
BuildRequires: kf5-kservice-devel
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: python
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 23
|
|
|
|
Recommends: kf5-kipi-plugins
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
Kipi (KDE Image Plugin Interface) is an effort to develop a common plugin
|
|
|
|
structure (for Digikam, Gwenview, etc.). Its aim is to share
|
|
|
|
image plugins among graphic applications.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: kf5-kconfig-devel
|
|
|
|
Requires: kf5-ki18n-devel
|
|
|
|
Requires: kf5-kxmlgui-devel
|
|
|
|
Requires: kf5-kservice-devel
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc AUTHORS README
|
|
|
|
%license COPYING
|
|
|
|
%{_kf5_libdir}/libKF5Kipi.so.*
|
|
|
|
%{_kf5_datadir}/icons/hicolor/*/*/*
|
|
|
|
%{_kf5_datadir}/kservicetypes5/kipiplugin.desktop
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_kf5_libdir}/libKF5Kipi.so
|
|
|
|
%{_kf5_includedir}/libkipi_version.h
|
|
|
|
%{_kf5_includedir}/KIPI/
|
|
|
|
%{_kf5_libdir}/cmake/KF5Kipi/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.04.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.2-1
|
|
|
|
- 17.04.2
|
|
|
|
|
|
|
|
* Thu May 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.1-1
|
|
|
|
- 17.04.1
|
|
|
|
|
|
|
|
* Wed May 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.0-1
|
|
|
|
- 17.04.0
|
|
|
|
|
|
|
|
* Thu Mar 09 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.3-1
|
|
|
|
- 16.12.3
|
|
|
|
|
|
|
|
* Thu Feb 09 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.2-1
|
|
|
|
- 16.12.2
|
|
|
|
|
|
|
|
* Wed Jan 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.1-1
|
|
|
|
- 16.12.1
|
|
|
|
|
|
|
|
* Mon Dec 05 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.3-1
|
|
|
|
- 16.08.3
|
|
|
|
|
|
|
|
* Thu Oct 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.2-1
|
|
|
|
- 16.08.2
|
|
|
|
|
|
|
|
* Wed Sep 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.1-1
|
|
|
|
- 16.08.1
|
|
|
|
|
|
|
|
* Sat Aug 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.0-1
|
|
|
|
- 16.08.0
|
|
|
|
|
|
|
|
* Sat Aug 06 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.90-1
|
|
|
|
- 16.07.90
|
|
|
|
|
|
|
|
* Sat Jul 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.80-1
|
|
|
|
- 16.07.80
|
|
|
|
|
|
|
|
* Sun Jul 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.3-1
|
|
|
|
- 16.04.3
|
|
|
|
|
|
|
|
* Tue Jun 28 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.2-2
|
|
|
|
- Recommends: kf5-kipi-plugins
|
|
|
|
|
|
|
|
* Sun Jun 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.2-1
|
|
|
|
- 16.04.2
|
|
|
|
|
|
|
|
* Sun May 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.1-1
|
|
|
|
- 16.04.1
|
|
|
|
|
|
|
|
* Fri Apr 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.0-1
|
|
|
|
- 16.04.0
|
|
|
|
|
|
|
|
* Thu Apr 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.03.80-2
|
|
|
|
- update URL
|
|
|
|
|
|
|
|
* Wed Mar 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.03.80-1
|
|
|
|
- 16.03.80
|
|
|
|
|
|
|
|
* Tue Mar 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.3-1
|
|
|
|
- 15.12.3
|
|
|
|
|
|
|
|
* Mon Feb 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.2-1
|
|
|
|
- 15.12.2
|
|
|
|
|
|
|
|
* Mon Feb 08 2016 Rex Dieter <rdieter@fedoraproject.org> 15.12.1-1
|
|
|
|
- 15.12.1
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.12.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 01 2016 Rex Dieter <rdieter@fedoraproject.org> 15.12.0-2
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Wed Dec 30 2015 Rex Dieter <rdieter@fedoraproject.org> 15.12.0-1
|
|
|
|
- 15.12.0, first try
|
|
|
|
|