standardize the specfile and add some missing build requirements [release 5.9.0-2mamba;Wed Apr 29 2015]
This commit is contained in:
parent
afe076453f
commit
5740865df9
@ -1,5 +1,6 @@
|
||||
# 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.
|
||||
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.
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
|
||||
Name: kcompletion
|
||||
Version: 5.9.0
|
||||
Release: 1mamba
|
||||
Summary: Automatic completion framework
|
||||
Release: 2mamba
|
||||
Summary: KDE Frameworks 5 automatic completion framework
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
@ -12,19 +13,27 @@ Source: http://download.kde.org/stable/frameworks/%{majver}/kcompletion-%
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kconfig-devel
|
||||
BuildRequires: libkconfig-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libkwidgetsaddons-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
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}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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.
|
||||
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}
|
||||
Group: System/Libraries
|
||||
@ -32,7 +41,8 @@ Summary: Automatic completion framework
|
||||
|
||||
%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.
|
||||
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
|
||||
Group: Development/Libraries
|
||||
@ -48,14 +58,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 %{name} || touch %{name}.lang
|
||||
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
||||
|
||||
%clean
|
||||
[ "%{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
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}
|
||||
%files -n lib%{name} -f %{name}5_qt.lang
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libKF5Completion.so.*
|
||||
%{_datadir}/locale/*/LC_MESSAGES/kcompletion5_qt.qm
|
||||
%{_kde5_libdir}/libKF5Completion.so.*
|
||||
%doc COPYING.LIB
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/KF5/KCompletion
|
||||
%{_includedir}/KF5/KCompletion/*
|
||||
%{_includedir}/KF5/kcompletion_version.h
|
||||
%dir %{_libdir}/cmake/KF5Completion
|
||||
%{_libdir}/cmake/KF5Completion/KF5Completion*.cmake
|
||||
%{_libdir}/libKF5Completion.so
|
||||
/usr/mkspecs/modules/qt_KCompletion.pri
|
||||
%{_kde5_includedir}/KCompletion
|
||||
%{_kde5_includedir}/kcompletion_version.h
|
||||
%{_kde5_libdir}/cmake/KF5Completion
|
||||
%{_kde5_libdir}/libKF5Completion.so
|
||||
%{_kde5_mkspecsdir}/qt_KCompletion.pri
|
||||
%doc README.md
|
||||
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user