-# TODO: optflags, check COPYING==GPL?
Summary: User-space programs for Dell Inspiron and Latitude laptops
Summary(pl): Programy przestrzeni u¿ytkownika dla laptopów Dell Inspiron i Latitude
Name: i8kutils
Version: 1.25
-Release: 0.2
+Release: 0.3
License: GPL
Group: Applications/System
Source0: http://people.debian.org/~dz/i8k/%{name}_%{version}.tar.gz
# Source0-md5: 50c03dde689c5709406118a7c6c120db
-Source1: i8kutils.init
+Source1: %{name}.init
Source2: i8kbuttons.aumix
Source3: i8kbuttons.conf
URL: http://people.debian.org/~dz/i8k/
Requires: aumix
+Requires: tcl
+Requires: tk
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%setup -q
%build
-%{__make}
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -Wall"
%install
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc COPYING README.i8kutils ./examples
+%doc README.i8kutils examples
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
%attr(754,root,root) /etc/rc.d/init.d/i8kutils
%attr(755,root,root) %{_bindir}/*