[packages/kde5-karchive] - new

witekfl witekfl at pld-linux.org
Wed Jul 9 11:44:26 CEST 2014


commit d4bafc2164aaf9a9e3c49715897d9ff992da7d10
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Jul 9 11:44:04 2014 +0200

    - new

 kde5-karchive.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
---
diff --git a/kde5-karchive.spec b/kde5-karchive.spec
new file mode 100644
index 0000000..9f6a54d
--- /dev/null
+++ b/kde5-karchive.spec
@@ -0,0 +1,82 @@
+# TODO:
+# - proper place for *.pri,
+# - set ECM_MKSPECS_INSTALL_DIR in kde5-extra-cmake-modules
+# - runtime Requires if any
+# - dir /usr/include/KF5 not packaged
+%define         _state          stable
+%define		orgname		karchive
+
+Summary:	Reading, creating, and manipulating file archives
+Name:		kde5-%{orgname}
+Version:	5.0.0
+Release:	0.1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/%{version}/%{orgname}-%{version}.tar.xz
+# Source0-md5:	58e76e44a262cc184af4424d8dc1230b
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Core-devel >= 5.2.0
+BuildRequires:	Qt5Test-devel
+BuildRequires:	bzip2-devel
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	kde5-extra-cmake-modules >= 1.0.0
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	xz-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KArchive provides classes for easy reading, creation and manipulation
+of "archive" formats like ZIP and TAR.
+
+If also provides transparent compression and decompression of data,
+like the GZip format, via a subclass of QIODevice.
+
+%package devel
+Summary:	Header files for %{orgname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{orgname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{orgname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{orgname}.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	-DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
+	../
+%{__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)
+%doc AUTHORS README.md
+%attr(755,root,root) %ghost %{_libdir}/libKF5Archive.so.5
+%attr(755,root,root) %{_libdir}/libKF5Archive.so.5.0.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF5/KArchive
+%{_includedir}/KF5/karchive_version.h
+%attr(755,root,root) %{_libdir}/libKF5Archive.so
+%{_libdir}/cmake/KF5Archive
+%{_libdir}/qt5/mkspecs/modules/qt_KArchive.pri
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde5-karchive.git/commitdiff/d4bafc2164aaf9a9e3c49715897d9ff992da7d10



More information about the pld-cvs-commit mailing list