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

Loading…
Cancel
Save