2012-02-09 14:18:49 +01:00
|
|
|
#
|
2012-03-07 10:47:40 +01:00
|
|
|
# spec file for package libXres
|
2012-02-09 14:18:49 +01:00
|
|
|
#
|
2022-12-05 11:31:29 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2012-02-09 14:18:49 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2021-03-31 22:47:45 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-09 14:18:49 +01:00
|
|
|
#
|
2012-03-07 10:47:40 +01:00
|
|
|
|
|
|
|
|
2012-02-09 14:18:49 +01:00
|
|
|
%define lname libXRes1
|
2021-04-06 10:21:12 +02:00
|
|
|
Name: libXres
|
2022-12-05 11:31:29 +01:00
|
|
|
Version: 1.2.2
|
2012-02-09 14:18:49 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: X Resource extension client library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2021-04-06 10:21:12 +02:00
|
|
|
URL: https://xorg.freedesktop.org/
|
2012-02-09 14:18:49 +01:00
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXRes
|
2012-02-13 11:08:03 +01:00
|
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXRes/
|
2022-12-05 11:31:29 +01:00
|
|
|
Source: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
|
2017-10-12 05:54:09 +02:00
|
|
|
Source1: baselibs.conf
|
2012-04-12 12:44:05 +02:00
|
|
|
BuildRequires: pkgconfig
|
2012-03-07 10:47:40 +01:00
|
|
|
BuildRequires: pkgconfig(resourceproto) >= 1.0
|
2012-04-12 12:44:05 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xextproto)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
2012-02-09 14:18:49 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libXRes provides an X Window System client interface to the Resource
|
|
|
|
extension to the X protocol. The Resource extension allows for X
|
|
|
|
clients to see and monitor the X resource usage of various clients
|
|
|
|
(pixmaps, et al).
|
|
|
|
|
2021-04-06 10:21:12 +02:00
|
|
|
%package -n %{lname}
|
2012-02-09 14:18:49 +01:00
|
|
|
Summary: X Resource extension client library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2021-04-06 10:21:12 +02:00
|
|
|
%description -n %{lname}
|
2012-02-09 14:18:49 +01:00
|
|
|
libXRes provides an X Window System client interface to the Resource
|
|
|
|
extension to the X protocol. The Resource extension allows for X
|
|
|
|
clients to see and monitor the X resource usage of various clients
|
|
|
|
(pixmaps, et al).
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the X Resource extension library
|
|
|
|
Group: Development/Libraries/C and C++
|
2021-04-06 10:21:12 +02:00
|
|
|
Requires: %{lname} = %{version}
|
2012-02-09 14:18:49 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libXRes provides an X Window System client interface to the Resource
|
|
|
|
extension to the X protocol. The Resource extension allows for X
|
|
|
|
clients to see and monitor the X resource usage of various clients
|
|
|
|
(pixmaps, et al).
|
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
2021-04-06 10:21:12 +02:00
|
|
|
in %{lname}.
|
2012-02-09 14:18:49 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2021-04-06 10:21:12 +02:00
|
|
|
%make_build
|
2012-02-09 14:18:49 +01:00
|
|
|
|
|
|
|
%install
|
2021-04-06 10:21:12 +02:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2012-02-09 14:18:49 +01:00
|
|
|
|
2021-04-06 10:21:12 +02:00
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
2012-02-09 14:18:49 +01:00
|
|
|
|
2021-04-06 10:21:12 +02:00
|
|
|
%files -n %{lname}
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libXRes.so.1*
|
2012-02-09 14:18:49 +01:00
|
|
|
|
|
|
|
%files devel
|
2021-04-06 10:21:12 +02:00
|
|
|
%{_includedir}/X11/*
|
|
|
|
%{_libdir}/libXRes.so
|
|
|
|
%{_libdir}/pkgconfig/xres.pc
|
|
|
|
%{_mandir}/man3/*
|
2012-02-09 14:18:49 +01:00
|
|
|
|
|
|
|
%changelog
|