[packages/kp5-kwayland-server] - Initial version of the package.

lmasko lmasko at pld-linux.org
Fri Aug 21 22:06:02 CEST 2020


commit c660c2066d08f4c0af659df38a29ebda2bff9313
Author: Łukasz Maśko <lmasko at pld-linux.org>
Date:   Fri Aug 21 22:05:29 2020 +0200

    - Initial version of the package.

 kp5-kwayland-server.spec | 80 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)
---
diff --git a/kp5-kwayland-server.spec b/kp5-kwayland-server.spec
new file mode 100644
index 0000000..479b8c2
--- /dev/null
+++ b/kp5-kwayland-server.spec
@@ -0,0 +1,80 @@
+# TODO:
+# wayland-scanner from wayland project
+#
+%define		kdeplasmaver	5.19.4
+%define		qtver		5.9.0
+%define		kpname		kwayland-server
+
+Summary:	Qt-style Client and Server library wrapper for the Wayland libraries
+Name:		kp5-%{kpname}
+Version:	5.19.4
+Release:	1
+License:	LGPL v2.1+
+Group:		X11/Libraries
+Source0:	http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5:	4be1ba7337efe304d0b41a899edc5dc5
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	wayland-devel
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		qt5dir		%{_libdir}/qt5
+
+%description
+Qt-style Client and Server library wrapper for the Wayland libraries.
+
+%package devel
+Summary:	Header files for %{kpname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kpname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kpname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kpname}.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build/ install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%{_datadir}/qlogging-categories5/kwaylandserver.categories
+%attr(755,root,root) %ghost %{_libdir}/libKWaylandServer.so.5
+%attr(755,root,root) %{_libdir}/libKWaylandServer.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/kwaylandserver_version.h
+%dir %{_includedir}/KWaylandServer
+%{_includedir}/KWaylandServer/*.h
+%dir %{_libdir}/cmake/KWaylandServer
+%{_libdir}/cmake/KWaylandServer/KWaylandServerConfig.cmake
+%{_libdir}/cmake/KWaylandServer/KWaylandServerConfigVersion.cmake
+%{_libdir}/cmake/KWaylandServer/KWaylandServerTargets-pld.cmake
+%{_libdir}/cmake/KWaylandServer/KWaylandServerTargets.cmake
+%attr(755,root,root) %{_libdir}/libKWaylandServer.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-kwayland-server.git/commitdiff/c660c2066d08f4c0af659df38a29ebda2bff9313



More information about the pld-cvs-commit mailing list