move shared library to its own package [release 5.74.0-2mamba;Sat Oct 03 2020]
This commit is contained in:
parent
3b16ae90ac
commit
ba7ad82113
@ -2,7 +2,7 @@
|
||||
|
||||
Name: kdoctools
|
||||
Version: 5.74.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Provides tools to generate documentation in various format from DocBook files
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
@ -13,6 +13,7 @@ Source: http://download.kde.org/stable/frameworks/%{majver}/kdoctools-%{v
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libkarchive-devel
|
||||
BuildRequires: libqt5-devel
|
||||
@ -26,23 +27,33 @@ BuildRequires: rpm-macros-kde5
|
||||
BuildRequires: docbook-dtds
|
||||
BuildRequires: docbook-xsl
|
||||
BuildRequires: libki18n-devel
|
||||
BuildRequires: libkarchive-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: perl
|
||||
BuildRequires: python
|
||||
Requires: docbook-dtds
|
||||
Requires: docbook-xsl
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Provides tools to generate documentation in various format from DocBook files.
|
||||
|
||||
%package devel
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared library provided by %{name}
|
||||
|
||||
%description -n lib%{name}
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: %{name}-devel
|
||||
Obsoletes: %{name}-devel
|
||||
|
||||
%description devel
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
@ -63,20 +74,26 @@ This package contains libraries and header files for developing applications tha
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -f kdoctools5.lang
|
||||
%defattr(-,root,root)
|
||||
%{_kde5_bindir}/checkXML5
|
||||
%{_kde5_bindir}/meinproc5
|
||||
%{_kde5_libdir}/libKF5DocTools.so.*
|
||||
%{_datadir}/doc/HTML/*/kdoctools5-common
|
||||
%{_kde5_datadir}/kf5/kdoctools
|
||||
%{_mandir}/man1/checkXML5.*
|
||||
%{_mandir}/man1/meinproc5.*
|
||||
%{_mandir}/man7/kf5options.*
|
||||
%{_mandir}/man7/qt5options.*
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_kde5_libdir}/libKF5DocTools.so.*
|
||||
%doc LICENSES
|
||||
|
||||
%files devel
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_kde5_includedir}/KDocTools
|
||||
%{_kde5_includedir}/KDocTools/*.h
|
||||
@ -84,6 +101,9 @@ This package contains libraries and header files for developing applications tha
|
||||
%{_kde5_libdir}/cmake/KF5DocTools
|
||||
|
||||
%changelog
|
||||
* Sat Oct 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.74.0-2mamba
|
||||
- move shared library to its own package
|
||||
|
||||
* Tue Sep 15 2020 Automatic Build System <autodist@mambasoft.it> 5.74.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user