libXxf86vm/libXxf86vm.spec
2019-11-06 19:36:50 +08:00

74 lines
1.7 KiB
RPMSpec

Name: libXxf86vm
Version: 1.1.4
Release: 13
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)
%license 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 Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-13
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYING
* 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