package created using the webbuild interface [release 1.0.0-1mamba;Sun Jul 25 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 06:14:19 +01:00
parent fe0cc4df0b
commit 4177f65c24
2 changed files with 73 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libxpresent # libxpresent
X Present Extension library.

71
libxpresent.spec Normal file
View File

@ -0,0 +1,71 @@
Name: libxpresent
Version: 1.0.0
Release: 1mamba
Summary: X Present Extension library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.freedesktop.org/xorg/lib/libxpresent
Source: https://gitlab.freedesktop.org/xorg/lib/libxpresent/-/archive/libXpresent-%{version}/libxpresent-libXpresent-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libbsd-devel
BuildRequires: libxcb-devel
BuildRequires: xorgproto-devel
## AUTOBUILDREQ-END
%description
X Present Extension library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n %{name}-libXpresent-%{version}
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libXpresent.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/X11/extensions/Xpresent.h
%{_libdir}/libXpresent.a
%{_libdir}/libXpresent.la
%{_libdir}/libXpresent.so
%{_libdir}/pkgconfig/xpresent.pc
%{_mandir}/man3/Xpresent.3*
%doc README
%changelog
* Sun Jul 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- package created using the webbuild interface