- move /etc/profile.d/kde.(sh|csh) to kde-settings (F-12+)
This commit is contained in:
parent
32fcc2ab90
commit
59e8bfe7e1
12
kde.csh
12
kde.csh
@ -5,10 +5,10 @@
|
|||||||
if ( ! $?KDEDIRS ) setenv KDEDIRS /usr
|
if ( ! $?KDEDIRS ) setenv KDEDIRS /usr
|
||||||
|
|
||||||
## When/if using prelinking, avoids (some) use of kdeinit
|
## When/if using prelinking, avoids (some) use of kdeinit
|
||||||
#if ( -f /etc/sysconfig/prelink ) then
|
if ( -f /etc/sysconfig/prelink ) then
|
||||||
# set PRELINKING = `grep "^PRELINKING=" /etc/sysconfig/prelink | cut -d"=" -f2`
|
set PRELINKING = `grep "^PRELINKING=" /etc/sysconfig/prelink | cut -d"=" -f2`
|
||||||
# if ( "$PRELINKING" == "yes" ) then
|
if ( "$PRELINKING" == "yes" ) then
|
||||||
# if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
|
if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
|
||||||
# endif
|
endif
|
||||||
#endif
|
endif
|
||||||
|
|
||||||
|
8
kde.sh
8
kde.sh
@ -5,7 +5,7 @@
|
|||||||
[ -z "$KDEDIRS" ] && KDEDIRS="/usr" && export KDEDIRS
|
[ -z "$KDEDIRS" ] && KDEDIRS="/usr" && export KDEDIRS
|
||||||
|
|
||||||
## When/if using prelinking, avoids (some) use of kdeinit
|
## When/if using prelinking, avoids (some) use of kdeinit
|
||||||
#if [ -z "$KDE_IS_PRELINKED" ] ; then
|
if [ -z "$KDE_IS_PRELINKED" ] ; then
|
||||||
# grep -qs '^PRELINKING=yes' /etc/sysconfig/prelink && \
|
grep -qs '^PRELINKING=yes' /etc/sysconfig/prelink && \
|
||||||
# KDE_IS_PRELINKED=1 && export KDE_IS_PRELINKED
|
KDE_IS_PRELINKED=1 && export KDE_IS_PRELINKED
|
||||||
#fi
|
fi
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
Summary: K Desktop Environment 3 - Libraries
|
Summary: K Desktop Environment 3 - Libraries
|
||||||
Version: 3.5.10
|
Version: 3.5.10
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
|
|
||||||
Name: kdelibs3
|
Name: kdelibs3
|
||||||
Obsoletes: kdelibs < 6:%{version}-%{release}
|
Obsoletes: kdelibs < 6:%{version}-%{release}
|
||||||
@ -342,8 +342,10 @@ for i in *; do
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%if 0%{?fedora} < 12
|
||||||
install -p -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/kde.sh
|
install -p -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/kde.sh
|
||||||
install -p -m 644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/kde.csh
|
install -p -m 644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/kde.csh
|
||||||
|
%endif
|
||||||
|
|
||||||
# Use hicolor-icon-theme rpm/pkg instead (#178319)
|
# Use hicolor-icon-theme rpm/pkg instead (#178319)
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/
|
||||||
@ -479,7 +481,9 @@ touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README
|
%doc README
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
|
%if 0%{?fedora} < 12
|
||||||
%config(noreplace) %{_sysconfdir}/profile.d/*
|
%config(noreplace) %{_sysconfdir}/profile.d/*
|
||||||
|
%endif
|
||||||
%{_bindir}/artsmessage
|
%{_bindir}/artsmessage
|
||||||
%{_bindir}/cupsdconf
|
%{_bindir}/cupsdconf
|
||||||
%{_bindir}/cupsdoprint
|
%{_bindir}/cupsdoprint
|
||||||
@ -576,6 +580,9 @@ touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.5.10-17
|
||||||
|
- move /etc/profile.d/kde.(sh|csh) to kde-settings (F-12+)
|
||||||
|
|
||||||
* Fri Sep 04 2009 Than Ngo <than@redhat.com> - 3.5.10-16
|
* Fri Sep 04 2009 Than Ngo <than@redhat.com> - 3.5.10-16
|
||||||
- openssl-1.0 build fixes
|
- openssl-1.0 build fixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user