Accepting request 1007093 from home:dirkmueller:Factory
- modernize spec file, add license OBS-URL: https://build.opensuse.org/request/show/1007093 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXxf86vm?expand=0&rev=16
This commit is contained in:
parent
005b8fde34
commit
57e157fc21
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 19:21:39 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- modernize spec file, add license
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 27 09:40:35 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
@ -16,20 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
Name: libXxf86vm
|
||||
%define lname libXxf86vm1
|
||||
Name: libXxf86vm
|
||||
Version: 1.1.5
|
||||
Release: 0
|
||||
Summary: XFree86-VidMode X extension library
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://xorg.freedesktop.org/
|
||||
|
||||
URL: https://xorg.freedesktop.org/
|
||||
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXxf86vm
|
||||
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXxf86vm/
|
||||
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
|
||||
Source: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: grep
|
||||
@ -46,11 +44,11 @@ These functions provide aninterface to the server extension
|
||||
XFree86-VidModeExtension which allows the video modes to be queried
|
||||
and adjusted dynamically and mode switching to be controlled.
|
||||
|
||||
%package -n %lname
|
||||
%package -n %{lname}
|
||||
Summary: XFree86-VidMode X extension library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
%description -n %{lname}
|
||||
These functions provide aninterface to the server extension
|
||||
XFree86-VidModeExtension which allows the video modes to be queried
|
||||
and adjusted dynamically and mode switching to be controlled.
|
||||
@ -58,7 +56,7 @@ and adjusted dynamically and mode switching to be controlled.
|
||||
%package devel
|
||||
Summary: Development files for the XFree86-VidMode X extension library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
Requires: %{lname} = %{version}
|
||||
|
||||
%description devel
|
||||
These functions provide aninterface to the server extension
|
||||
@ -66,33 +64,31 @@ XFree86-VidModeExtension which allows the video modes to be queried
|
||||
and adjusted dynamically and mode switching to be controlled.
|
||||
|
||||
This package contains the development headers for the library found
|
||||
in %lname.
|
||||
in %{lname}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot"
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
%fdupes %buildroot/%_prefix
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libXxf86vm.so.1*
|
||||
%files -n %{lname}
|
||||
%license COPYING
|
||||
%{_libdir}/libXxf86vm.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/X11/*
|
||||
%_libdir/libXxf86vm.so
|
||||
%_libdir/pkgconfig/xxf86vm.pc
|
||||
%_mandir/man3/*
|
||||
%{_includedir}/X11/*
|
||||
%{_libdir}/libXxf86vm.so
|
||||
%{_libdir}/pkgconfig/xxf86vm.pc
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user