Package init

This commit is contained in:
overweight 2019-09-30 10:59:45 -04:00
commit 95da909781
2 changed files with 56 additions and 0 deletions

BIN
libXres-1.2.0.tar.bz2 Normal file

Binary file not shown.

56
libXres.spec Normal file
View File

@ -0,0 +1,56 @@
Name: libXres
Version: 1.2.0
Release: 6
License: MIT
Summary: X-Resource extension client library
URL: https://www.x.org
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: xorg-x11-util-macros autoconf automake libtool libXext-devel libX11-devel
Requires: libX11 >= 1.5.99.902
%description
X-Resource is an extension that allows a client to query
the X server about its usage of various resources.
%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
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.0-6
- Package init