diff --git a/libXrandr.spec b/libXrandr.spec index 3d2c755c4cb5c9e2d982e0914fc1d5ba89ba5851..a80f01e34c45c372b164d2eaf2e65a24a8dbb2c7 100644 --- a/libXrandr.spec +++ b/libXrandr.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global tarball libXrandr #global gitdate 20130524 %global gitversion c90f74497 @@ -5,7 +6,7 @@ Summary: X.Org X11 libXrandr runtime library Name: libXrandr Version: 1.5.2 -Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{anolis_release}%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org @@ -31,6 +32,15 @@ BuildRequires: pkgconfig(x11) >= 1.6.0 %description X.Org X11 libXrandr runtime library +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. + %package devel Summary: X.Org X11 libXrandr development package Group: Development/Libraries @@ -58,10 +68,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %ldconfig_postun %files -%doc AUTHORS COPYING %{_libdir}/libXrandr.so.2 %{_libdir}/libXrandr.so.2.2.0 +%files doc +%doc AUTHORS COPYING + %files devel %{_includedir}/X11/extensions/Xrandr.h %{_libdir}/libXrandr.so @@ -70,6 +82,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_mandir}/man3/*.3* %changelog +* Mon Jul 17 2022 mgb01105731 - 1.5.2-1.0.1 +- Add doc sub package + * Thu Jun 04 2020 Benjamin Tissoires - 1.5.2-1 - libXrandr 1.5.2