standardize the specfile and add some missing build requirements [release 5.9.0-2mamba;Mon Apr 27 2015]

This commit is contained in:
Davide Madrisan 2024-01-06 03:05:38 +01:00
parent c1bf1ec3f3
commit 10f5b6becb
2 changed files with 22 additions and 17 deletions

View File

@ -1,4 +1,5 @@
# ktextwidgets
KTextWidgets provides widgets for displaying and editing text. It supports rich text as well as plain text.
KTextWidgets provides widgets for displaying and editing text.
It supports rich text as well as plain text.

View File

@ -1,8 +1,9 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: ktextwidgets
Version: 5.9.0
Release: 1mamba
Summary: Text editing widgets
Release: 2mamba
Summary: KDE Frameworks 5 text editing widgets
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
@ -33,14 +34,16 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KTextWidgets provides widgets for displaying and editing text. It supports rich text as well as plain text.
KTextWidgets provides widgets for displaying and editing text.
It supports rich text as well as plain text.
%package -n lib%{name}
Group: System/Libraries
Summary: Text editing widgets
%description -n lib%{name}
KTextWidgets provides widgets for displaying and editing text. It supports rich text as well as plain text.
KTextWidgets provides widgets for displaying and editing text.
It supports rich text as well as plain text.
%package -n lib%{name}-devel
Group: Development/Libraries
@ -57,14 +60,14 @@ This package contains libraries and header files for developing applications tha
%setup -q
%build
%cmake -d build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang ktextwidgets5
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -72,24 +75,25 @@ This package contains libraries and header files for developing applications tha
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name} -f ktextwidgets5.lang
%files -n lib%{name} -f %{name}5_qt.lang
%defattr(-,root,root)
%{_libdir}/libKF5TextWidgets.so.*
%{_datadir}/kservicetypes5/kregexpeditor.desktop
%{_kde5_libdir}/libKF5TextWidgets.so.*
%{_kde5_datadir}/kservicetypes5/kregexpeditor.desktop
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/KF5/KTextWidgets
%{_includedir}/KF5/KTextWidgets/*
%{_includedir}/KF5/ktextwidgets_version.h
%dir %{_libdir}/cmake/KF5TextWidgets
%{_libdir}/cmake/KF5TextWidgets/KF5TextWidgets*.cmake
%{_libdir}/libKF5TextWidgets.so
/usr/mkspecs/modules/qt_KTextWidgets.pri
%{_kde5_includedir}/KTextWidgets
%{_kde5_includedir}/ktextwidgets_version.h
%{_kde5_libdir}/cmake/KF5TextWidgets
%{_kde5_libdir}/libKF5TextWidgets.so
%{_kde5_mkspecsdir}/qt_KTextWidgets.pri
%doc README.md
%changelog
* Mon Apr 27 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-2mamba
- standardize the specfile and add some missing build requirements
* Thu Apr 16 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist