[packages/ka5-libkipi] - 17.08.2
witekfl
witekfl at pld-linux.org
Fri Oct 13 17:08:58 CEST 2017
commit b1b9446270084708ed4c434886c99daab783e461
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Oct 13 17:08:37 2017 +0200
- 17.08.2
ka5-libkipi.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+)
---
diff --git a/ka5-libkipi.spec b/ka5-libkipi.spec
new file mode 100644
index 0000000..7d6c917
--- /dev/null
+++ b/ka5-libkipi.spec
@@ -0,0 +1,82 @@
+%define kdeappsver 17.08.2
+%define qtver 5.3.2
+%define kaname libkipi
+
+Summary: Kipi library
+Summary(pl.UTF-8): Biblioteka kipi
+Name: ka5-%{kaname}
+Version: 17.08.2
+Release: 1
+License: GPL v2+
+Group: X11/Libraries
+Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 939e484353f7074f4f370998edce4894
+URL: http://www.kde.org/
+BuildRequires: rpmbuild(macros) >= 1.164
+Obsoletes: libkipi <= 4.8.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+kipi library.
+
+%description -l pl.UTF-8
+Biblioteka kipi.
+
+%package devel
+Summary: Header files for libkipi development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających libkipi
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Obsoletes: kde4-kdegraphics-devel < 4.6.99
+Obsoletes: libkipi-devel <= 4.8.0
+
+%description devel
+Header files for libkipi development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających libkipi.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%{_libdir}/libKF5Kipi.so.32.0.0
+%{_libdir}/libKF5Kipi.so.5.2.0
+%{_libdir}/qt5/plugins/kipiplugin_kxmlhelloworld.so
+%{_iconsdir}/hicolor/128x128/apps/kipi.png
+%{_iconsdir}/hicolor/16x16/apps/kipi.png
+%{_iconsdir}/hicolor/22x22/apps/kipi.png
+%{_iconsdir}/hicolor/32x32/apps/kipi.png
+%{_iconsdir}/hicolor/48x48/apps/kipi.png
+%{_datadir}/kservices5/kipiplugin_kxmlhelloworld.desktop
+%{_datadir}/kservicetypes5/kipiplugin.desktop
+%dir %{_datadir}/kxmlgui5/kipi
+%{_datadir}/kxmlgui5/kipi/kipiplugin_kxmlhelloworldui.rc
+
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF5/KIPI
+%{_includedir}/KF5/libkipi_version.h
+%{_libdir}/cmake/KF5Kipi
+%{_libdir}/libKF5Kipi.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-libkipi.git/commitdiff/b1b9446270084708ed4c434886c99daab783e461
More information about the pld-cvs-commit
mailing list