Actually add spec file.
This commit is contained in:
parent
15dc95dc34
commit
b972505a46
71
xcb-util-cursor.spec
Normal file
71
xcb-util-cursor.spec
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
Name: xcb-util-cursor
|
||||||
|
Version: 0.1.1
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Cursor library on top of libxcb
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: MIT
|
||||||
|
URL: http://xcb.freedesktop.org
|
||||||
|
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
|
||||||
|
BuildRequires: pkgconfig(xcb-util) >= 0.3.8
|
||||||
|
BuildRequires: pkgconfig(xcb-render)
|
||||||
|
BuildRequires: pkgconfig(xcb-renderutil)
|
||||||
|
BuildRequires: pkgconfig(xcb-image)
|
||||||
|
BuildRequires: m4
|
||||||
|
|
||||||
|
%description
|
||||||
|
XCB util-cursor module provides the following libraries:
|
||||||
|
|
||||||
|
- cursor: port of libxcursor
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development and header files for xcb-util-cursos
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for xcb-util-cursor.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --with-pic --disable-static --disable-silent-rules
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc NEWS
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_includedir}/xcb/*.h
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 17 2014 Thomas Moschny <thomas.moschny@gmx.de> - 0.1.1-2
|
||||||
|
- Disable silent build, as suggested in the review.
|
||||||
|
|
||||||
|
* Mon Mar 10 2014 Thomas Moschny <thomas.moschny@gmx.de> - 0.1.1-1
|
||||||
|
- New package.
|
Loading…
Reference in New Issue
Block a user