libxpresent/libxpresent.spec

77 lines
1.9 KiB
RPMSpec

Name: libxpresent
Version: 1.0.1
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: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-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.so
%{_libdir}/pkgconfig/xpresent.pc
%{_mandir}/man3/Xpresent.3*
%{_mandir}/man3/XPresent*.3*
%doc README.md
%changelog
* Thu Oct 20 2022 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Sun Jul 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- package created using the webbuild interface