automatic version update by autodist [release 15.12.2-1mamba;Wed Feb 17 2016]

This commit is contained in:
Automatic Build System 2024-01-06 06:27:57 +01:00
parent fef83f7b34
commit 668c7883e8

View File

@ -1,5 +1,5 @@
Name: lokalize
Version: 4.14.3
Version: 15.12.2
Release: 1mamba
Summary: Computer-aided translation system for KDE4
Group: Graphical Desktop/Applications/Development
@ -7,20 +7,19 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/%{version}/src/lokalize-%{version}.tar.xz
Source: http://download.kde.org/stable/applications/%{version}/src/lokalize-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: libgcc
BuildRequires: libhunspell-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: automoc4
BuildRequires: cmake
Requires: kdelibs%{?_kde4_version: >= %{_kde4_version}}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -33,7 +32,7 @@ This package is part of KDE4.
%setup -q
%build
%cmake_kde4 -d build
%cmake_kde5 -d build
%make
%install
@ -44,67 +43,51 @@ This package is part of KDE4.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
exit 0
%posttrans
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
exit 0
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
fi
exit 0
%files
%defattr(-,root,root)
%{_kde4_bindir}/lokalize
%{_kde4_xdgappsdir}/lokalize.desktop
%dir %{_kde4_datadir}/lokalize
%{_kde4_datadir}/lokalize/editorui.rc
%{_kde4_datadir}/lokalize/filesearchtabui.rc
%dir %{_kde4_datadir}/lokalize/icons/hicolor
%{_kde4_datadir}/lokalize/icons/hicolor/*
%dir %{_kde4_datadir}/lokalize/icons/locolor
%{_kde4_datadir}/lokalize/icons/locolor/*
%{_kde4_datadir}/lokalize/lokalize.notifyrc
%{_kde4_datadir}/lokalize/lokalizemainwindowui.rc
%{_kde4_datadir}/lokalize/projectmanagerui.rc
%dir %{_kde4_datadir}/lokalize/scripts
%{_kde4_datadir}/lokalize/scripts/find-gui-text.sh
%{_kde4_datadir}/lokalize/scripts/msgmerge.py
%{_kde4_datadir}/lokalize/scripts/msgmerge.rc
%{_kde4_datadir}/lokalize/scripts/newprojectwizard.py
%{_kde4_datadir}/lokalize/scripts/newprojectwizard.rc
%{_kde4_datadir}/lokalize/scripts/odf/xliff2odf-standalone.py
%{_kde4_datadir}/lokalize/scripts/odf/xliff2odf.py
%{_kde4_datadir}/lokalize/scripts/odf/xliff2odf.rc
%{_kde4_datadir}/lokalize/scripts/odf/xliffmerge.py
%{_kde4_datadir}/lokalize/scriptsui.rc
%{_kde4_datadir}/lokalize/translationmemoryrui.rc
%{_kde4_kcfgdir}/lokalize.kcfg
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/common
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/configure_shortcuts.png
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/configure_toolbar.png
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/default_editor_lokalize.png
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/glossary.png
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/index.cache.bz2
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/index.docbook
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/original-diff.png
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/project_overview.png
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/sync.png
%doc %lang(en) %{_kde4_htmldir}/en/lokalize/tmview.png
%{_kde4_icondir}/hicolor/*/apps/lokalize.png
%{_kde4_icondir}/hicolor/scalable/apps/lokalize.svgz
%{_kde5_bindir}/lokalize
%{_datadir}/applications/org.kde.lokalize.desktop
%{_datadir}/config.kcfg/lokalize.kcfg
%dir %{_datadir}/doc/HTML/en/lokalize
%{_datadir}/doc/HTML/en/lokalize/*
%{_datadir}/icons/hicolor/*/apps/lokalize.png
%{_datadir}/icons/hicolor/scalable/apps/lokalize.svgz
%{_datadir}/knotifications5/lokalize.notifyrc
%dir %{_datadir}/kxmlgui5/lokalize/*.rc
%{_datadir}/kxmlgui5/lokalize/*.rc
%dir %{_datadir}/lokalize
%{_datadir}/lokalize/icons/hicolor/*/actions/*.png
%{_datadir}/lokalize/icons/hicolor/scalable/actions/approved.svgz
%{_datadir}/lokalize/icons/locolor/*/actions/*.png
%dir %{_datadir}/lokalize/scripts
%{_datadir}/lokalize/scripts/find-gui-text.sh
%{_datadir}/lokalize/scripts/msgmerge.*
%dir %{_datadir}/lokalize/scripts/odf
%{_datadir}/lokalize/scripts/odf/xliff*
%doc COPYING COPYING.DOC
%changelog
* Wed Feb 17 2016 Automatic Build System <autodist@mambasoft.it> 15.12.2-1mamba
- automatic version update by autodist
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
- automatic version update by autodist