.spec cosmetics, update URL

epel9
Rex Dieter 9 years ago
parent d5dfe02ffe
commit 5ca3475b95

@ -1,14 +1,14 @@
%global framework kwayland
%global framework kwayland
%global wayland_min_version 1.3
%global wayland_min_version 1.3
Name: kf5-%{framework}
Version: 5.4.1
Release: 1%{?dist}
Summary: KDE Frameworks 5 library that wraps Client and Server Wayland libraries
Name: kf5-%{framework}
Version: 5.4.1
Release: 2%{?dist}
Summary: KDE Frameworks 5 library that wraps Client and Server Wayland libraries
License: GPLv2+
URL: http://www.kde.org
License: GPLv2+
URL: https://projects.kde.org/projects/kde/workspace/kwayland
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
@ -18,15 +18,15 @@ URL: http://www.kde.org
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{version}/kwayland-%{version}.tar.xz
BuildRequires: qt5-qtbase-devel
BuildRequires: kf5-rpm-macros
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: libwayland-client-devel >= %{wayland_min_version}
BuildRequires: libwayland-cursor-devel >= %{wayland_min_version}
BuildRequires: libwayland-server-devel >= %{wayland_min_version}
BuildRequires: mesa-libwayland-egl-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: wayland-devel >= %{wayland_min_version}
Requires: kf5-filesystem
@ -37,7 +37,6 @@ Requires: kf5-filesystem
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
@ -46,20 +45,21 @@ developing applications that use %{name}.
%prep
%setup -q -n %{framework}-%{version}
%build
mkdir -p %{_target_platform}
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%post -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
@ -69,9 +69,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_libdir}/libKF5WaylandServer.so.*
%files devel
%{_kf5_includedir}/KWayland
%{_kf5_includedir}/KWayland/
%{_kf5_includedir}/kwayland_version.h
%{_kf5_libdir}/cmake/KF5Wayland
%{_kf5_libdir}/cmake/KF5Wayland/
%{_kf5_libdir}/libKF5WaylandClient.so
%{_kf5_libdir}/libKF5WaylandServer.so
%{_kf5_archdatadir}/mkspecs/modules/qt_KWaylandClient.pri
@ -79,6 +79,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-2
- .spec cosmetics, update URL
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
- 5.4.1

Loading…
Cancel
Save