]> git.pld-linux.org Git - packages/kf5-kwayland.git/blob - kf5-kwayland.spec
-updated to 5.24.0; fetch sources
[packages/kf5-kwayland.git] / kf5-kwayland.spec
1 %define         kdeframever     5.24
2 %define         qtver           5.3.2
3 %define         kfname          kwayland
4
5 Summary:        Framework for managing menu and toolbar actions
6 Name:           kf5-%{kfname}
7 Version:        5.24.0
8 Release:        1
9 License:        LGPL v2.1+
10 Group:          X11/Libraries
11 Source0:        http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
12 # Source0-md5:  81812023afe9582eb42651414bd5f82a
13 URL:            http://www.kde.org/
14 BuildRequires:  Qt5Core-devel >= %{qtver}
15 BuildRequires:  Qt5DBus-devel >= %{qtver}
16 BuildRequires:  Qt5Gui-devel >= %{qtver}
17 BuildRequires:  Qt5Network-devel >= %{qtver}
18 BuildRequires:  Qt5PrintSupport-devel >= %{qtver}
19 BuildRequires:  Qt5Test-devel >= %{qtver}
20 BuildRequires:  Qt5Widgets-devel >= %{qtver}
21 BuildRequires:  Qt5Xml-devel >= %{qtver}
22 BuildRequires:  cmake >= 2.8.12
23 BuildRequires:  gettext-devel
24 BuildRequires:  kf5-extra-cmake-modules >= 1.4.0
25 BuildRequires:  rpmbuild(macros) >= 1.164
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  wayland-devel >= 1.7.0
28 BuildRequires:  xz
29 Requires:       kf5-dirs
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         qt5dir          %{_libdir}/qt5
33
34 %description
35 kwayland
36
37 %package devel
38 Summary:        Header files for %{kfname} development
39 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kfname}
40 Group:          X11/Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42
43 %description devel
44 Header files for %{kfname} development.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe dla programistów używających %{kfname}.
48
49 %prep
50 %setup -q -n %{kfname}-%{version}
51
52 %build
53 install -d build
54 cd build
55 %cmake \
56         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
57         ../
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} -C build/ install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -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 README.md
75 /etc/xdg/org_kde_kwayland.categories
76 %attr(755,root,root) %ghost %{_libdir}/libKF5WaylandClient.so.5
77 %attr(755,root,root) %{_libdir}/libKF5WaylandClient.so.5.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libKF5WaylandServer.so.5
79 %attr(755,root,root) %{_libdir}/libKF5WaylandServer.so.5.*.*
80 %attr(755,root,root) %{_libdir}/org-kde-kf5-kwayland-testserver
81
82 %files devel
83 %defattr(644,root,root,755)
84 %{_includedir}/KF5/KWayland
85 %{_includedir}/KF5/kwayland_version.h
86 %{_libdir}/cmake/KF5Wayland
87 %{_libdir}/qt5/mkspecs/modules/qt_KWaylandClient.pri
88 %{_libdir}/qt5/mkspecs/modules/qt_KWaylandServer.pri
89 %attr(755,root,root) %{_libdir}/libKF5WaylandClient.so
90 %attr(755,root,root) %{_libdir}/libKF5WaylandServer.so
This page took 0.334893 seconds and 3 git commands to generate.