1 |
# |
2 |
# Please do not update/rebuild/touch this package before asking first to mikala and/or neoclust |
3 |
# This package is part of the KF/KDE Stack. |
4 |
# |
5 |
|
6 |
%define rel 1 |
7 |
|
8 |
Summary: KDE Frameworks 5 Tier 1 addon with string manipulation methods |
9 |
Name: kcodecs |
10 |
Version: 4.95.0 |
11 |
Release: %mkrel %rel |
12 |
License: GPLv2+ |
13 |
Group: System/Base |
14 |
Source0: http://fr2.rpmfind.net/linux/KDE/unstable/framework/%{name}-%{version}.tar.xz |
15 |
URL: https://www.kde.org/ |
16 |
BuildRequires: pkgconfig(QtCore) |
17 |
BuildRequires: pkgconfig(QtTest) |
18 |
BuildRequires: kf5-macros |
19 |
|
20 |
%description |
21 |
KDE Frameworks 5 Tier 1 addon with string manipulation methods |
22 |
|
23 |
#-------------------------------------------------------------------- |
24 |
|
25 |
%define kcodecs_major 5 |
26 |
%define libkcodecs %mklibname kcodecs %{kcodecs_major} |
27 |
|
28 |
%package -n %libkcodecs |
29 |
Summary: KDE Frameworks 5 Tier 1 addon with string manipulation methods |
30 |
Group: System/Libraries |
31 |
|
32 |
|
33 |
%description -n %libkcodecs |
34 |
KDE Frameworks 5 Tier 1 addon with string manipulation methods |
35 |
|
36 |
%files -n %libkcodecs |
37 |
%_kf5_libdir/libKF5Codecs.so.%{kcodecs_major}* |
38 |
|
39 |
#-------------------------------------------------------------------- |
40 |
|
41 |
%define kcodecs_devel %mklibname kcodecs -d |
42 |
|
43 |
%package -n %kcodecs_devel |
44 |
|
45 |
Summary: Devel stuff for %name |
46 |
Group: Development/KDE and Qt |
47 |
Requires: %libkcodecs = %version-%release |
48 |
Provides: %name-devel = %{version}-%{release} |
49 |
|
50 |
%description -n %kcodecs_devel |
51 |
This package contains header files needed if you wish to build applications |
52 |
based on %name. |
53 |
|
54 |
%files -n %kcodecs_devel |
55 |
%_kf5_includedir/KCodecs |
56 |
%_kf5_includedir/kcodecs_version.h |
57 |
%_kf5_libdir/cmake/KF5Codecs |
58 |
%_kf5_libdir/libKF5Codecs.so |
59 |
|
60 |
#-------------------------------------------------------------------- |
61 |
|
62 |
%prep |
63 |
%setup -q -n %name-%version |
64 |
|
65 |
%build |
66 |
%cmake_kf5 |
67 |
%make |
68 |
|
69 |
%install |
70 |
%makeinstall_std -C build |
71 |
|