Package init
This commit is contained in:
commit
d7f05add57
BIN
libXrender-0.9.10.tar.bz2
Normal file
BIN
libXrender-0.9.10.tar.bz2
Normal file
Binary file not shown.
57
libXrender.spec
Normal file
57
libXrender.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Name: libXrender
|
||||||
|
Version: 0.9.10
|
||||||
|
Release: 9
|
||||||
|
License: MIT
|
||||||
|
Summary: X.Org X11 libXrender 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 pkgconfig libX11-devel
|
||||||
|
Requires: libX11 >= 1.5.99.902
|
||||||
|
|
||||||
|
%description
|
||||||
|
X.Org X11 libXrender 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.*
|
||||||
|
|
||||||
|
%exclude %{_docdir}/*/libXrender.txt
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/X11/extensions/*.h
|
||||||
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc doc/libXrender.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.9.10-9
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user