Accepting request 538125 from home:pluskalm:branches:X11:XOrg

- Clean up with spec-cleaner
- Make building more verbose

OBS-URL: https://build.opensuse.org/request/show/538125
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xcb-util-cursor?expand=0&rev=12
This commit is contained in:
Stefan Dirsch 2017-11-02 10:30:26 +00:00 committed by Git OBS Bridge
parent 9db90dd384
commit 46ea1a7320
2 changed files with 26 additions and 24 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 1 15:15:19 UTC 2017 - mpluskal@suse.com
- Clean up with spec-cleaner
- Make building more verbose
-------------------------------------------------------------------
Fri May 13 15:00:40 UTC 2016 - tobias.johannes.klausmann@mni.thm.de

View File

@ -1,7 +1,7 @@
#
# spec file for package xcb-util-cursor
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,20 +16,18 @@
#
Name: xcb-util-cursor
%define lname libxcb-cursor0
Name: xcb-util-cursor
Version: 0.1.3
Release: 0
Summary: XCB cursor library (libxcursor port)
License: MIT
Group: Development/Libraries/C and C++
Url: http://xcb.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xcb/util-cursor
#Git-Web: http://cgit.freedesktop.org/xcb/util-cursor/
Source: http://xcb.freedesktop.org/dist/%name-%version.tar.bz2
Source: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gperf
@ -51,11 +49,11 @@ Included in this package is:
- cursor: port of libxcursor
%package -n %lname
%package -n %{lname}
Summary: XCB cursor library (libxcursor port)
Group: System/Libraries
%description -n %lname
%description -n %{lname}
The XCB util modules provide a number of libraries which sit on top
of libxcb, the core X protocol library, and some of the extension
libraries.
@ -67,7 +65,7 @@ Included in this package is:
%package devel
Summary: Development files for the XCB cursor library (libxcursor port)
Group: Development/Libraries/C and C++
Requires: %lname = %version
Requires: %{lname} = %{version}
%description devel
The XCB util modules provide a number of libraries which sit on top
@ -75,32 +73,30 @@ of libxcb, the core X protocol library, and some of the extension
libraries.
This package contains the development headers for the library found
in %lname.
in %{lname}.
%prep
%setup -q
%build
./autogen.sh
%configure --disable-static
make %{?_smp_mflags}
autoreconf -fiv
%configure \
--disable-static
make %{?_smp_mflags} V=1
%install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %lname -p /sbin/ldconfig
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libxcb-cursor.so.0*
%files -n %{lname}
%{_libdir}/libxcb-cursor.so.0*
%files devel
%defattr(-,root,root)
%_includedir/xcb
%_libdir/libxcb-cursor.so
%_libdir/pkgconfig/xcb-cursor.pc
%{_includedir}/xcb
%{_libdir}/libxcb-cursor.so
%{_libdir}/pkgconfig/xcb-cursor.pc
%changelog