Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > e17533e36f172e0f1e5e4875441959a3 > files > 1

rox-system-1.9.1-6mdv2010.0.src.rpm

%define oname system
%define roxname System
%define version 1.9.1
%define name rox-system
%define roxdir %_prefix/lib/apps

Name:		%name
Version:	%version
Release:	%mkrel 6
Summary:	System monitor for the ROX graphical desktop
Group:		Graphical desktop/Other
License:	GPL
URL:		http://rox.sourceforge.net/system.html
Source:		http://prdownloads.sourceforge.net/%{name}/%{oname}-%version.tar.bz2
Requires:	rox-lib >= 1.9.9
Requires:	python-ctypes
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildArch:	noarch

%description
System displays information about your system - what processes are running
and the amount of memory they are using, as well as free and used disk space.
It can also be useful for quitting crashed applications.

%prep
%setup -q -n %oname-%version

%build
cd %roxname/Messages
./dist
rm -f *.old

%install
rm -rf $RPM_BUILD_ROOT %name.lang
mkdir -p $RPM_BUILD_ROOT%roxdir
cp -a %roxname $RPM_BUILD_ROOT%roxdir
rm -rf %buildroot%roxdir/%roxname/CVS %buildroot%roxdir/%roxname/Help/CVS %buildroot%roxdir/%roxname/Messages/dist %buildroot%roxdir/%roxname/Messages/*po

for gmo in %buildroot%roxdir/%roxname/Messages/*.gmo;do
echo "%lang($(basename $gmo|sed s/.gmo//)) $(echo $gmo|sed s!%buildroot!!)" >> %name.lang
done

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %name.lang
%defattr (-,root,root)
%doc %roxdir/%roxname/Help
%dir %roxdir/%roxname
%dir %roxdir/%roxname/Messages
%roxdir/%roxname/.DirIcon
%roxdir/%roxname/*.py
%roxdir/%roxname/App*
%attr(644,root,root) %roxdir/%roxname/*.xml
%roxdir/%roxname/images



%changelog
* Tue Sep 08 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.9.1-6mdv2010.0
+ Revision: 433426
- rebuild

* Sat Aug 02 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.9.1-5mdv2009.0
+ Revision: 260304
- rebuild

* Mon Jul 28 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.9.1-4mdv2009.0
+ Revision: 251446
- rebuild

* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 1.9.1-2mdv2008.1
+ Revision: 140747
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Mon Jul 31 2006 Götz Waschk <waschk@mandriva.org> 1.9.1-1mdv2007.0
- Rebuild

* Sun Mar 12 2006 Götz Waschk <waschk@mandriva.org> 1.9.1-1mdk
- new version

* Fri May 13 2005 Götz Waschk <waschk@mandriva.org> 1.9.1-0.20050510.1mdk
- updae file list
- fix application directory
- new snapshot

* Tue Apr 20 2004 Götz Waschk <waschk@linux-mandrake.com> 1.9.1-0.20040420.1mdk
- moved to noarch (this is now a Python application)
- CVS snapshot

* Wed Aug 20 2003 Götz Waschk <waschk@linux-mandrake.com> 1.9.0-3mdk
- fix file listing
- new gtop