Group :: Desktop gráfico/Window Maker
RPM: wmdf
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# spec by Konstantin Kogan <ALT Linux Active Users Club>
Summary: An app to monitor disk IO and available space on partitions
Name: wmdf
Version: 0.1.6
Release: alt1
License: GPL
Group: Graphical desktop/Window Maker
Source0: %name-%version.tar.bz2
Source10: %name-16x16.png
Source11: %name-32x32.png
Source12: %name-48x48.png
URL: http://www.dockapps.com/file.php/id/175
BuildRequires: libX11-devel
BuildRequires: libXpm-devel
BuildRequires: libXext-devel
%description
An app to monitor disk usage,the app makes use of the OS filesystem info
and partition info functions so is very low on the CPU usage scale. It
allows you to toggle the mount point with scrolling information about the
disk usage and free space etc.
%prep
%setup
%build
%configure --with-rpm
%make_build
%install
%makeinstall
install -m 755 -d %buildroot%_miconsdir
install -m 755 -d %buildroot%_iconsdir
install -m 755 -d %buildroot%_liconsdir
install -m 644 %SOURCE10 %buildroot%_miconsdir/%name.png
install -m 644 %SOURCE11 %buildroot%_iconsdir/%name.png
install -m 644 %SOURCE12 %buildroot%_liconsdir/%name.png
install -m 755 -d %buildroot%_datadir/applications
cat > %buildroot%_datadir/applications/mandriva-%name.desktop <<EOF
[Desktop Entry]
Name=WmDf
Comment=An app to monitor disk IO and available space on partitions
Exec=%_bindir/%name -at 99 -bl
Icon=%name
Terminal=false
Type=Application
Categories=System;Monitor;
EOF
%files
%doc AUTHORS COPYING README THANKS TODO ChangeLog
%_bindir/*
%_liconsdir/%name.png
%_miconsdir/%name.png
%_iconsdir/%name.png
%_datadir/applications/mandriva-%name.desktop
%_mandir/man1/*
%changelog
…
Todas as alterações você pod ver aqui
Summary: An app to monitor disk IO and available space on partitions
Name: wmdf
Version: 0.1.6
Release: alt1
License: GPL
Group: Graphical desktop/Window Maker
Source0: %name-%version.tar.bz2
Source10: %name-16x16.png
Source11: %name-32x32.png
Source12: %name-48x48.png
URL: http://www.dockapps.com/file.php/id/175
BuildRequires: libX11-devel
BuildRequires: libXpm-devel
BuildRequires: libXext-devel
%description
An app to monitor disk usage,the app makes use of the OS filesystem info
and partition info functions so is very low on the CPU usage scale. It
allows you to toggle the mount point with scrolling information about the
disk usage and free space etc.
%prep
%setup
%build
%configure --with-rpm
%make_build
%install
%makeinstall
install -m 755 -d %buildroot%_miconsdir
install -m 755 -d %buildroot%_iconsdir
install -m 755 -d %buildroot%_liconsdir
install -m 644 %SOURCE10 %buildroot%_miconsdir/%name.png
install -m 644 %SOURCE11 %buildroot%_iconsdir/%name.png
install -m 644 %SOURCE12 %buildroot%_liconsdir/%name.png
install -m 755 -d %buildroot%_datadir/applications
cat > %buildroot%_datadir/applications/mandriva-%name.desktop <<EOF
[Desktop Entry]
Name=WmDf
Comment=An app to monitor disk IO and available space on partitions
Exec=%_bindir/%name -at 99 -bl
Icon=%name
Terminal=false
Type=Application
Categories=System;Monitor;
EOF
%files
%doc AUTHORS COPYING README THANKS TODO ChangeLog
%_bindir/*
%_liconsdir/%name.png
%_miconsdir/%name.png
%_iconsdir/%name.png
%_datadir/applications/mandriva-%name.desktop
%_mandir/man1/*
%changelog
…
Todas as alterações você pod ver aqui