Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:steffens:lvermgeo:client
sc_kprofile4
sc_kprofile4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sc_kprofile4.spec of Package sc_kprofile4
# # spec file for KDE configuration and profiles # # Copyright (c) 2005-2015 dass IT GmbH Cologne, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # # $Id: sc_kprofile4.spec 8329 2019-03-13 09:57:47Z joergs $ # %if 0%{?suse_version} >= 1210 %define initsystem systemd %else %define initsystem SysV %endif %define KDE_VER 4 Name: sc_kprofile4 License: GPL-3.0+ Group: System/GUI/Other Summary: KDE%{KDE_VER}: profiles and configs Version: 0.4.8377 Release: 0 Url: http://trac.dass-it.de/smartclient/ Autoreqprov: on PreReq: shared-mime-info Requires: cron Requires: kdebase%{KDE_VER}-workspace #Requires: kdepim%%{KDE_VER} Requires: kdialog Requires: kdeutils-cmd # for sc_mailview.sh: converts email elm files to html Requires: MHonArc #Requires: pam_ccreds # for msgconvert.pl (http://www.matijs.net/software/msgconv/) Requires: perl-MIME-tools perl-OLE-Storage_Lite # SmartClient Requires: perl-SmartClient # for sc_whoami.pl Requires: perl-Template-Toolkit %if 0%{?suse_version} >= 1310 # sc_select_home.py has first been used openSUSE 13.1. # For older distributions, python-pyside have not been available. Requires: python-pyside %endif Requires: quota Requires: rsync Requires: sc_hardware >= 1.3.11458 Requires: sc_ldap_tools >= 0.3.7999 # for sc_select_home.py Requires: sudo # offline sync #Requires: nss_db db42 nss_updatedb Requires: unison Requires: vermkv-tools >= 0.3.8323 # for xdg-open (sc_whoami.pl) Requires: xdg-utils Source: sc_kprofile4_0.4.8377.orig.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: sc_base BuildRequires: update-desktop-files # kdebase4-openSUSE: /usr/share/kde4/env #BuildRequires: kdebase4-openSUSE BuildRequires: kde4-filesystem BuildRequires: kdelibs4 BuildRequires: rsync BuildRequires: xorg-x11 %if %{initsystem} == systemd BuildRequires: systemd %endif %description configuration files and executables for KDE profiles. Tools for on-/offline syncing. %prep %setup -c %build %install mkdir -p $RPM_BUILD_ROOT/etc/cron.daily/ \ $RPM_BUILD_ROOT/etc/init.d/ \ $RPM_BUILD_ROOT/etc/smartclient/unison/ \ $RPM_BUILD_ROOT/etc/sudoers.d/ \ $RPM_BUILD_ROOT/etc/profile.d/ \ $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/ \ $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged/ \ $RPM_BUILD_ROOT/usr/bin \ $RPM_BUILD_ROOT/usr/lib/smartclient/ \ $RPM_BUILD_ROOT/usr/sbin \ $RPM_BUILD_ROOT/usr/share/autostart/ \ $RPM_BUILD_ROOT/usr/share/applications/ \ $RPM_BUILD_ROOT/usr/share/pixmaps/ \ $RPM_BUILD_ROOT/usr/share/mime/packages/ \ $RPM_BUILD_ROOT/var/lib/sc_kprofile/ \ $RPM_BUILD_ROOT/var/lib/kde-profiles/offline/share/config/ \ $RPM_BUILD_ROOT/var/lib/kde-profiles/online/share/config/ \ $RPM_BUILD_ROOT/var/lib/kde-profiles/vermkv_base/share/config/ \ $RPM_BUILD_ROOT/var/lib/kde-profiles/xsession_local/share/config/ \ $RPM_BUILD_ROOT/var/lib/kde-profiles/xsession_remote/share/config/ \ $RPM_BUILD_ROOT/vhome #RPM_BUILD_ROOT/var/lib/scpm/resource_groups/ \ #INSTALL="install -o root -g root" INSTALL="install" $INSTALL -m 755 etc/auto.vhome $RPM_BUILD_ROOT/etc/ $INSTALL -m 755 etc/auto.vermkv $RPM_BUILD_ROOT/etc/ ln -sf ../../usr/sbin/sc_nss_merge.sh $RPM_BUILD_ROOT/etc/cron.daily/sc_nss_merge ln -sf ../../usr/sbin/sc_create_home_dictionary.sh $RPM_BUILD_ROOT/etc/cron.daily/sc_create_home_dictionary $INSTALL -m 644 etc/profile.d/sc_*.sh $RPM_BUILD_ROOT/etc/profile.d/ $INSTALL -m 644 etc/smartclient/mhonarc.conf $RPM_BUILD_ROOT/etc/smartclient/ $INSTALL -m 644 etc/smartclient/sc_home_sync $RPM_BUILD_ROOT/etc/smartclient/ $INSTALL -m 644 etc/smartclient/sc_nss $RPM_BUILD_ROOT/etc/smartclient/ $INSTALL -m 644 etc/smartclient/unison/homesync.prf $RPM_BUILD_ROOT/etc/smartclient/unison/ $INSTALL -m 644 etc/smartclient/whoami.tt $RPM_BUILD_ROOT/etc/smartclient/ $INSTALL -m 440 etc/sudoers.d/sc_kprofile4 $RPM_BUILD_ROOT/etc/sudoers.d/ $INSTALL -m 755 etc/init.d/sc_createfreebusy $RPM_BUILD_ROOT/etc/init.d/ ln -sf ../../etc/init.d/sc_createfreebusy $RPM_BUILD_ROOT/usr/sbin/rcsc_createfreebusy $INSTALL -m 755 etc/init.d/sc_debug_test_reboot $RPM_BUILD_ROOT/etc/init.d/ $INSTALL -m 755 etc/X11/xinit/xinitrc.d/*.sh $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/ $INSTALL -m 644 etc/xdg/menus/applications-merged/*.menu $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged/ $INSTALL -m 755 usr/bin/kde_visible_if usr/bin/tel usr/bin/*.pl usr/bin/*.py usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin/ $INSTALL -m 755 usr/sbin/*.sh $RPM_BUILD_ROOT/usr/sbin/ $INSTALL -m 644 usr/share/autostart/*.desktop $RPM_BUILD_ROOT/usr/share/autostart/ $INSTALL -m 755 usr/lib/smartclient/*.sh $RPM_BUILD_ROOT/usr/lib/smartclient/ #$INSTALL -m 644 usr/share/applications/* $RPM_BUILD_ROOT/usr/share/applications/ $INSTALL -m 644 usr/share/pixmaps/*.png $RPM_BUILD_ROOT/usr/share/pixmaps/ $INSTALL -m 644 usr/share/mime/packages/*.xml $RPM_BUILD_ROOT/%{_datadir}/mime/packages/ #INSTALL -m 644 var/lib/scpm/resource_groups/smartclient $RPM_BUILD_ROOT/var/lib/scpm/resource_groups/ #cp -a var/lib/sc_kprofile/* $RPM_BUILD_ROOT/var/lib/sc_kprofile/ rsync -a --exclude "*~" var/lib/sc_kprofile/. $RPM_BUILD_ROOT/var/lib/sc_kprofile/. #cp -a var/lib/kde-profiles/* $RPM_BUILD_ROOT/var/lib/kde-profiles/ %suse_update_desktop_file -i kfm-groupdir %suse_update_desktop_file -i msgconvert %suse_update_desktop_file -i sc_kde_menu_update %suse_update_desktop_file -i sc_mailview %suse_update_desktop_file -i sc_whoami %if %{initsystem} == systemd mkdir -p $RPM_BUILD_ROOT/%_unitdir/ install -m 644 sc_*.service $RPM_BUILD_ROOT/%_unitdir/ mkdir -p $RPM_BUILD_ROOT//usr/lib/tmpfiles.d/ $INSTALL -m 644 usr/lib/tmpfiles.d/sc_kprofile4.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/ %endif %post /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : %postun /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc doc/README.files %doc doc/README.freebusy %doc doc/README.install %doc doc/README.kde-profiles %doc doc/README.kontact %{_datadir}/mime/packages/*.xml /etc/auto.vhome /etc/auto.vermkv /etc/cron.daily/sc_* /etc/init.d/sc_createfreebusy %config /etc/init.d/sc_debug_test_reboot %config /etc/profile.d/sc_*.sh %config /etc/smartclient/mhonarc.conf %config /etc/smartclient/sc_home_sync %config(noreplace) /etc/smartclient/sc_nss %dir /etc/smartclient/unison %config /etc/smartclient/unison/homesync.prf %config(noreplace) /etc/smartclient/whoami.tt # /etc/sudoers.d/ should not belong to this package, # but is does currently not exist on most distributions %dir /etc/sudoers.d/ # sudo requires permissions 440 and config files without any "." %attr(440,root,root) %config(noreplace) /etc/sudoers.d/sc_kprofile4 /etc/X11/xinit/xinitrc.d/*.sh %dir /etc/xdg/menus/ %dir /etc/xdg/menus/applications-merged/ %config /etc/xdg/menus/applications-merged/*.menu /usr/bin/db-dump.pl /usr/bin/kde_* /usr/bin/kontact_* /usr/bin/sc_* /usr/bin/tel /usr/bin/msgconvert.* /usr/sbin/rcsc_createfreebusy /usr/sbin/sc_* /usr/lib/smartclient/sc_kprofile.sh # /usr/sbin/usermod_nss_db.pl /usr/share/autostart/*.desktop /usr/share/applications/*.desktop /usr/share/pixmaps/*.png /var/lib/sc_kprofile/ #config /var/lib/scpm/resource_groups/smartclient /var/lib/kde-profiles/ # TODO: disabled, because of OBS errors #dir /vhome/ %if %{?initsystem} == systemd %_unitdir/sc_*.service /usr/lib/tmpfiles.d/sc_kprofile4.conf %endif
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