From 889ad3e6d182ee5bbff30747e4a90771ff003949aa1296fac5e5dd050e65fbcc Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 27 Apr 2014 22:07:56 +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/libXprintUtil?expand=0&rev=10 --- libXprintUtil.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libXprintUtil.spec b/libXprintUtil.spec index a93f1cf..404b2af 100644 --- a/libXprintUtil.spec +++ b/libXprintUtil.spec @@ -1,7 +1,7 @@ # # spec file for package libXprintUtil # -# 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 c54d7f21e52c25407545b7c5163648e747b4189f1a9fe4f2cb66076b2b7b89ad Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 25 Apr 2023 21:42:46 +0000 Subject: [PATCH 2/3] Accepting request 1082654 from home:fcrozat:branches:X11:XOrg - Add again baselibs.conf as a source. OBS-URL: https://build.opensuse.org/request/show/1082654 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXprintUtil?expand=0&rev=11 --- libXprintUtil.changes | 5 +++++ libXprintUtil.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libXprintUtil.changes b/libXprintUtil.changes index ca6f493..45f2ee2 100644 --- a/libXprintUtil.changes +++ b/libXprintUtil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 25 07:49:11 UTC 2023 - Frederic Crozat + +- Add again baselibs.conf as a source. + ------------------------------------------------------------------- Thu Apr 11 11:46:26 UTC 2013 - mmeister@suse.com diff --git a/libXprintUtil.spec b/libXprintUtil.spec index 404b2af..995adf7 100644 --- a/libXprintUtil.spec +++ b/libXprintUtil.spec @@ -1,7 +1,7 @@ # # spec file for package libXprintUtil # -# 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: Xprint printer utility client library License: MIT Group: Development/Libraries/C and C++ -Url: http://cgit.freedesktop.org/xorg/lib/libXprintUtil/ +URL: http://cgit.freedesktop.org/xorg/lib/libXprintUtil/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXprintUtil #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXprintUtil/ Source: http://ftp.x.org/pub/X11R7.1/src/lib/%name-X11R7.0-%version.tar.bz2 +Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.57, automake, libtool BuildRequires: pkgconfig From 049e28bfbfa68df85129c71ac8443bd2d35e286d0389cb66e58be4816c6aefaa Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 26 Apr 2023 10:42:44 +0000 Subject: [PATCH 3/3] Accepting request 1082909 from home:jengelh:branches:X11:XOrg - Modernize specfile constructs OBS-URL: https://build.opensuse.org/request/show/1082909 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXprintUtil?expand=0&rev=12 --- libXprintUtil.changes | 5 +++++ libXprintUtil.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/libXprintUtil.changes b/libXprintUtil.changes index 45f2ee2..42069bd 100644 --- a/libXprintUtil.changes +++ b/libXprintUtil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 26 08:35:38 UTC 2023 - Jan Engelhardt + +- Modernize specfile constructs + ------------------------------------------------------------------- Tue Apr 25 07:49:11 UTC 2023 - Frederic Crozat diff --git a/libXprintUtil.spec b/libXprintUtil.spec index 995adf7..e06d7f5 100644 --- a/libXprintUtil.spec +++ b/libXprintUtil.spec @@ -29,7 +29,6 @@ URL: http://cgit.freedesktop.org/xorg/lib/libXprintUtil/ #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXprintUtil/ Source: http://ftp.x.org/pub/X11R7.1/src/lib/%name-X11R7.0-%version.tar.bz2 Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.57, automake, libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(printproto) @@ -72,14 +71,14 @@ This package contains the development headers for the library found in %lname. %prep -%setup -qn %name-X11R7.0-%version +%autosetup -n %name-X11R7.0-%version %build %configure --disable-static -make %{?_smp_mflags} +%make_build %install -make install DESTDIR="%buildroot" +%make_install rm -f "%buildroot/%_libdir"/*.la %post -n %lname -p /sbin/ldconfig @@ -87,11 +86,9 @@ rm -f "%buildroot/%_libdir"/*.la %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) %_libdir/libXprintUtil.so.1* %files devel -%defattr(-,root,root) %_includedir/X11/* %_libdir/libXprintUtil.so %_libdir/pkgconfig/xprintutil.pc