Dominique Leuenberger 2023-04-27 17:59:30 +00:00 committed by Git OBS Bridge
commit dcafb4cdfa
2 changed files with 17 additions and 9 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Apr 26 08:35:38 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile constructs
-------------------------------------------------------------------
Tue Apr 25 07:49:11 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Add again baselibs.conf as a source.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 11 11:46:26 UTC 2013 - mmeister@suse.com Thu Apr 11 11:46:26 UTC 2013 - mmeister@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libXprintUtil # spec file for package libXprintUtil
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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,12 +23,12 @@ Release: 0
Summary: Xprint printer utility client library Summary: Xprint printer utility client library
License: MIT License: MIT
Group: Development/Libraries/C and C++ 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-Clone: git://anongit.freedesktop.org/xorg/lib/libXprintUtil
#Git-Web: 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 Source: http://ftp.x.org/pub/X11R7.1/src/lib/%name-X11R7.0-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build Source1: baselibs.conf
#git#BuildRequires: autoconf >= 2.57, automake, libtool #git#BuildRequires: autoconf >= 2.57, automake, libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(printproto) BuildRequires: pkgconfig(printproto)
@ -71,14 +71,14 @@ This package contains the development headers for the library found
in %lname. in %lname.
%prep %prep
%setup -qn %name-X11R7.0-%version %autosetup -n %name-X11R7.0-%version
%build %build
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} %make_build
%install %install
make install DESTDIR="%buildroot" %make_install
rm -f "%buildroot/%_libdir"/*.la rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
@ -86,11 +86,9 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname
%defattr(-,root,root)
%_libdir/libXprintUtil.so.1* %_libdir/libXprintUtil.so.1*
%files devel %files devel
%defattr(-,root,root)
%_includedir/X11/* %_includedir/X11/*
%_libdir/libXprintUtil.so %_libdir/libXprintUtil.so
%_libdir/pkgconfig/xprintutil.pc %_libdir/pkgconfig/xprintutil.pc