From d01fcfad45740afe5fd2d21ddb71d388d41f1e52 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Mon, 6 Jun 2022 18:36:03 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- SOURCES/.gitkeeper | 0 SPECS/libdecor.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 SOURCES/.gitkeeper create mode 100644 SPECS/libdecor.spec diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/libdecor.spec b/SPECS/libdecor.spec new file mode 100644 index 0000000..c606ed9 --- /dev/null +++ b/SPECS/libdecor.spec @@ -0,0 +1,68 @@ +Name: libdecor +Version: 0.1.0 +Release: 3%{?dist} +Summary: Wayland client side decoration library + +License: MIT +URL: https://gitlab.gnome.org/jadahl/libdecor +Source: %{url}/uploads/81adf91d27620e20bcc5f6b9b312d768/libdecor-0.1.0.tar.xz + +BuildRequires: gcc +BuildRequires: meson +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(pangocairo) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(xkbcommon) + +%description +Libdecor provides a small helper library for providing client side decoration +to Wayland clients. + +%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}. + + +%prep +%autosetup -p1 + + +%build +%meson -Ddemo=false +%meson_build + + +%install +%meson_install + + +%files +%license LICENSE +%doc README.md +%{_libdir}/libdecor-0.so.0* +%dir %{_libdir}/libdecor/ +%dir %{_libdir}/libdecor/plugins-1 +%{_libdir}/libdecor/plugins-1/libdecor-cairo.so + +%files devel +%{_includedir}/libdecor-0/ +%{_libdir}/libdecor-0.so +%{_libdir}/pkgconfig/libdecor-0.pc + + +%changelog +* Tue Dec 07 2021 Wim Taymans - 0.1.0-3 +- Version bump for rebuild + +* Tue Dec 07 2021 Wim Taymans - 0.1.0-2 +- Version bump for resync + +* Fri Jul 23 2021 Jonas Ã…dahl - 0.1.0-1 +- Initial Fedora packaging