]> git.pld-linux.org Git - packages/i8kutils.git/blobdiff - i8kutils.spec
- rel 0.4
[packages/i8kutils.git] / i8kutils.spec
index f16abbfde88543eea3062c3ba37f379049391f04..88734aa2c7a9bdd4b37faa281caf4d3f19078ebd 100644 (file)
@@ -1,16 +1,19 @@
-# 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.1
+Release:       0.4
 License:       GPL
 Group:         Applications/System
 Source0:       http://people.debian.org/~dz/i8k/%{name}_%{version}.tar.gz
 # Source0-md5: 50c03dde689c5709406118a7c6c120db
-Source1:       i8kutils
+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
@@ -30,19 +33,24 @@ ch
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -Wall"
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
 install i8kmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
 install i8kbuttons.1 i8kctl.1 i8kmon.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,8 +64,8 @@ echo
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING README.i8kutils ./examples
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
+%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}/*
 %{_mandir}/man*/*
-#%attr(754,root,root) /etc/rc.d/init.d/i8kutils
This page took 0.028122 seconds and 4 git commands to generate.