]> git.pld-linux.org Git - packages/kf5-karchive.git/blame - kf5-karchive.spec
- up to 5.13.0
[packages/kf5-karchive.git] / kf5-karchive.spec
CommitLineData
d4bafc21 1# TODO:
d4bafc21 2# - runtime Requires if any
0e4d6057 3%define kdeframever 5.13
ae9f2b52
AM
4%define qtver 5.3.2
5%define kfname karchive
d4bafc21
WF
6
7Summary: Reading, creating, and manipulating file archives
ae9f2b52 8Name: kf5-%{kfname}
0e4d6057 9Version: 5.13.0
a5bd3a84 10Release: 1
d4bafc21
WF
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
ae9f2b52 13Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
0e4d6057 14# Source0-md5: dd01dc1252cb3d862959970ef7d7f5eb
d4bafc21 15URL: http://www.kde.org/
ae9f2b52
AM
16BuildRequires: Qt5Core-devel >= %{qtver}
17BuildRequires: Qt5Test-devel >= %{qtver}
d4bafc21
WF
18BuildRequires: bzip2-devel
19BuildRequires: cmake >= 2.8.12
ae9f2b52 20BuildRequires: kf5-extra-cmake-modules >= 1.4.0
d4bafc21 21BuildRequires: rpmbuild(macros) >= 1.164
3e033ea0
ER
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
d4bafc21
WF
24BuildRequires: xz-devel
25BuildRequires: zlib-devel
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
6140a1b7
WF
28%define qt5dir %{_libdir}/qt5
29
d4bafc21
WF
30%description
31KArchive provides classes for easy reading, creation and manipulation
32of "archive" formats like ZIP and TAR.
33
34If also provides transparent compression and decompression of data,
35like the GZip format, via a subclass of QIODevice.
36
37%package devel
ae9f2b52
AM
38Summary: Header files for %{kfname} development
39Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
d4bafc21
WF
40Group: X11/Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description devel
ae9f2b52 44Header files for %{kfname} development.
d4bafc21
WF
45
46%description devel -l pl.UTF-8
ae9f2b52 47Pliki nagłówkowe dla programistów używających %{kfname}.
d4bafc21
WF
48
49%prep
ae9f2b52 50%setup -q -n %{kfname}-%{version}
d4bafc21
WF
51
52%build
53install -d build
54cd build
55%cmake \
ae9f2b52 56 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
6140a1b7 57 ..
d4bafc21
WF
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} -C build/ install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
72%files
73%defattr(644,root,root,755)
74%doc AUTHORS README.md
75%attr(755,root,root) %ghost %{_libdir}/libKF5Archive.so.5
6c551849 76%attr(755,root,root) %{_libdir}/libKF5Archive.so.*.*
d4bafc21
WF
77
78%files devel
79%defattr(644,root,root,755)
80%{_includedir}/KF5/KArchive
81%{_includedir}/KF5/karchive_version.h
82%attr(755,root,root) %{_libdir}/libKF5Archive.so
83%{_libdir}/cmake/KF5Archive
6140a1b7 84%{qt5dir}/mkspecs/modules/qt_KArchive.pri
This page took 0.684953 seconds and 4 git commands to generate.