moved documentation to subpackage in order to prevent multilib conflicts
This commit is contained in:
parent
45250bb403
commit
caa46d20ca
@ -1,6 +1,6 @@
|
|||||||
Name: liblouis
|
Name: liblouis
|
||||||
Version: 2.5.2
|
Version: 2.5.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Braille translation and back-translation library
|
Summary: Braille translation and back-translation library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -64,6 +64,16 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
This package provides Python language bindings for %{name}.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -73,7 +83,6 @@ This package provides Python language bindings for %{name}.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
make -C doc %{name}.pdf
|
make -C doc %{name}.pdf
|
||||||
|
|
||||||
|
|
||||||
# Don't run the tests as they haven't been adapted to the current release yet.
|
# Don't run the tests as they haven't been adapted to the current release yet.
|
||||||
#%check
|
#%check
|
||||||
#make check
|
#make check
|
||||||
@ -111,7 +120,6 @@ fi
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING.LIB AUTHORS NEWS ChangeLog TODO
|
%doc README COPYING.LIB AUTHORS NEWS ChangeLog TODO
|
||||||
%doc doc/%{name}.{html,txt,pdf}
|
|
||||||
%{_libdir}/%{name}.so.*
|
%{_libdir}/%{name}.so.*
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
%{_infodir}/%{name}.info*
|
%{_infodir}/%{name}.info*
|
||||||
@ -133,8 +141,14 @@ fi
|
|||||||
%doc python/README
|
%doc python/README
|
||||||
%{python_sitelib}/louis/
|
%{python_sitelib}/louis/
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%doc doc/%{name}.{html,txt,pdf}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 06 2013 Martin Gieseking <martin.gieseking@uos.de> 2.5.2-1
|
||||||
- Updated to new upstream release.
|
- Updated to new upstream release.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user