split off devel docs

This commit is contained in:
Nils Philippsen 2018-05-21 14:34:05 +02:00
parent 6677be3b5d
commit bd150c9d6a

View File

@ -68,12 +68,25 @@ minimal dependencies and a simple well defined API.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-devel < 0.4.2
Conflicts: %{name}-devel < 0.4.2
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use GEGL API version %{apiver}.
%package devel-docs
Summary: Documentation files for developing with %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-devel < 0.4.2
Conflicts: %{name}-devel < 0.4.2
%description devel-docs
The %{name}-devel-docs package contains documentation files for developing
applications that use GEGL API version %{apiver}.
%package tools
Summary: Command line tools for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -120,7 +133,6 @@ find %{buildroot} -name '*.la' -delete
%{_libdir}/girepository-1.0/Gegl-%{apiver}.typelib
%files devel
%doc %{_datadir}/gtk-doc/
%{_includedir}/gegl-%{apiver}/
%{_libdir}/libgegl-%{apiver}.so
%{_libdir}/pkgconfig/gegl-%{apiver}.pc
@ -132,12 +144,18 @@ find %{buildroot} -name '*.la' -delete
%{_datadir}/vala/vapi/gegl-%{apiver}.deps
%{_datadir}/vala/vapi/gegl-%{apiver}.vapi
%files devel-docs
%doc %{_datadir}/gtk-doc/
%files tools
%license COPYING
%{_bindir}/*
%changelog
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de>
- split off devel docs
* Mon May 21 2018 Nils Philippsen <nils@tiptoe.de> - 0.4.2-1
- version 0.4.2