fix license and standardize the specfile [release 5.9.0-3mamba;Sat Apr 25 2015]
This commit is contained in:
parent
a86e067c27
commit
a7923809f3
@ -1,5 +1,6 @@
|
||||
# sonnet
|
||||
|
||||
Sonnet is a plugin-based spell checking library for Qt-based applications. It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL.
|
||||
Sonnet is a plugin-based spell checking library for Qt-based applications.
|
||||
It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL.
|
||||
It also supports automated language detection, based on a combination of different algorithms.
|
||||
|
||||
|
65
sonnet.spec
65
sonnet.spec
@ -1,7 +1,8 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
|
||||
Name: sonnet
|
||||
Version: 5.9.0
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: Multi-language spell checker
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -9,7 +10,7 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.kde.org
|
||||
Source: http://download.kde.org/stable/frameworks/%{majver}/sonnet-%{version}.tar.xz
|
||||
License: GPL
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libaspell-devel
|
||||
@ -21,11 +22,20 @@ BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: rpm-macros-kde5
|
||||
BuildRequires: libQt5Core
|
||||
BuildRequires: libQt5Gui
|
||||
BuildRequires: libQt5Widgets
|
||||
#BuildRequires: Qt5LinguistTools
|
||||
BuildRequires: libQt5Test
|
||||
BuildRequires: libz-devel
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Sonnet is a plugin-based spell checking library for Qt-based applications. It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL.
|
||||
Sonnet is a plugin-based spell checking library for Qt-based applications.
|
||||
It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL.
|
||||
It also supports automated language detection, based on a combination of different algorithms.
|
||||
|
||||
%package -n lib%{name}
|
||||
@ -33,7 +43,8 @@ Group: System/Libraries
|
||||
Summary: Multi-language spell checker
|
||||
|
||||
%description -n lib%{name}
|
||||
Sonnet is a plugin-based spell checking library for Qt-based applications. It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL.
|
||||
Sonnet is a plugin-based spell checking library for Qt-based applications.
|
||||
It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL.
|
||||
It also supports automated language detection, based on a combination of different algorithms.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
@ -51,14 +62,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 sonnet5_qt --with-qt --all-name || touch sonnet5_qt.lang
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -66,40 +77,30 @@ 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 sonnet5_qt.lang
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libKF5SonnetCore.so.*
|
||||
%{_libdir}/libKF5SonnetUi.so.*
|
||||
%{_libdir}/plugins/kf5/sonnet/aspell.so
|
||||
%{_libdir}/plugins/kf5/sonnet/hspell.so
|
||||
%{_libdir}/plugins/kf5/sonnet/hunspell.so
|
||||
%dir %{_datadir}/kf5/sonnet
|
||||
%{_datadir}/kf5/sonnet/trigrams.map
|
||||
%{_datadir}/locale/*/LC_MESSAGES/sonnet5_qt.qm
|
||||
%{_kde5_libdir}/libKF5SonnetCore.so.*
|
||||
%{_kde5_libdir}/libKF5SonnetUi.so.*
|
||||
%{_kde5_pluginsdir}/sonnet
|
||||
%{_kde5_datadir}/kf5/sonnet
|
||||
%doc COPYING.LIB
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/KF5/SonnetCore
|
||||
%dir %{_includedir}/KF5/SonnetCore/Sonnet
|
||||
%{_includedir}/KF5/SonnetCore/Sonnet/*
|
||||
%dir %{_includedir}/KF5/SonnetCore/sonnet
|
||||
%{_includedir}/KF5/SonnetCore/sonnet/*
|
||||
%dir %{_includedir}/KF5/SonnetUi
|
||||
%dir %{_includedir}/KF5/SonnetUi/Sonnet
|
||||
%{_includedir}/KF5/SonnetUi/Sonnet/*
|
||||
%dir %{_includedir}/KF5/SonnetUi/sonnet
|
||||
%{_includedir}/KF5/SonnetUi/sonnet/*
|
||||
%{_includedir}/KF5/sonnet_version.h
|
||||
%dir %{_libdir}/cmake/KF5Sonnet
|
||||
%{_libdir}/cmake/KF5Sonnet/KF5Sonnet*.cmake
|
||||
%{_libdir}/libKF5SonnetCore.so
|
||||
%{_libdir}/libKF5SonnetUi.so
|
||||
/usr/mkspecs/modules/qt_SonnetCore.pri
|
||||
/usr/mkspecs/modules/qt_SonnetUi.pri
|
||||
%{_kde5_includedir}/SonnetCore
|
||||
%{_kde5_includedir}/SonnetUi
|
||||
%{_kde5_includedir}/sonnet_version.h
|
||||
%{_kde5_libdir}/cmake/KF5Sonnet
|
||||
%{_kde5_libdir}/libKF5SonnetCore.so
|
||||
%{_kde5_libdir}/libKF5SonnetUi.so
|
||||
%{_kde5_mkspecsdir}/qt_SonnetCore.pri
|
||||
%{_kde5_mkspecsdir}/qt_SonnetUi.pri
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sat Apr 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-3mamba
|
||||
- fix license and standardize the specfile
|
||||
|
||||
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-2mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user