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>
|
||||
|
||||
|
@ -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
|
||||
Source1: baselibs.conf
|
||||
Patch1: libxkbui.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#git#BuildRequires: autoconf >= 2.57, automake, libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(x11)
|
||||
@ -62,15 +61,14 @@ This package contains the development headers for the library found
|
||||
in %lname.
|
||||
|
||||
%prep
|
||||
%setup -qn %name-X11R7.1-%version
|
||||
%patch -P 1 -p0
|
||||
%autosetup -n %name-X11R7.1-%version -p0
|
||||
|
||||
%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
|
||||
@ -78,11 +76,9 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libxkbui.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/X11/*
|
||||
%_libdir/libxkbui.so
|
||||
%_libdir/pkgconfig/xkbui.pc
|
||||
|
Loading…
Reference in New Issue
Block a user