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