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
|
||||||
|
|
||||||
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.
|
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)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
Name: sonnet
|
Name: sonnet
|
||||||
Version: 5.9.0
|
Version: 5.9.0
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Multi-language spell checker
|
Summary: Multi-language spell checker
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,7 +10,7 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.kde.org
|
URL: http://www.kde.org
|
||||||
Source: http://download.kde.org/stable/frameworks/%{majver}/sonnet-%{version}.tar.xz
|
Source: http://download.kde.org/stable/frameworks/%{majver}/sonnet-%{version}.tar.xz
|
||||||
License: GPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libaspell-devel
|
BuildRequires: libaspell-devel
|
||||||
@ -21,11 +22,20 @@ BuildRequires: libstdc++6-devel
|
|||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
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}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%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.
|
It also supports automated language detection, based on a combination of different algorithms.
|
||||||
|
|
||||||
%package -n lib%{name}
|
%package -n lib%{name}
|
||||||
@ -33,7 +43,8 @@ Group: System/Libraries
|
|||||||
Summary: Multi-language spell checker
|
Summary: Multi-language spell checker
|
||||||
|
|
||||||
%description -n lib%{name}
|
%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.
|
It also supports automated language detection, based on a combination of different algorithms.
|
||||||
|
|
||||||
%package -n lib%{name}-devel
|
%package -n lib%{name}-devel
|
||||||
@ -51,14 +62,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 sonnet5_qt --with-qt --all-name || touch sonnet5_qt.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{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
|
%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 sonnet5_qt.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libKF5SonnetCore.so.*
|
%{_kde5_libdir}/libKF5SonnetCore.so.*
|
||||||
%{_libdir}/libKF5SonnetUi.so.*
|
%{_kde5_libdir}/libKF5SonnetUi.so.*
|
||||||
%{_libdir}/plugins/kf5/sonnet/aspell.so
|
%{_kde5_pluginsdir}/sonnet
|
||||||
%{_libdir}/plugins/kf5/sonnet/hspell.so
|
%{_kde5_datadir}/kf5/sonnet
|
||||||
%{_libdir}/plugins/kf5/sonnet/hunspell.so
|
|
||||||
%dir %{_datadir}/kf5/sonnet
|
|
||||||
%{_datadir}/kf5/sonnet/trigrams.map
|
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/sonnet5_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/SonnetCore
|
%{_kde5_includedir}/SonnetCore
|
||||||
%dir %{_includedir}/KF5/SonnetCore/Sonnet
|
%{_kde5_includedir}/SonnetUi
|
||||||
%{_includedir}/KF5/SonnetCore/Sonnet/*
|
%{_kde5_includedir}/sonnet_version.h
|
||||||
%dir %{_includedir}/KF5/SonnetCore/sonnet
|
%{_kde5_libdir}/cmake/KF5Sonnet
|
||||||
%{_includedir}/KF5/SonnetCore/sonnet/*
|
%{_kde5_libdir}/libKF5SonnetCore.so
|
||||||
%dir %{_includedir}/KF5/SonnetUi
|
%{_kde5_libdir}/libKF5SonnetUi.so
|
||||||
%dir %{_includedir}/KF5/SonnetUi/Sonnet
|
%{_kde5_mkspecsdir}/qt_SonnetCore.pri
|
||||||
%{_includedir}/KF5/SonnetUi/Sonnet/*
|
%{_kde5_mkspecsdir}/qt_SonnetUi.pri
|
||||||
%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
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-2mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user