2024-01-05 17:52:55 +01:00
|
|
|
%define kdedir %(echo `kde-config --prefix`)
|
|
|
|
%define qtver %(echo `rpm -q --queryformat '%{VERSION}' libqt`)
|
|
|
|
%define kdever %(echo `rpm -q --queryformat '%{VERSION}' kdelibs`)
|
|
|
|
|
|
|
|
Name: smb4k
|
2024-01-05 17:52:55 +01:00
|
|
|
Version: 3.0.2
|
2024-01-05 17:52:55 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:52:55 +01:00
|
|
|
Summary: A SMB/CIFS share browser for KDE
|
|
|
|
Group: Graphical Desktop/Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://sourceforge.net/p/smb4k/home/Home
|
2024-01-05 17:52:55 +01:00
|
|
|
Source: https://anongit.kde.org/smb4k.git/%{version}/smb4k-%{version}.tar.bz2
|
2024-01-05 17:52:55 +01:00
|
|
|
#Source: http://downloads.sourceforge.net/project/smb4k/%{version}/smb4k-%{version}.tar.xz
|
2024-01-05 17:52:55 +01:00
|
|
|
Patch0: %{name}-0.10.10-io_charset_locale_fix.patch
|
|
|
|
Patch1: %{name}-0.10.74-arm_qreal_double.patch
|
2024-01-05 17:52:55 +01:00
|
|
|
Patch2: smb4k-1.2.0-fix-cmake.patch
|
2024-01-05 17:52:55 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-05 17:52:55 +01:00
|
|
|
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
|
2024-01-05 17:52:55 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: libxml2-utils
|
|
|
|
Provides: smb4k4
|
|
|
|
Obsoletes: smb4k4
|
|
|
|
Requires: samba >= 3.0.3-2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Smb4K is a SMB/CIFS share browser for KDE.
|
|
|
|
It uses the Samba software suite to access the SMB shares of the local network neighborhood.
|
|
|
|
Its purpose is to provide a program that's easy to use and has as many features as possible.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Provides: smb4k4-devel
|
|
|
|
Obsoletes: smb4k4-devel
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Smb4K is a SMB/CIFS share browser for KDE.
|
|
|
|
It uses the Samba software suite to access the SMB shares of the local network neighborhood.
|
|
|
|
Its purpose is to provide a program that's easy to use and has as many features as possible.
|
|
|
|
This package provides the static libraries and headers needed for development.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:52:55 +01:00
|
|
|
#%patch2 -p1
|
2024-01-05 17:52:55 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 17:52:55 +01:00
|
|
|
%cmake_kde5 -d build
|
2024-01-05 17:52:55 +01:00
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
#% find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
|
2024-01-05 17:52:55 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
%files
|
|
|
|
#-f %{name}5_qt.lang
|
2024-01-05 17:52:55 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_kde5_bindir}/smb4k*
|
|
|
|
%{_datadir}/applications/org.kde.smb4k.desktop
|
|
|
|
%{_datadir}/dbus-1/system-services/org.kde.smb4k.mounthelper.service
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_datadir}/dbus-1/system.d/org.kde.smb4k.mounthelper.conf
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_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}/*
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_kde5_libdir}/libsmb4kcore.so.*
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_libdir}/qt5/plugins/smb4k*.so
|
2024-01-05 17:52:55 +01:00
|
|
|
%dir %{_libdir}/qt5/qml/org/kde/smb4k
|
|
|
|
%dir %{_libdir}/qt5/qml/org/kde/smb4k/smb4kqmlplugin
|
|
|
|
%{_libdir}/qt5/qml/org/kde/smb4k/smb4kqmlplugin/*
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_libexecdir}/kf5/kauth/mounthelper
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_datadir}/kservices5/plasma-applet-org.kde.smb4kqml.desktop
|
|
|
|
%{_datadir}/metainfo/org.kde.smb4kqml.appdata.xml
|
|
|
|
%dir %{_datadir}/plasma/plasmoids/org.kde.smb4kqml
|
|
|
|
%{_datadir}/plasma/plasmoids/org.kde.smb4kqml/*
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_kde5_icondir}/hicolor/*/apps/smb4k.png
|
|
|
|
%{_kde5_icondir}/oxygen/*/apps/smb4k.png
|
2024-01-05 17:52:55 +01:00
|
|
|
#%lang(de) %{_kde5_htmldir}/de/*
|
2024-01-05 17:52:55 +01:00
|
|
|
%lang(en) %{_kde5_htmldir}/en/*
|
2024-01-05 17:52:55 +01:00
|
|
|
#%lang(es) %{_kde5_htmldir}/es/*
|
|
|
|
#%lang(et) %{_kde5_htmldir}/et/*
|
2024-01-05 17:52:55 +01:00
|
|
|
#%lang(fr) %{_kde5_htmldir}/fr/*
|
2024-01-05 17:52:55 +01:00
|
|
|
#%lang(nl) %{_kde5_htmldir}/nl/*
|
2024-01-05 17:52:55 +01:00
|
|
|
#%lang(pt) %{_kde5_htmldir}/pt/*
|
2024-01-05 17:52:55 +01:00
|
|
|
#%lang(pt_BR) %{_kde5_htmldir}/pt_BR/*
|
|
|
|
#%lang(sv) %{_kde5_htmldir}/sv/*
|
|
|
|
#%lang(uk) %{_kde5_htmldir}/uk/*
|
2024-01-05 17:52:55 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:52:55 +01:00
|
|
|
%{_kde5_libdir}/libsmb4kcore.so
|
2024-01-05 17:52:55 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:52:55 +01:00
|
|
|
* Fri Aug 30 2019 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Thu Aug 08 2019 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Wed Jun 12 2019 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Thu Dec 22 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.80-1mamba
|
|
|
|
- update to 1.9.80
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Mon Dec 05 2016 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Sun Aug 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Tue Dec 29 2015 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Mon Aug 03 2015 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Tue Jul 08 2014 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Thu May 29 2014 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Sun Apr 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- update to 1.1.1
|
|
|
|
|
|
|
|
* Sun Jan 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- update to 1.1.0
|
|
|
|
|
|
|
|
* Fri Jul 19 2013 Automatic Build System <autodist@mambasoft.it> 1.0.80-1mamba
|
|
|
|
- update to 1.0.80
|
|
|
|
|
|
|
|
* Fri May 17 2013 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 06 2013 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 27 2012 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 03 2011 Automatic Build System <autodist@mambasoft.it> 0.10.74-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 0.10.70-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.10-1mamba
|
|
|
|
- update to 0.10.10
|
|
|
|
|
|
|
|
* Sun Jun 20 2010 Automatic Build System <autodist@mambasoft.it> 0.10.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.4-2mamba
|
|
|
|
- rename from smb4k4
|
|
|
|
|
|
|
|
* Fri Oct 09 2009 Automatic Build System <autodist@mambasoft.it> 0.10.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 04 2009 Ercole ercolinux Carpanetto <ercole69@gmail.com> 0.10.2-1mamba
|
|
|
|
- update to 0.10.2
|
|
|
|
|
|
|
|
* Thu Dec 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-1mamba
|
|
|
|
- update to 0.10.1
|
|
|
|
|
|
|
|
* Thu Oct 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.3-1mamba
|
|
|
|
- update to 0.8.3
|
|
|
|
|
|
|
|
* Tue Apr 10 2007 Davide Madrisan <davide.madrisan@gmail.com> 0.8.1-1mamba
|
|
|
|
- update to version 0.8.1 (this release fixes several security issues)
|
|
|
|
|
|
|
|
* Thu Feb 22 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1qilnx
|
|
|
|
- update to version 0.8.0 by autospec
|
|
|
|
|
|
|
|
* Tue Jun 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.7.0-1qilnx
|
|
|
|
- update to version 0.7.0 by autospec
|
|
|
|
|
|
|
|
* Mon Nov 21 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.4-1qilnx
|
|
|
|
- update to version 0.6.4 by autospec
|
|
|
|
- also fixes the security issue CAN-2005-2851 (qibug#77)
|
|
|
|
|
|
|
|
* Thu Sep 08 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.3-1qilnx
|
|
|
|
- update to version 0.6.3 by autospec
|
|
|
|
- also fixes a security issue
|
|
|
|
- specfile fixes
|
|
|
|
|
|
|
|
* Thu Jun 30 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-1qilnx
|
|
|
|
- update to version 0.6.0 by autospec
|
|
|
|
|
|
|
|
* Tue Apr 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2-1qilnx
|
|
|
|
- update to version 0.5.2 by autospec
|
|
|
|
|
|
|
|
* Thu Mar 17 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1qilnx
|
|
|
|
- update to version 0.5.1 by autospec
|
|
|
|
|
|
|
|
* Wed Dec 01 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1a-1qilnx
|
|
|
|
- update to version 0.4.1a by autospec
|
|
|
|
|
|
|
|
* Wed Dec 01 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1qilnx
|
|
|
|
- update to version 0.4.1 by autospec
|
|
|
|
|
2024-01-05 17:52:55 +01:00
|
|
|
* Thu May 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1qilnx
|
2024-01-05 17:52:55 +01:00
|
|
|
- first build
|