Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 8a9f0314e2952e32c415866687748485 > files > 1

nvclock-0.7-2mdk.src.rpm

%define name nvclock
%define version 0.7
%define release 2mdk

Summary: Overclocking tool for NVIDIA graphic boards
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}%{version}.tar.bz2
License: GPL
Group: System/Configuration/Hardware
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
URL: http://www.linuxhardware.org/nvclock/
BuildRequires: libgtk+2-devel

%description
This program allows you to overclock your nvidia card under linux.


%prep
rm -rf $RPM_BUILD_ROOT

%setup -q -n %{name}%{version}

%build

%configure --enable-gtk2
make

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%_bindir

%makeinstall

mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/%name
?package(%name):\
needs="x11"\
section="Configuration/Hardware"\
title="Nvclock"\
longtitle="Overclocking tool for NVIDIA graphic boards"\
icon="hardware_section.png"\
command="nvclock_gtk"
EOF
rm -rf %buildroot/%_datadir/doc/nvclock

%post
%{update_menus}
%postun
%{clean_menus}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README
%{_bindir}/nvclock
%{_bindir}/nvclock_gtk
%{_menudir}/%name


%changelog
* Tue Aug 17 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.7-2mdk
- rebuild

* Tue Jul 29 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.7-1mdk
- 0.7

* Sun Jul  6 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.2-2mdk
- fix url (thanks to Nilmoni Deb)

* Tue Feb  4 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.2-1mdk
- new version

* Tue Jan 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.6.1-2mdk
- rebuild

* Thu Jan 23 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.1-1mdk
- new version

* Mon Nov 18 2002 Götz Waschk <waschk@linux-mandrake.com> 0.6-2mdk
- remove unpackaged but installed files
- fix URL (thanks Nilmoni Deb) 

* Mon Oct  7 2002 Götz Waschk <waschk@linux-mandrake.com> 0.6-1mdk
- fix icon
- 0.6
- gtk2

* Thu Mar 21 2002 Götz Waschk <waschk@linux-mandrake.com> 0.5-2mdk
- add menu entry

* Tue Mar 19 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.5-1mdk
- 0.5

* Wed Aug 22 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.4.1-1mdk
- updated to 0.4.1

* Wed Jun 06 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.4-1mdk
- updated by Götz Waschk <waschk@linux-mandrake.com> :
	- 0.4
	- enable gtk gui

* Mon Apr 09 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.2-1mdk
- added in contribs by Götz Waschk <waschk@linux-mandrake.com> :
	- initial package