Accepting request 493214 from X11:XOrg
1 OBS-URL: https://build.opensuse.org/request/show/493214 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libglvnd?expand=0&rev=3
This commit is contained in:
commit
ceba6bffd3
@ -1,2 +1,2 @@
|
|||||||
libglvnd0
|
libglvnd
|
||||||
libglvnd-devel
|
libglvnd-devel
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 29 20:59:17 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- The package misuses an SLPP package name (libglvnd0) while not
|
||||||
|
being SLPP — there is not even a libglvnd.so.0. Since
|
||||||
|
implementing SLPP does not make much sense either (these are all
|
||||||
|
just compat wrappers), switch to libglvnd.
|
||||||
|
- Avoid doubleshipping of README.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 7 11:09:23 UTC 2017 - jengelh@inai.de
|
Fri Apr 7 11:09:23 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libglvnd
|
Name: libglvnd
|
||||||
%define sonum 0
|
|
||||||
Version: 0.1.1~20161222~dc16f8c
|
Version: 0.1.1~20161222~dc16f8c
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The GL Vendor-Neutral Dispatch library
|
Summary: The GL Vendor-Neutral Dispatch library
|
||||||
@ -37,26 +36,18 @@ BuildRequires: pkgconfig(glproto)
|
|||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Provides: libglvnd0 = %version-%release
|
||||||
|
Obsoletes: libglvnd0 < %version-%release
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Vendor-neutral dispatch layer for arbitrating OpenGL API calls between
|
Vendor-neutral dispatch layer for arbitrating OpenGL API calls between
|
||||||
multiple vendors on a per-screen basis, as described by Andy Ritger's
|
multiple vendors on a per-screen basis, as described by Andy Ritger's
|
||||||
OpenGL ABI proposal.
|
OpenGL ABI proposal.
|
||||||
|
|
||||||
%package -n %name%sonum
|
|
||||||
Summary: The GL Vendor-Neutral Dispatch library
|
|
||||||
Group: System/Libraries
|
|
||||||
Recommends: Mesa-libGL1 >= 12.0.0
|
|
||||||
|
|
||||||
%description -n %name%sonum
|
|
||||||
Vendor-neutral dispatch layer for arbitrating OpenGL API calls between
|
|
||||||
multiple vendors on a per-screen basis, as described by Andy Ritger's
|
|
||||||
OpenGL ABI proposal.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libglvnd
|
Summary: Development files for libglvnd
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %name%sonum = %version
|
Requires: %name = %version
|
||||||
Recommends: Mesa-libGL-devel >= 12.0.0
|
Recommends: Mesa-libGL-devel >= 12.0.0
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -79,14 +70,13 @@ development.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot";
|
%make_install
|
||||||
|
find "%buildroot" -type f -name "*.la" -delete
|
||||||
>%_builddir/%name-%version/filelist.rpm
|
>%_builddir/%name-%version/filelist.rpm
|
||||||
%if 0%{?suse_version} < 1330
|
%if 0%{?suse_version} < 1330
|
||||||
rm -f "%buildroot/usr/X11R6/%_lib"/*.la
|
|
||||||
mkdir -p %buildroot/%_libdir/pkgconfig
|
mkdir -p %buildroot/%_libdir/pkgconfig
|
||||||
mv %buildroot/usr/X11R6/%_lib/pkgconfig/*.pc %buildroot/%_libdir/pkgconfig
|
mv %buildroot/usr/X11R6/%_lib/pkgconfig/*.pc %buildroot/%_libdir/pkgconfig
|
||||||
rm -rf %buildroot/usr/X11R6/pkgconfig
|
if [ "%_lib" == "lib64" ]; then
|
||||||
if [ "%_libdir" == "/usr/lib64" ]; then
|
|
||||||
mkdir -p %buildroot/%_sysconfdir/ld.so.conf.d
|
mkdir -p %buildroot/%_sysconfdir/ld.so.conf.d
|
||||||
cat > %buildroot/%_sysconfdir/ld.so.conf.d/%name.conf << EOF
|
cat > %buildroot/%_sysconfdir/ld.so.conf.d/%name.conf << EOF
|
||||||
/usr/X11R6/%_lib
|
/usr/X11R6/%_lib
|
||||||
@ -94,15 +84,12 @@ if [ "%_libdir" == "/usr/lib64" ]; then
|
|||||||
EOF
|
EOF
|
||||||
echo "%config %_sysconfdir/ld.so.conf.d/%name.conf" >%_builddir/%name-%version/filelist.rpm
|
echo "%config %_sysconfdir/ld.so.conf.d/%name.conf" >%_builddir/%name-%version/filelist.rpm
|
||||||
fi
|
fi
|
||||||
%else
|
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n %name%sonum -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %name%sonum -p /sbin/ldconfig
|
%files -f filelist.rpm
|
||||||
|
|
||||||
%files -n %name%sonum -f filelist.rpm
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%if 0%{?suse_version} < 1330
|
%if 0%{?suse_version} < 1330
|
||||||
@ -115,7 +102,6 @@ rm -f "%buildroot/%_libdir"/*.la
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.md
|
|
||||||
%if 0%{?suse_version} < 1330
|
%if 0%{?suse_version} < 1330
|
||||||
%dir /usr/X11R6
|
%dir /usr/X11R6
|
||||||
%dir /usr/X11R6/%_lib
|
%dir /usr/X11R6/%_lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user