%define name freego %define version 2.1 %define release 1mdk Version: %{version} Summary: Tool to monitor your FreeAdsl connection and services Name: %{name} Release: %{release} License: GPL Group: Monitoring Source: http://www.free-go.net/logiciel/linux/FreeGo_%{version}.tar.bz2 URL: http://www.free-go.net/ Requires: locales-fr BuildRoot: %{_tmppath}/%{name}-buildroot %description FreeGo is a tool to monitor your Adsl connection and services (biling, phone messages, parental control, emails, bandwith test, line state, TV remote...) provided by the french provider Free. %prep rm -rf $RPM_BUILD_ROOT %setup -q -n FreeGo %build qmake %make %install mkdir -p $RPM_BUILD_ROOT%_bindir/ cp FreeGo $RPM_BUILD_ROOT%_bindir/ mkdir -p %{buildroot}%{_menudir} cat > %{buildroot}%{_menudir}/%{name} <<EOF ?package(%name): \ command="%{_bindir}/FreeGo" needs="X11" \ icon="monitoring_section.png" \ section="System/Monitoring" \ title="FreeGo" \ longtitle="Tool to monitor your FreeAdsl connection" EOF %post %update_menus %postun %clean_menus %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc INSTALL LICENSE %{_bindir}/* %_menudir/* %changelog * Sun Mar 06 2005 Lenny Cartier <lenny@mandrakesoft.com> 2.1-1mdk - 2.1