Sophie

Sophie

distrib > Mageia > 2 > x86_64 > by-pkgid > 6792093a55108527b079528b35f40b1f > files > 2

xcb-util-wm-0.3.8-1.mga2.src.rpm

%define ewmh_major 1
%define icccm_major 4

%define libewmh %mklibname xcb-ewmh %ewmh_major
%define libicccm %mklibname xcb-icccm %icccm_major

%define develname %mklibname %{name} -d

Summary:	xcb-util-wm
Name:		xcb-util-wm
Version:	0.3.8
Release:	%mkrel 1
Url:		http://xcb.freedesktop.org
Source0:	http://xcb.freedesktop.org/dist/%name-%{version}.tar.bz2
License:	MIT
Group:		System/X11
BuildRequires:	xcb-util-devel >= 0.3.8
BuildRequires:	x11-util-macros

%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 %libewmh
Summary: xcb-ewmh library package
Group: System/X11

%description -n %libewmh
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 %libicccm
Summary: xcb-icccm library package
Group: System/X11

%description -n %libicccm
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: xcb-util-wm development headers
Group: Development/C
Provides:  libxcb-util-wm-devel = %version-%release
Provides:  xcb-util-wm-devel = %version-%release
Requires:  %libewmh = %version-%release
Requires:  %libicccm = %version-%release
Conflicts: %{mklibname xcb-util -d} < 0.3.8
Conflicts: %{mklibname xcb-util -d -s} < 0.3.8

%description -n %develname
This pakcage includes the development files required to build software against
%{name}.

%prep
%setup -q

%build
%configure2_5x
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files -n %libewmh
%defattr(-,root,root)
%{_libdir}/libxcb-ewmh.so.%{ewmh_major}*

%files -n %libicccm
%defattr(-,root,root)
%{_libdir}/libxcb-icccm.so.%{icccm_major}*

%files -n %develname
%defattr(-,root,root)
%doc ChangeLog NEWS README
%{_includedir}/xcb/xcb_ewmh.h
%{_includedir}/xcb/xcb_icccm.h
%{_libdir}/libxcb-ewmh.a
%{_libdir}/libxcb-ewmh.la
%{_libdir}/libxcb-ewmh.so
%{_libdir}/libxcb-icccm.a
%{_libdir}/libxcb-icccm.la
%{_libdir}/libxcb-icccm.so
%{_libdir}/pkgconfig/xcb-ewmh.pc
%{_libdir}/pkgconfig/xcb-icccm.pc


%changelog
* Wed Jul 06 2011 ahmad <ahmad> 0.3.8-1.mga2
+ Revision: 119283
- Versionate the xcb-util-devel requires
- imported package xcb-util-wm