smb4k/smb4k.spec

260 lines
8.9 KiB
RPMSpec
Raw Permalink Normal View History

%define kdedir %(echo `kde-config --prefix`)
%define qtver %(echo `rpm -q --queryformat '%{VERSION}' libqt`)
%define kdever %(echo `rpm -q --queryformat '%{VERSION}' kdelibs`)
Name: smb4k
Version: 3.0.2
Release: 1mamba
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
Source: https://anongit.kde.org/smb4k.git/%{version}/smb4k-%{version}.tar.bz2
#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: libgcc
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
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
#%patch2 -p1
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
#% find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
#-f %{name}5_qt.lang
%defattr(-,root,root)
%{_kde5_bindir}/smb4k*
%{_datadir}/applications/org.kde.smb4k.desktop
%{_datadir}/dbus-1/system-services/org.kde.smb4k.mounthelper.service
%{_datadir}/dbus-1/system.d/org.kde.smb4k.mounthelper.conf
%{_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}/*
%{_kde5_libdir}/libsmb4kcore.so.*
%{_libdir}/qt5/plugins/smb4k*.so
%dir %{_libdir}/qt5/qml/org/kde/smb4k
%dir %{_libdir}/qt5/qml/org/kde/smb4k/smb4kqmlplugin
%{_libdir}/qt5/qml/org/kde/smb4k/smb4kqmlplugin/*
%{_libexecdir}/kf5/kauth/mounthelper
%{_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/*
%{_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/*
%files devel
%defattr(-,root,root)
%{_kde5_libdir}/libsmb4kcore.so
%changelog
* Fri Aug 30 2019 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Thu Aug 08 2019 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Wed Jun 12 2019 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* 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
* Sun Aug 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
- rebuilt
* Tue Dec 29 2015 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Mon Aug 03 2015 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
- automatic update by autodist
* Tue Jul 08 2014 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic version update by autodist
* Thu May 29 2014 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
- automatic update by autodist
* 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
* Thu May 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1qilnx
- first build