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