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

This commit is contained in:
Davide Madrisan 2024-01-06 00:49:46 +01:00
parent afe076453f
commit 5740865df9
2 changed files with 29 additions and 19 deletions

View File

@ -1,5 +1,6 @@
# kcompletion # kcompletion
When typing filenames, email addresses and other text where the user often wants to select from existing data (including what they previously typed) rather than enter anything wholly original, users often find it helpful if they only need to type the first few characters, and then have the application offer them a set of choices or attempt to finish off what they were typing. Email clients, shells and "open file" dialogs often provide this functionality. When typing filenames, email addresses and other text where the user often wants to select from existing data (including what they previously typed) rather than enter anything wholly original, users often find it helpful if they only need to type the first few characters, and then have the application offer them a set of choices or attempt to finish off what they were typing. Email clients, shells and "open file" dialogs often provide this functionality.
This framework helps implement this in Qt-based applications. You can use one of the completion-ready widgets provided by this framework, or integrate it into your application's other widgets directly. This framework helps implement this in Qt-based applications.
You can use one of the completion-ready widgets provided by this framework, or integrate it into your application's other widgets directly.

View File

@ -1,8 +1,9 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: kcompletion Name: kcompletion
Version: 5.9.0 Version: 5.9.0
Release: 1mamba Release: 2mamba
Summary: Automatic completion framework Summary: KDE Frameworks 5 automatic completion framework
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
@ -12,19 +13,27 @@ Source: http://download.kde.org/stable/frameworks/%{majver}/kcompletion-%
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: kconfig-devel BuildRequires: libkconfig-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwidgetsaddons-devel
BuildRequires: libqt5-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: rpm-macros-kde5
BuildRequires: libQt5Core
BuildRequires: libQt5Gui
BuildRequires: libQt5Widgets
BuildRequires: libkconfig-devel
BuildRequires: libkwidgetsaddons-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
When typing filenames, email addresses and other text where the user often wants to select from existing data (including what they previously typed) rather than enter anything wholly original, users often find it helpful if they only need to type the first few characters, and then have the application offer them a set of choices or attempt to finish off what they were typing. Email clients, shells and "open file" dialogs often provide this functionality. When typing filenames, email addresses and other text where the user often wants to select from existing data (including what they previously typed) rather than enter anything wholly original, users often find it helpful if they only need to type the first few characters, and then have the application offer them a set of choices or attempt to finish off what they were typing. Email clients, shells and "open file" dialogs often provide this functionality.
This framework helps implement this in Qt-based applications. You can use one of the completion-ready widgets provided by this framework, or integrate it into your application's other widgets directly. This framework helps implement this in Qt-based applications.
You can use one of the completion-ready widgets provided by this framework, or integrate it into your application's other widgets directly.
%package -n lib%{name} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
@ -32,7 +41,8 @@ Summary: Automatic completion framework
%description -n lib%{name} %description -n lib%{name}
When typing filenames, email addresses and other text where the user often wants to select from existing data (including what they previously typed) rather than enter anything wholly original, users often find it helpful if they only need to type the first few characters, and then have the application offer them a set of choices or attempt to finish off what they were typing. Email clients, shells and "open file" dialogs often provide this functionality. When typing filenames, email addresses and other text where the user often wants to select from existing data (including what they previously typed) rather than enter anything wholly original, users often find it helpful if they only need to type the first few characters, and then have the application offer them a set of choices or attempt to finish off what they were typing. Email clients, shells and "open file" dialogs often provide this functionality.
This framework helps implement this in Qt-based applications. You can use one of the completion-ready widgets provided by this framework, or integrate it into your application's other widgets directly. This framework helps implement this in Qt-based applications.
You can use one of the completion-ready widgets provided by this framework, or integrate it into your application's other widgets directly.
%package -n lib%{name}-devel %package -n lib%{name}-devel
Group: Development/Libraries Group: Development/Libraries
@ -48,14 +58,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 %{name} || touch %{name}.lang %find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -63,25 +73,24 @@ 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} %files -n lib%{name} -f %{name}5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libKF5Completion.so.* %{_kde5_libdir}/libKF5Completion.so.*
%{_datadir}/locale/*/LC_MESSAGES/kcompletion5_qt.qm
%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/KCompletion %{_kde5_includedir}/KCompletion
%{_includedir}/KF5/KCompletion/* %{_kde5_includedir}/kcompletion_version.h
%{_includedir}/KF5/kcompletion_version.h %{_kde5_libdir}/cmake/KF5Completion
%dir %{_libdir}/cmake/KF5Completion %{_kde5_libdir}/libKF5Completion.so
%{_libdir}/cmake/KF5Completion/KF5Completion*.cmake %{_kde5_mkspecsdir}/qt_KCompletion.pri
%{_libdir}/libKF5Completion.so
/usr/mkspecs/modules/qt_KCompletion.pri
%doc README.md %doc README.md
%changelog %changelog
* Wed Apr 29 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-2mamba
- standardize the specfile and add some missing build requirements
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba * Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist - automatic version update by autodist