automatic version update by autodist [release 17.12.0-1mamba;Sat Jan 06 2018]
This commit is contained in:
parent
bb8facd19d
commit
d1a18e52ea
56
kmouth.spec
56
kmouth.spec
@ -1,5 +1,5 @@
|
|||||||
Name: kmouth
|
Name: kmouth
|
||||||
Version: 4.14.3
|
Version: 17.12.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: KDE's type-and-say frontend for speech synthesizers
|
Summary: KDE's type-and-say frontend for speech synthesizers
|
||||||
Group: Graphical Desktop/Applications/Accessibility
|
Group: Graphical Desktop/Applications/Accessibility
|
||||||
@ -7,7 +7,7 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
URL: http://www.kde.org
|
URL: http://www.kde.org
|
||||||
Source: http://download.kde.org/stable/%{version}/src/kmouth-%{version}.tar.xz
|
Source: http://download.kde.org/stable/applications/%{version}/src/kmouth-%{version}.tar.xz
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libqt4-devel
|
||||||
@ -17,10 +17,10 @@ BuildRequires: glibc-devel
|
|||||||
BuildRequires: kdelibs-devel
|
BuildRequires: kdelibs-devel
|
||||||
BuildRequires: kde-workspace-devel
|
BuildRequires: kde-workspace-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libqt5-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: kde-workspace
|
#Requires: kde-workspace
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,47 +32,67 @@ KDE's type-and-say frontend for speech synthesizers.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde4 -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}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
update-desktop-database -q >/dev/null 2>&1
|
update-desktop-database -q >/dev/null 2>&1
|
||||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
update-desktop-database -q >/dev/null 2>&1
|
update-desktop-database -q >/dev/null 2>&1
|
||||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||||
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files -f %{name}5_qt.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_kde4_bindir}/kmouth
|
%{_kde5_bindir}/kmouth
|
||||||
%{_kde4_xdgappsdir}/kmouth.desktop
|
%{_kde5_xdgappsdir}/org.kde.kmouth.desktop
|
||||||
%{_kde4_datadir}/kmouth
|
%{_kde5_datadir}/kmouth
|
||||||
%config %{_kde4_configdir}/kmouthrc
|
%config %{_kde5_configdir}/kmouthrc
|
||||||
%doc %lang(en) %{_kde4_htmldir}/en/kmouth
|
%doc %lang(en) %{_kde5_htmldir}/en/kmouth
|
||||||
%{_kde4_icondir}/hicolor/*/apps/kmouth.png
|
%{_kde5_icondir}/hicolor/*/apps/kmouth.png
|
||||||
|
%dir %{_datadir}/kxmlgui5/kmouth
|
||||||
|
%{_datadir}/kxmlgui5/kmouth/*
|
||||||
%{_mandir}/man1/kmouth.*
|
%{_mandir}/man1/kmouth.*
|
||||||
|
%lang(ca) %{_datadir}/doc/HTML/ca/kmouth
|
||||||
|
%lang(da) %{_datadir}/doc/HTML/da/kmouth
|
||||||
|
%lang(de) %{_datadir}/doc/HTML/de/kmouth
|
||||||
|
%lang(es) %{_datadir}/doc/HTML/es/kmouth
|
||||||
|
%lang(fr) %{_datadir}/doc/HTML/fr/kmouth
|
||||||
|
%lang(it) %{_datadir}/doc/HTML/it/kmouth
|
||||||
|
%lang(nl) %{_datadir}/doc/HTML/nl/kmouth
|
||||||
|
%lang(pt) %{_datadir}/doc/HTML/pt/kmouth
|
||||||
|
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kmouth
|
||||||
|
%lang(sv) %{_datadir}/doc/HTML/sv/kmouth
|
||||||
|
%lang(uk) %{_datadir}/doc/HTML/uk/kmouth
|
||||||
|
%{_datadir}/icons/hicolor/*/actions/phrase.png
|
||||||
|
%{_datadir}/icons/hicolor/*/actions/phrasebook.png
|
||||||
%doc AUTHORS COPYING COPYING.DOC
|
%doc AUTHORS COPYING COPYING.DOC
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 17.12.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
|
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user