59 lines
1.2 KiB
RPMSpec
59 lines
1.2 KiB
RPMSpec
|
|
Name: libXrandr
|
||
|
|
Version: 1.5.1
|
||
|
|
Release: 9
|
||
|
|
License: MIT
|
||
|
|
Summary: X.Org X11 libXrandr runtime library
|
||
|
|
URL: https://www.x.org
|
||
|
|
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
||
|
|
|
||
|
|
BuildRequires: xorg-x11-util-macros autoconf automake libtool
|
||
|
|
BuildRequires: xorg-x11-proto-devel libX11-devel libXext-devel libXrender-devel
|
||
|
|
|
||
|
|
Requires: libX11 >= 1.6.0
|
||
|
|
|
||
|
|
%description
|
||
|
|
X.Org X11 libXrandr runtime library
|
||
|
|
|
||
|
|
%package devel
|
||
|
|
Summary: Development files for %{name}
|
||
|
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
|
||
|
|
%description devel
|
||
|
|
The %{name}-devel package contains libraries and header files for %{name}.
|
||
|
|
|
||
|
|
%package_help
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{name}-%{version} -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
autoreconf -ivf
|
||
|
|
%configure
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
%delete_la
|
||
|
|
|
||
|
|
%ldconfig_scriptlets
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%doc AUTHORS COPYING
|
||
|
|
%{_libdir}/*.so.*
|
||
|
|
|
||
|
|
%files devel
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%{_includedir}/X11/extensions/*.h
|
||
|
|
%{_libdir}/*.so
|
||
|
|
%{_libdir}/*.a
|
||
|
|
%{_libdir}/pkgconfig/*.pc
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%defattr(-,root,root)
|
||
|
|
%{_mandir}/man3/*.3*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.1-9
|
||
|
|
- Package init
|