225 lines
7.5 KiB
RPMSpec
225 lines
7.5 KiB
RPMSpec
%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: 1.2.1
|
|
Release: 2mamba
|
|
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: 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: 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_kde4 -d build
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{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
|
|
|
|
cat smb4k-core.lang plasma_applet_smb4k-qml.lang >> smb4k.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%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(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
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_kde4_libdir}/libsmb4kcore.so
|
|
|
|
%changelog
|
|
* 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
|
|
|
|
* Wed May 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1qilnx
|
|
- first build
|