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
This commit is contained in:
parent
c54d7f21e5
commit
049e28bfbf
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Apr 25 07:49:11 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ URL: http://cgit.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
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
#git#BuildRequires: autoconf >= 2.57, automake, libtool
|
#git#BuildRequires: autoconf >= 2.57, automake, libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(printproto)
|
BuildRequires: pkgconfig(printproto)
|
||||||
@ -72,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
|
||||||
@ -87,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user