From 57e90f224c8f5f0610ca3104c1c302818a7db597171dd0965f616d095e4288d6 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 27 Apr 2014 22:07:02 +0000 Subject: [PATCH 1/3] Obsoletes: xorg-x11-proto-devel -> Provides: xorg-x11-proto-devel OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXfontcache?expand=0&rev=11 --- libXfontcache.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libXfontcache.spec b/libXfontcache.spec index 69f0470..d4e935f 100644 --- a/libXfontcache.spec +++ b/libXfontcache.spec @@ -1,7 +1,7 @@ # # spec file for package libXfontcache # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 933eb6078f9dacda0dec8f14ee1480479f65d30b668c986dcdb67f0679b52a01 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 25 Apr 2023 21:43:07 +0000 Subject: [PATCH 2/3] Accepting request 1082773 from home:fcrozat:branches:X11:XOrg - Add baselibs.conf as source to specfile. OBS-URL: https://build.opensuse.org/request/show/1082773 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXfontcache?expand=0&rev=12 --- libXfontcache.changes | 5 +++++ libXfontcache.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libXfontcache.changes b/libXfontcache.changes index 9132c2f..9c7de9e 100644 --- a/libXfontcache.changes +++ b/libXfontcache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 25 14:23:13 UTC 2023 - Frederic Crozat + +- Add baselibs.conf as source to specfile. + ------------------------------------------------------------------- Thu Apr 11 11:39:07 UTC 2013 - mmeister@suse.com diff --git a/libXfontcache.spec b/libXfontcache.spec index d4e935f..ebb74db 100644 --- a/libXfontcache.spec +++ b/libXfontcache.spec @@ -1,7 +1,7 @@ # # spec file for package libXfontcache # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,11 +23,12 @@ Release: 0 Summary: X TrueType font cache extension client library License: MIT Group: Development/Libraries/C and C++ -Url: http://xorg.freedesktop.org/ +URL: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXfontcache #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXfontcache/ Source: http://xorg.freedesktop.org/archive/individual/lib/%name-%version.tar.bz2 +Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.57, automake, libtool BuildRequires: fdupes From aaf398d551b6ff06ee8828bef658974c0e5b6d0a9360ab6b04a54ffebf61701b Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 26 Apr 2023 10:42:58 +0000 Subject: [PATCH 3/3] Accepting request 1082912 from home:jengelh:branches:X11:XOrg - Modernize specfile constructs OBS-URL: https://build.opensuse.org/request/show/1082912 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXfontcache?expand=0&rev=13 --- libXfontcache.changes | 5 +++++ libXfontcache.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/libXfontcache.changes b/libXfontcache.changes index 9c7de9e..321fa7e 100644 --- a/libXfontcache.changes +++ b/libXfontcache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 26 08:41:50 UTC 2023 - Jan Engelhardt + +- Modernize specfile constructs + ------------------------------------------------------------------- Tue Apr 25 14:23:13 UTC 2023 - Frederic Crozat diff --git a/libXfontcache.spec b/libXfontcache.spec index ebb74db..7d831ed 100644 --- a/libXfontcache.spec +++ b/libXfontcache.spec @@ -29,7 +29,6 @@ URL: http://xorg.freedesktop.org/ #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXfontcache/ Source: http://xorg.freedesktop.org/archive/individual/lib/%name-%version.tar.bz2 Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.57, automake, libtool BuildRequires: fdupes BuildRequires: pkgconfig @@ -64,14 +63,14 @@ This package contains the development headers for the library found in %lname. %prep -%setup -q +%autosetup %build %configure --disable-static -make %{?_smp_mflags} +%make_build %install -make install DESTDIR="%buildroot" +%make_install rm -f "%buildroot/%_libdir"/*.la %fdupes %buildroot/%_prefix @@ -80,11 +79,9 @@ rm -f "%buildroot/%_libdir"/*.la %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libXfontcache.so.1* %files devel -%defattr(-,root,root) %_libdir/libXfontcache.so %_libdir/pkgconfig/xfontcache.pc %_mandir/man3/*