2012-02-09 13:19:58 +00:00
|
|
|
#
|
|
|
|
# spec file for package liboldX
|
|
|
|
#
|
2023-04-25 21:43:22 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-02-09 13:19:58 +00: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.
|
|
|
|
|
2023-04-25 21:43:22 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-09 13:19:58 +00:00
|
|
|
#
|
2012-03-07 09:48:02 +00:00
|
|
|
|
|
|
|
|
2012-02-09 13:19:58 +00:00
|
|
|
Name: liboldX
|
|
|
|
%define lname liboldX6
|
|
|
|
Version: 1.0.1
|
|
|
|
Release: 0
|
|
|
|
Summary: X version 10 backwards compatibility library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2023-04-25 21:43:22 +00:00
|
|
|
URL: http://cgit.freedesktop.org/xorg/lib/liboldX/
|
2012-02-09 13:19:58 +00:00
|
|
|
|
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/liboldX
|
2013-04-15 14:20:21 +00:00
|
|
|
Source: http://xorg.freedesktop.org/releases/X11R7.0/src/lib/%{name}-X11R7.0-%{version}.tar.bz2
|
2023-04-25 21:43:22 +00:00
|
|
|
Source1: baselibs.conf
|
2012-02-09 13:19:58 +00:00
|
|
|
#git#BuildRequires: autoconf >= 2.57, automake, libtool
|
2012-09-25 06:51:41 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(x11)
|
2012-02-09 13:19:58 +00:00
|
|
|
|
|
|
|
%description
|
2023-04-26 10:42:11 +00:00
|
|
|
X version 10 backwards compatibility for prehistoric X applications.
|
2012-02-09 13:19:58 +00:00
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: X version 10 backwards compatibility library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
2023-04-26 10:42:11 +00:00
|
|
|
This interface provides backwards compatibility for apps from X
|
|
|
|
Version 10, which was the version of the X Window System from
|
|
|
|
November 1985, replaced by X11 in September 1987.
|
2012-02-09 13:19:58 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the X version 10 compatibility library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
2023-04-26 10:42:11 +00:00
|
|
|
X version 10 backwards compatibility for prehistoric X applications.
|
2012-02-09 13:19:58 +00:00
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
|
|
|
in %lname.
|
|
|
|
|
|
|
|
%prep
|
2023-04-26 10:42:11 +00:00
|
|
|
%autosetup -n %name-X11R7.0-%version
|
2012-02-09 13:19:58 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2023-04-26 10:42:11 +00:00
|
|
|
%make_build
|
2012-02-09 13:19:58 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%_libdir/liboldX.so.6*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%_includedir/X11/X10.h
|
|
|
|
%_libdir/liboldX.so
|
|
|
|
%_libdir/pkgconfig/oldx.pc
|
|
|
|
|
|
|
|
%changelog
|