forked from pool/libxkbui
Accepting request 1082920 from home:jengelh:branches:X11:XOrg
- Modernize specfile constructs OBS-URL: https://build.opensuse.org/request/show/1082920 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxkbui?expand=0&rev=13
This commit is contained in:
parent
0fb24c8fb2
commit
78ca51748d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 26 08:44:22 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Modernize specfile constructs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 25 14:26:17 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
|
Tue Apr 25 14:26:17 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ URL: http://xorg.freedesktop.org/
|
|||||||
Source: http://ftp.x.org/pub/X11R7.1/src/lib/%{name}-X11R7.1-%{version}.tar.bz2
|
Source: http://ftp.x.org/pub/X11R7.1/src/lib/%{name}-X11R7.1-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch1: libxkbui.diff
|
Patch1: libxkbui.diff
|
||||||
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(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
@ -62,15 +61,14 @@ This package contains the development headers for the library found
|
|||||||
in %lname.
|
in %lname.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %name-X11R7.1-%version
|
%autosetup -n %name-X11R7.1-%version -p0
|
||||||
%patch -P 1 -p0
|
|
||||||
|
|
||||||
%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
|
||||||
@ -78,11 +76,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/libxkbui.so.1*
|
%_libdir/libxkbui.so.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_includedir/X11/*
|
%_includedir/X11/*
|
||||||
%_libdir/libxkbui.so
|
%_libdir/libxkbui.so
|
||||||
%_libdir/pkgconfig/xkbui.pc
|
%_libdir/pkgconfig/xkbui.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user