xcb-util-cursor/xcb-util-cursor.spec

80 lines
2.0 KiB
RPMSpec

Name: xcb-util-cursor
Version: 0.1.2
Release: 1mamba
Summary: xcb cursor utility library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://x.org
Source: http://xcb.freedesktop.org/dist/xcb-util-cursor-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libbsd-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-image-devel
BuildRequires: libxcb-render-util-devel
BuildRequires: libxcb-util-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
xcb cursor utility library.
%package -n lib%{name}
Group: System/Libraries
Summary: xcb cursor utility library
%description -n lib%{name}
xcb cursor utility library.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libxcb-cursor.so.*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/xcb/xcb_cursor.h
%{_libdir}/libxcb-cursor.a
%{_libdir}/libxcb-cursor.la
%{_libdir}/libxcb-cursor.so
%{_libdir}/pkgconfig/xcb-cursor.pc
%doc ChangeLog NEWS README
%changelog
* Sat Jan 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-1mamba
- package created using the webbuild interface