update to 1.9.80 [release 1.9.80-1mamba;Thu Dec 22 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:55 +01:00
parent 30171ae2c1
commit 25f74de23e

View File

@ -3,7 +3,7 @@
%define kdever %(echo `rpm -q --queryformat '%{VERSION}' kdelibs`)
Name: smb4k
Version: 1.2.2
Version: 1.9.80
Release: 1mamba
Summary: A SMB/CIFS share browser for KDE
Group: Graphical Desktop/Applications/Networking
@ -11,18 +11,37 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/p/smb4k/home/Home
Source: http://downloads.sourceforge.net/project/smb4k/%{version}/smb4k-%{version}.tar.xz
Source: http://downloads.sourceforge.net/project/smb4k/Development/smb4k-%{version}.tar.xz
#Source: http://downloads.sourceforge.net/project/smb4k/%{version}/smb4k-%{version}.tar.xz
Patch0: %{name}-0.10.10-io_charset_locale_fix.patch
Patch1: %{name}-0.10.74-arm_qreal_double.patch
Patch2: smb4k-1.2.0-fix-cmake.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: libQtDeclarative
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libsoprano-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libGL-devel
@ -58,7 +77,7 @@ This package provides the static libraries and headers needed for development.
#%patch2 -p1
%build
%cmake_kde4 -d build
%cmake_kde5 -d build
%make
@ -66,9 +85,6 @@ This package provides the static libraries and headers needed for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -d %{buildroot}%{_datadir}/
mv %{buildroot}/opt/kde/share/polkit-1 %{buildroot}%{_datadir}
%find_lang smb4k
%find_lang smb4k-core
%find_lang plasma_applet_smb4k-qml
@ -83,42 +99,41 @@ cat smb4k-core.lang plasma_applet_smb4k-qml.lang >> smb4k.lang
%files -f smb4k.lang
%defattr(-,root,root)
%{_sysconfdir}/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf
%{_datadir}/dbus-1/system-services/net.sourceforge.smb4k.mounthelper.service
%{_datadir}/polkit-1/actions/net.sourceforge.smb4k.mounthelper.policy
%{_kde4_bindir}/smb4k*
%{_kde4_sharedir}/appdata/smb4k.appdata.xml
%{_kde4_xdgappsdir}/smb4k.desktop
%dir %{_kde4_datadir}/smb4k
%{_kde4_datadir}/smb4k/*
%dir %{_kde4_datadir}/plasma/plasmoids/smb4k-qml
%{_kde4_datadir}/plasma/plasmoids/smb4k-qml/*
%{_kde4_libexecdir}/mounthelper
#%{_kde4_libdir}/libkdeinit4_smb4k.so
%{_kde4_libdir}/libsmb4ktooltips.so
%{_kde4_servicesdir}/plasma-applet-smb4k-qml.desktop
%{_kde4_kcfgdir}/smb4k.kcfg
%{_kde4_kconfupdatedir}/*
%{_kde4_icondir}/hicolor/*/apps/smb4k.png
%{_kde4_icondir}/oxygen/*/apps/smb4k.png
%lang(de) %{_kde4_htmldir}/de/*
%lang(en) %{_kde4_htmldir}/en/*
%lang(es) %{_kde4_htmldir}/es/*
%lang(et) %{_kde4_htmldir}/et/*
#%lang(fr) %{_kde4_htmldir}/fr/*
%lang(nl) %{_kde4_htmldir}/nl/*
#%lang(pt) %{_kde4_htmldir}/pt/*
%lang(pt_BR) %{_kde4_htmldir}/pt_BR/*
%lang(sv) %{_kde4_htmldir}/sv/*
%lang(uk) %{_kde4_htmldir}/uk/*
%{_kde4_libdir}/libsmb4kcore.so.*
%{_kde4_libdir}/kde4/*.so
%{_sysconfdir}/dbus-1/system.d/org.kde.smb4k.mounthelper.conf
%{_kde5_bindir}/smb4k*
%{_datadir}/applications/org.kde.smb4k.desktop
%{_datadir}/dbus-1/system-services/org.kde.smb4k.mounthelper.service
%{_datadir}/knotifications5/smb4k.notifyrc
%dir %{_datadir}/kxmlgui5/smb4k
%{_datadir}/kxmlgui5/smb4k/*
%{_datadir}/metainfo/org.kde.smb4k.appdata.xml
%{_datadir}/polkit-1/actions/org.kde.smb4k.mounthelper.policy
%{_kde5_kcfgdir}/smb4k.kcfg
%{_kde5_kconfupdatedir}/*
%{_libdir}/qt5/plugins/smb4k*.so
%{_libexecdir}/kf5/kauth/mounthelper
%{_kde5_icondir}/hicolor/*/apps/smb4k.png
%{_kde5_icondir}/oxygen/*/apps/smb4k.png
%lang(de) %{_kde5_htmldir}/de/*
%lang(en) %{_kde5_htmldir}/en/*
%lang(es) %{_kde5_htmldir}/es/*
%lang(et) %{_kde5_htmldir}/et/*
#%lang(fr) %{_kde5_htmldir}/fr/*
%lang(nl) %{_kde5_htmldir}/nl/*
#%lang(pt) %{_kde5_htmldir}/pt/*
%lang(pt_BR) %{_kde5_htmldir}/pt_BR/*
%lang(sv) %{_kde5_htmldir}/sv/*
%lang(uk) %{_kde5_htmldir}/uk/*
%{_kde5_libdir}/libsmb4kcore.so.*
%files devel
%defattr(-,root,root)
%{_kde4_libdir}/libsmb4kcore.so
%{_kde5_libdir}/libsmb4kcore.so
%changelog
* Thu Dec 22 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.80-1mamba
- update to 1.9.80
* Mon Dec 05 2016 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist