72 lines
1.8 KiB
RPMSpec
72 lines
1.8 KiB
RPMSpec
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
|