70 lines
1.7 KiB
RPMSpec
70 lines
1.7 KiB
RPMSpec
|
Name: libdecor
|
||
|
Version: 0.1.1
|
||
|
Release: 1mamba
|
||
|
Summary: A client-side decorations library for Wayland client
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://gitlab.freedesktop.org/libdecor/libdecor
|
||
|
Source: https://gitlab.freedesktop.org/libdecor/libdecor.git/%{version}/libdecor-%{version}.tar.bz2
|
||
|
License: MIT
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libdbus-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libwayland-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%description
|
||
|
A client-side decorations library for Wayland client.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
A client-side decorations library for Wayland client.
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%meson
|
||
|
%meson_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%meson_install
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libdecor-0.so.*
|
||
|
%{_libdir}/libdecor/plugins-1/libdecor-cairo.so
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/libdecor-0
|
||
|
%{_includedir}/libdecor-0/libdecor.h
|
||
|
%{_libdir}/libdecor-0.so
|
||
|
%{_libdir}/pkgconfig/libdecor-0.pc
|
||
|
%doc README.md
|
||
|
|
||
|
%changelog
|
||
|
* Mon Dec 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
||
|
- package created using the webbuild interface
|