|
|
|
@ -9,7 +9,7 @@
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
# neededforbuild kde3-devel-packages kdelibs3 powersave resmgr suse-release
|
|
|
|
|
# neededforbuild trinity-devel-packages kdelibs3 powersave resmgr suse-release
|
|
|
|
|
|
|
|
|
|
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel arts arts-devel autoconf automake binutils expat fam fam-devel fontconfig fontconfig-devel freeglut freeglut-devel freetype2 freetype2-devel gcc gcc-c++ gdbm gettext glib2 glib2-devel gnome-filesystem jack jack-devel kdelibs3 kdelibs3-devel kdelibs3-doc libart_lgpl libart_lgpl-devel libgcrypt libgcrypt-devel libgpg-error libgpg-error-devel libidn libidn-devel libjpeg libjpeg-devel liblcms liblcms-devel libmng libmng-devel libpng libpng-devel libstdc++-devel libtiff libtiff-devel libtool libxml2 libxml2-devel libxslt libxslt-devel openssl-devel pcre pcre-devel perl powersave python qt3 qt3-devel resmgr rpm suse-release unsermake update-desktop-files xorg-x11-Mesa xorg-x11-Mesa-devel xorg-x11-devel xorg-x11-libs
|
|
|
|
|
|
|
|
|
@ -42,19 +42,19 @@ Authors:
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -n %{name}-%{version} -q
|
|
|
|
|
. /etc/opt/kde3/common_options
|
|
|
|
|
. /etc/opt/trinity/common_options
|
|
|
|
|
update_admin
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
. /etc/opt/kde3/common_options
|
|
|
|
|
. /etc/opt/trinity/common_options
|
|
|
|
|
./configure
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
. /etc/opt/kde3/common_options
|
|
|
|
|
. /etc/opt/trinity/common_options
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
|
|
|
|
|
rm $RPM_BUILD_ROOT/opt/kde3/share/doc/ -r
|
|
|
|
|
rm $RPM_BUILD_ROOT/opt/trinity/share/doc/ -r
|
|
|
|
|
%suse_update_desktop_file %name Utility TrayIcon
|
|
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
|
@ -70,13 +70,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%files -f %name.lang
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README AUTHORS ChangeLog COPYING INSTALL
|
|
|
|
|
/opt/kde3/bin/*
|
|
|
|
|
/opt/kde3/share/config/kpowersaverc
|
|
|
|
|
/opt/kde3/share/autostart/kpowersave.desktop
|
|
|
|
|
/opt/kde3/share/apps/kpowersave
|
|
|
|
|
/opt/kde3/share/icons/??color
|
|
|
|
|
/opt/kde3/share/applications/kde/kpowersave.desktop
|
|
|
|
|
/opt/kde3/lib*/kde3/kpowersave.*
|
|
|
|
|
/opt/kde3/lib*/libkdeinit_kpowersave.*
|
|
|
|
|
/opt/trinity/bin/*
|
|
|
|
|
/opt/trinity/share/config/kpowersaverc
|
|
|
|
|
/opt/trinity/share/autostart/kpowersave.desktop
|
|
|
|
|
/opt/trinity/share/apps/kpowersave
|
|
|
|
|
/opt/trinity/share/icons/??color
|
|
|
|
|
/opt/trinity/share/applications/kde/kpowersave.desktop
|
|
|
|
|
/opt/trinity/lib*/trinity/kpowersave.*
|
|
|
|
|
/opt/trinity/lib*/libkdeinit_kpowersave.*
|
|
|
|
|
|
|
|
|
|
%changelog -n kpowersave
|
|
|
|
|