moved documentation to subpackage in order to prevent multilib conflicts

This commit is contained in:
Martin Gieseking 2013-02-22 14:44:01 +01:00
parent 45250bb403
commit caa46d20ca

View File

@ -1,6 +1,6 @@
Name: liblouis
Version: 2.5.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Braille translation and back-translation library
Group: System Environment/Libraries
@ -64,6 +64,16 @@ Requires: %{name} = %{version}-%{release}
This package provides Python language bindings for %{name}.
%package doc
Summary: Documentation for %{name}
Group: Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description doc
This package provides the documentation for liblouis.
%prep
%setup -q
@ -73,7 +83,6 @@ This package provides Python language bindings for %{name}.
make %{?_smp_mflags}
make -C doc %{name}.pdf
# Don't run the tests as they haven't been adapted to the current release yet.
#%check
#make check
@ -111,7 +120,6 @@ fi
%files
%defattr(-,root,root,-)
%doc README COPYING.LIB AUTHORS NEWS ChangeLog TODO
%doc doc/%{name}.{html,txt,pdf}
%{_libdir}/%{name}.so.*
%{_datadir}/%{name}/
%{_infodir}/%{name}.info*
@ -133,8 +141,14 @@ fi
%doc python/README
%{python_sitelib}/louis/
%files doc
%doc doc/%{name}.{html,txt,pdf}
%changelog
* Fri Feb 22 2013 Martin Gieseking <martin.gieseking@uos.de> 2.5.2-2
- Moved documentation to doc subpackage.
* Wed Feb 06 2013 Martin Gieseking <martin.gieseking@uos.de> 2.5.2-1
- Updated to new upstream release.