%define major 0 %define libname %mklibname %{name} %{major} %define develname %mklibname %{name} -d Summary: Inter-toolkit configuration settings Name: Xsettings-client Version: 0.10 Release: %{mkrel 3} URL: http://www.freedesktop.org/standards/xsettings-spec/ # Tarball includes a copy of the GPL but the source headers clearly # specify an MIT license - AdamW 2008/12 License: MIT Group: System/Libraries Source0: http://matchbox-project.org/sources/optional-dependencies/%{name}-%{version}.tar.bz2 # Fix underlinking - AdamW 2008/12 Patch0: Xsettings-client-0.10-underlink.patch BuildRequires: libx11-devel Buildroot: %_tmppath/%{name}-%{version}-buildroot %description The intent of this specification is to specify a mechanism to allow the configuration of settings such as double click timeout, drag-and-drop threshold, and default foreground and background colors for all applications running within a desktop. The mechanism should: - allow for instant updates to be propagated across all applications at runtime - perform well, even for remote applications. It is not intended: - for the storage of application-specific data - to be able to store large amounts of data - to store complex data types (other than as strings) %package -n %{libname} Group: System/Libraries Summary: Inter-toolkit configuration settings %description -n %{libname} The intent of this specification is to specify a mechanism to allow the configuration of settings such as double click timeout, drag-and-drop threshold, and default foreground and background colors for all applications running within a desktop. The mechanism should: - allow for instant updates to be propagated across all applications at runtime - perform well, even for remote applications. It is not intended: - for the storage of application-specific data - to be able to store large amounts of data - to store complex data types (other than as strings) %package -n %{develname} Group: Development/C Summary: Static libraries and header files from %{name} Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Obsoletes: %{mklibname Xsettings-client 0 -d} Requires: %{libname} = %{version}-%{release} %description -n %{develname} Static libraries and header files from %{name}. %prep %setup -q %patch0 -p1 -b .underlink %build autoreconf -fi %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.%{major}* %files -n %{develname} %defattr(-,root,root) %doc README %{_libdir}/*.so %{_libdir}/*.*a %{_includedir}/*.h %changelog * Tue Feb 08 2011 pterjan <pterjan> 0.10-3.mga1 + Revision: 49235 - Drop old stuff - imported package Xsettings-client * Wed Feb 02 2011 Funda Wang <fwang@mandriva.org> 0.10-3mdv2011.0 + Revision: 634990 - rebuild - tighten BR * Wed Dec 10 2008 Adam Williamson <awilliamson@mandriva.org> 0.10-2mdv2011.0 + Revision: 312614 - buildrequires automake1.4 - protect major in file list - add underlink.patch (fix underlinking) - correct license - spec clean + Thierry Vignaud <tv@mandriva.org> - rebuild - rebuild + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 0.10-1mdv2008.1 + Revision: 140994 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request - buildrequires X11-devel instead of XFree86-devel - use %%mkrel - import Xsettings-client * Fri Jul 16 2004 Austin Acton <austin@mandrake.org> 0.10-1mdk - initial package