1 |
%define major 0 |
2 |
%define libname %mklibname %{name} %{major} |
3 |
%define develname %mklibname %{name} -d |
4 |
|
5 |
Summary: Inter-toolkit configuration settings |
6 |
Name: Xsettings-client |
7 |
Version: 0.10 |
8 |
Release: %{mkrel 7} |
9 |
URL: http://www.freedesktop.org/standards/xsettings-spec/ |
10 |
# Tarball includes a copy of the GPL but the source headers clearly |
11 |
# specify an MIT license - AdamW 2008/12 |
12 |
License: MIT |
13 |
Group: System/Libraries |
14 |
Source0: http://matchbox-project.org/sources/optional-dependencies/%{name}-%{version}.tar.bz2 |
15 |
# Fix underlinking - AdamW 2008/12 |
16 |
Patch0: Xsettings-client-0.10-underlink.patch |
17 |
BuildRequires: libx11-devel |
18 |
|
19 |
%description |
20 |
The intent of this specification is to specify a mechanism to allow the |
21 |
configuration of settings such as double click timeout, drag-and-drop |
22 |
threshold, and default foreground and background colors for all applications |
23 |
running within a desktop. The mechanism should: |
24 |
- allow for instant updates to be propagated across all applications at runtime |
25 |
- perform well, even for remote applications. |
26 |
|
27 |
It is not intended: |
28 |
- for the storage of application-specific data |
29 |
- to be able to store large amounts of data |
30 |
- to store complex data types (other than as strings) |
31 |
|
32 |
%package -n %{libname} |
33 |
Group: System/Libraries |
34 |
Summary: Inter-toolkit configuration settings |
35 |
|
36 |
%description -n %{libname} |
37 |
The intent of this specification is to specify a mechanism to allow the |
38 |
configuration of settings such as double click timeout, drag-and-drop |
39 |
threshold, and default foreground and background colors for all applications |
40 |
running within a desktop. The mechanism should: |
41 |
- allow for instant updates to be propagated across all applications at runtime |
42 |
- perform well, even for remote applications. |
43 |
|
44 |
It is not intended: |
45 |
- for the storage of application-specific data |
46 |
- to be able to store large amounts of data |
47 |
- to store complex data types (other than as strings) |
48 |
|
49 |
%package -n %{develname} |
50 |
Group: Development/C |
51 |
Summary: Development libraries and header files from %{name} |
52 |
Provides: %{name}-devel = %{version}-%{release} |
53 |
Provides: lib%{name}-devel = %{version}-%{release} |
54 |
Obsoletes: %{mklibname Xsettings-client 0 -d} |
55 |
Requires: %{libname} = %{version}-%{release} |
56 |
|
57 |
%description -n %{develname} |
58 |
Development libraries and header files from %{name}. |
59 |
|
60 |
%prep |
61 |
%setup -q |
62 |
%patch0 -p1 -b .underlink |
63 |
sed -i s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/ configure.ac |
64 |
|
65 |
%build |
66 |
autoreconf -fi |
67 |
%configure2_5x --disable-static |
68 |
%make |
69 |
|
70 |
%install |
71 |
%makeinstall_std |
72 |
rm -f %{buildroot}%{_libdir}/*.la |
73 |
|
74 |
%files -n %{libname} |
75 |
%{_libdir}/*.so.%{major}* |
76 |
|
77 |
%files -n %{develname} |
78 |
%doc README |
79 |
%{_libdir}/*.so |
80 |
%{_includedir}/*.h |