Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > dfa78e3b3f7a63dfdbc90bb9ef05a992 > files > 2

xcb-util-0.3.9-5.mga3.src.rpm

%define major		1
%define libname		%mklibname xcb-util %major
%define develname	%mklibname xcb-util -d
%define staticdevelname	%mklibname xcb-util -s -d

Name: xcb-util
Summary: A number of libraries which sit on top of libxcb
Version: 0.3.9
Release: %mkrel 5
Group: System/X11
License: MIT
URL: http://xcb.freedesktop.org
Source: http://xcb.freedesktop.org/dist/%name-%{version}.tar.bz2

BuildRequires: x11-proto-devel
BuildRequires: x11-util-macros >= 1.1.5
BuildRequires: xcb-devel
BuildRequires: gperf

%description
The xcb-util module provides a number of libraries which sit on top of
libxcb, the core X protocol library, and some of the extension
libraries. These experimental libraries provide convenience functions
and interfaces which make the raw X protocol more usable. Some of the
libraries also provide client-side code which is not strictly part of
the X protocol but which have traditionally been provided by Xlib.

#--------------------------------------------------------------------

%package -n %develname
Summary: A number of libraries which sit on top of libxcb
Group: Development/C
Provides:  libxcb-util-devel = %version-%release
Provides:  xcb-util-devel = %version-%release
Requires:  %libname = %version-%release

%description -n %develname
The xcb-util module provides a number of libraries which sit on top of
libxcb, the core X protocol library, and some of the extension
libraries. These experimental libraries provide convenience functions
and interfaces which make the raw X protocol more usable. Some of the
libraries also provide client-side code which is not strictly part of
the X protocol but which have traditionally been provided by Xlib.

%files -n %develname
%defattr(-,root,root)
%{_includedir}/xcb/xcb_atom.h
%{_includedir}/xcb/xcb_aux.h
%{_includedir}/xcb/xcb_event.h
%{_includedir}/xcb/xcb_util.h
%{_libdir}/libxcb-util.so
%{_libdir}/pkgconfig/xcb-atom.pc
%{_libdir}/pkgconfig/xcb-aux.pc
%{_libdir}/pkgconfig/xcb-event.pc
%{_libdir}/pkgconfig/xcb-util.pc

#--------------------------------------------------------------------

%package -n %staticdevelname
Summary: A number of libraries which sit on top of libxcb
Group: Development/C
Provides:  libxcb-util-static-devel = %version-%release
Requires:  %develname = %version-%release

%description -n %staticdevelname
The xcb-util module provides a number of libraries which sit on top of
libxcb, the core X protocol library, and some of the extension
libraries. These experimental libraries provide convenience functions
and interfaces which make the raw X protocol more usable. Some of the
libraries also provide client-side code which is not strictly part of
the X protocol but which have traditionally been provided by Xlib.

%files -n %staticdevelname
%defattr(-,root,root)
%{_libdir}/libxcb-util.a

#--------------------------------------------------------------------

%package -n %libname
Summary: xcb-util library package
Group: System/X11
Conflicts: %{_lib}xcb-xvmc0 < 1.8.1-2
Conflicts: %{_lib}xcb-xtest0 < 1.8.1-2
Conflicts: %{_lib}xcb-xprint0 < 1.8.1-2
Conflicts: %{_lib}xcb-xfixes0 < 1.8.1-2
Conflicts: %{_lib}xcb-shm0 < 1.8.1-2
Conflicts: %{_lib}xcb-xevie0 < 1.8.1-2
Conflicts: %{_lib}xcb-shape0 < 1.8.1-2
Conflicts: %{_lib}xcb-composite0 < 1.8.1-2
Conflicts: %{_lib}xcb-xv0 < 1.8.1-2
Conflicts: %{_lib}xcb-xf86dri0 < 1.8.1-2
Conflicts: %{_lib}xcb-damage0 < 1.8.1-2
Conflicts: %{_lib}xcb-record0 < 1.8.1-2
Conflicts: %{_lib}xcb-static-devel < 1.8.1-2
Conflicts: %{_lib}xcb-res0 < 1.8.1-2
Conflicts: %{_lib}xcb-screensaver0 < 1.8.1-2
Conflicts: %{_lib}xcb-glx0 < 1.8.1-2
Conflicts: %{_lib}xcb-dri2_0 < 1.8.1-2
Conflicts: %{_lib}xcb-xinerama0 < 1.8.1-2
Conflicts: %{_lib}xcb1 < 1.8.1-2
Conflicts: %{_lib}xcb-sync0 < 1.8.1-2
Conflicts: %{_lib}xcb-render0 < 1.8.1-2
Conflicts: %{_lib}xcb-dpms0 < 1.8.1-2
Conflicts: %{_lib}xcb-randr0 < 1.8.1-2

%description -n %libname
The xcb-util module provides a number of libraries which sit on top of
libxcb, the core X protocol library, and some of the extension
libraries. These experimental libraries provide convenience functions
and interfaces which make the raw X protocol more usable. Some of the
libraries also provide client-side code which is not strictly part of
the X protocol but which have traditionally been provided by Xlib.

%files -n %libname
%defattr(-,root,root)
%{_libdir}/libxcb-util.so.%{major}*

#--------------------------------------------------------------------

%prep
%setup -q

%build
%configure2_5x

%make

%install
rm -rf %{buildroot}
%makeinstall_std

rm -f %{buildroot}%{_libdir}/*.la


%changelog

* Mon Jan 14 2013 umeabot <umeabot> 0.3.9-5.mga3
+ Revision: 386682
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jun 04 2012 fwang <fwang> 0.3.9-4.mga3
+ Revision: 254356
- force upgrade libxcb at first

* Sun Jun 03 2012 fwang <fwang> 0.3.9-3.mga3
+ Revision: 253721
- rebuild

* Sun Jun 03 2012 fwang <fwang> 0.3.9-2.mga3
+ Revision: 253708
- bump rel
- drop .la file

* Sun Jun 03 2012 fwang <fwang> 0.3.9-1.mga3
+ Revision: 253690
- update libmajor
- update file list
- new version 0.3.9

* Wed Jul 06 2011 fwang <fwang> 0.3.8-3.mga2
+ Revision: 119320
- add conflicts on old packages so that those pacagkes will be upgraded before installing new libxcb-util0

* Wed Jul 06 2011 fwang <fwang> 0.3.8-2.mga2
+ Revision: 119303
- do not obsoletes old libs

* Wed Jul 06 2011 ahmad <ahmad> 0.3.8-1.mga2
+ Revision: 119275
- Update to 0.3.8
  o Some of the libs have been split in separate tarballs upstream (image, keysyms, renderutil, icccm)
  o Some libs have been merged in one library (atom, aux, event), IIUC
  o Some libs have vanished (property, reply)
- Don't disable building with --no-undefined; don't run autoreconf

* Sat Jan 08 2011 blino <blino> 0.3.6-3.mga1
+ Revision: 1052
- remove old conflicts and obsoletes
- imported package xcb-util