Package init
This commit is contained in:
commit
8195977a33
BIN
libXxf86vm-1.1.4.tar.bz2
Normal file
BIN
libXxf86vm-1.1.4.tar.bz2
Normal file
Binary file not shown.
67
libXxf86vm.spec
Normal file
67
libXxf86vm.spec
Normal file
@ -0,0 +1,67 @@
|
||||
Name: libXxf86vm
|
||||
Version: 1.1.4
|
||||
Release: 12
|
||||
Summary: Provide an extension library for the XFree86-VidModeExtension
|
||||
License: MIT
|
||||
URL: https://www.x.org
|
||||
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: autoconf automake libtool xorg-x11-util-macros
|
||||
BuildRequires: pkgconfig(xext) pkgconfig(xf86vidmodeproto)
|
||||
BuildRequires: libX11-devel
|
||||
Requires: libX11
|
||||
|
||||
%description
|
||||
Provide an extension library for the XFree86-VidModeExtension.
|
||||
|
||||
%package devel
|
||||
Summary: Provide static library, headers and test examples for libXxf86vm
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Provide static library, headers and test examples for libXxf86vm.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
autoreconf -ivf
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%{_libdir}/libXxf86vm.so.1
|
||||
%{_libdir}/libXxf86vm.so.1.0.0
|
||||
%exclude %{_libdir}/*.la
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/X11/extensions/*.h
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/libXxf86vm.a
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%{_mandir}/man3/*.3.gz
|
||||
|
||||
%changelog
|
||||
* Mon Sep 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-12
|
||||
- Type:enhancement
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:Rewrite the spec according to the new rules
|
||||
|
||||
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-11
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user