Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
smb4k
smb4k.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File smb4k.spec of Package smb4k
# # spec file for package smb4k # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: smb4k Version: 1.2.1 Release: 0 Summary: Advanced Network Neighborhood Browser for KDE License: GPL-2.0+ Group: Productivity/Networking/Samba Url: http://smb4k.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz #PATCH-FIX-OPENSUSE tittiatcoke@gmail.com -- install the qml plugins into the right directory Patch1: fix_plugin_path.diff BuildRequires: fdupes BuildRequires: gettext BuildRequires: libkde4-devel BuildRequires: xz Requires: cifs-utils Requires: samba-client Recommends: %{name}-doc = %{version} Recommends: %{name}-lang = %{version} Recommends: rsync # smb4k-devel was last used in openSUSE-11.4 (version 0.10.9) Provides: smb4k-devel = %{version} Obsoletes: smb4k-devel <= 0.10.9 BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires %if 0%{?_kde_minorver} == 0 %define _kde_minorver %(echo %{_kde_platform_version} | cut -f 2 -d \.) %endif %description Smb4K is an advanced network neighborhood browser for KDE and a frontend to the programs of the Samba software suite. Its purpose is to provide a program that's easy to use and has as many features as possible. %package doc Summary: Documentation for smb4k Group: Documentation/HTML Requires: %{name} = %{version} %description doc Smb4K is an advanced network neighborhood browser for KDE and a frontend to the programs of the Samba software suite. Its purpose is to provide a program that's easy to use and has as many features as possible. This package provides the documentation for smb4k. %lang_package %prep %setup -q %patch1 -p1 %if 0%{?suse_version} echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc echo "setBadness('polkit-unauthorized-privilege', 0)" >> $RPM_SOURCE_DIR/%name-rpmlintrc %endif %build %cmake_kde4 -d build %make_jobs %install %kde4_makeinstall -C build # Not needed, fix "devel-file-in-non-devel-package" rpmlint warning rm -f %{buildroot}%{_kde4_libdir}/libsmb4kcore.so %if 0%{?suse_version} %suse_update_desktop_file -r %{name} Qt KDE System Network %endif %fdupes -s %{buildroot} %find_lang %{name} %find_lang smb4k-core %{name}.lang %find_lang plasma_applet_smb4k-qml %{name}.lang %kde_post_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS BUGS COPYING ChangeLog README %config %{_sysconfdir}/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf %if 0%{?_kde_minorver} >= 10 %dir %{_kde4_appsdir}/plasma %dir %{_kde4_appsdir}/plasma/plasmoids %dir %{_kde4_modulesdir}/imports %dir %{_kde4_modulesdir}/imports/org %dir %{_kde4_modulesdir}/imports/org/kde %endif %{_kde4_applicationsdir}/smb4k.desktop %{_kde4_appsdir}/kconf_update/*.sh %{_kde4_appsdir}/kconf_update/smb4ksettings.upd %if 0%{?_kde_minorver} >= 10 %{_kde4_appsdir}/plasma/plasmoids/smb4k-qml/ %{_kde4_modulesdir}/imports/org/kde/smb4kqml/ %endif %{_kde4_appsdir}/smb4k/ %{_kde4_bindir}/smb4k %{_kde4_configkcfgdir}/smb4k.kcfg %{_kde4_datadir}/dbus-1/system-services/net.sourceforge.smb4k.mounthelper.service %{_kde4_datadir}/polkit-1/actions/net.sourceforge.smb4k.mounthelper.policy %{_kde4_iconsdir}/*/*/apps/smb4k.png %{_kde4_libdir}/libsmb4kcore.so* %{_kde4_libdir}/libsmb4ktooltips.so* %{_kde4_libexecdir}/mounthelper %{_kde4_modulesdir}/smb4k*.so %{_datadir}/appdata/ %if 0%{?_kde_minorver} >= 10 %{_kde4_servicesdir}/plasma-applet-smb4k-qml.desktop %endif %files lang -f %{name}.lang %defattr(-,root,root,-) %exclude %{_kde4_htmldir}/en/smb4k/ %files doc %defattr(-,root,root,-) %doc %lang(en) %{_kde4_htmldir}/en/smb4k/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor