SPECS: kpowersave.spec - fixed build
qboosh
qboosh at pld-linux.org
Sun Feb 19 16:43:48 CET 2006
Author: qboosh Date: Sun Feb 19 15:43:48 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed build
---- Files affected:
SPECS:
kpowersave.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/kpowersave.spec
diff -u SPECS/kpowersave.spec:1.3 SPECS/kpowersave.spec:1.4
--- SPECS/kpowersave.spec:1.3 Sun Feb 19 15:49:16 2006
+++ SPECS/kpowersave.spec Sun Feb 19 16:43:43 2006
@@ -1,16 +1,10 @@
# $Revision$, $Date$
#
# TODO:
-# - finish the descriptive part
-# - make an i18n subpackage
-# - include translation into the kde-i18n package
-# - make a static subpackage
-# - make a devel build
# - investigate the strange Make.common file
# - find a way to make it run in privileged mode without sudo
# (maybe some group of permissions for people who are allowed to change
# the cpufreq and so on)
-# - investigate the BR and R
# - use kdepackage-template.spec as base
#
Summary: Systray KDE powersave icon
@@ -18,13 +12,19 @@
Name: kpowersave
Version: 0.5.7
Release: 0.1
-License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
+License: GPL v2+
Group: Applications
Source0: http://dl.sourceforge.net/powersave/%{name}-%{version}.tar.bz2
# Source0-md5: 119c42dc5ef1aac07f9be436e845db92
URL: http://powersave.sourceforge.net/
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1.6.1
+BuildRequires: dbus-devel >= 0.33
+BuildRequires: hal-devel >= 0.5.4
+BuildRequires: kdelibs-devel >= 9:3.2.0
+BuildRequires: pkgconfig
+BuildRequires: powersave-devel
+BuildRequires: rpmbuild(macros) >= 1.129
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -39,24 +39,35 @@
%build
cp -f /usr/share/automake/config.sub admin
%{__make} -f admin/Makefile.common cvs
-%configure
+%configure \
+ --with-qt-libraries=%{_libdir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ kde_htmldir=%{_kdedocdir}
+
+%find_lang %{name} --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/%{name}
-%{_libdir}/*
-%{_datadir}/*
+%attr(755,root,root) %{_libdir}/libkdeinit_kpowersave.so
+%{_libdir}/libkdeinit_kpowersave.la
+%attr(755,root,root) %{_libdir}/kde3/kpowersave.so
+%{_libdir}/kde3/kpowersave.la
+%{_datadir}/apps/kpowersave
+%{_datadir}/autostart/kpowersave-autostart.desktop
+%{_datadir}/config/kpowersaverc
+%{_desktopdir}/kde/kpowersave.desktop
+%{_iconsdir}/hicolor/*/apps/kpowersave.png
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -64,6 +75,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/02/19 15:43:43 qboosh
+- fixed build
+
Revision 1.3 2006/02/19 14:49:16 qboosh
- descs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/kpowersave.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list