Group :: Rede/E-Mail
RPM: qgmailnotifier
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: qgmailnotifier
Summary: QGMailNotifier is a GMail notifier
License: GPL
Group: Networking/Mail
Version: 2008.2
Release: alt0.M41.1
Packager: Motsyo Gennadi <drool at altlinux.ru>
URL: http://qt-apps.org/content/show.php/QGMailNotifier?content=85979
Source0: http://www.codef00.com/projects/%name-%version.tgz
Source1: %name.desktop
# Automatically added by buildreq on Sat Jan 09 2010 (-bi)
BuildRequires: ImageMagick gcc-c++ libqt4-devel
%description
A portable QT4 based GMail notifier, which is
designed to provide all of the functionality
that the official Windows notifier has, and more.
%prep
%setup -n %name
%build
subst s'|/bin/|/usr/bin/|g' %name.pro
export PATH=$PATH:%_qt4dir/bin
qmake "QMAKE_CFLAGS+=%optflags" "QMAKE_CXXFLAGS+=%optflags" %name.pro
%make_build
%install
make INSTALL_ROOT=%buildroot install
install -Dp -m 0644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
# Icons
%__mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir}
convert -resize 48x48 img/gmail.png %buildroot%_liconsdir/%name.png
convert -resize 32x32 img/gmail.png %buildroot%_niconsdir/%name.png
convert -resize 16x16 img/gmail.png %buildroot%_miconsdir/%name.png
%files
%_bindir/%name
%_desktopdir/%name.desktop
%_miconsdir/%name.png
%_niconsdir/%name.png
%_liconsdir/%name.png
%changelog
…
Todas as alterações você pod ver aqui
Summary: QGMailNotifier is a GMail notifier
License: GPL
Group: Networking/Mail
Version: 2008.2
Release: alt0.M41.1
Packager: Motsyo Gennadi <drool at altlinux.ru>
URL: http://qt-apps.org/content/show.php/QGMailNotifier?content=85979
Source0: http://www.codef00.com/projects/%name-%version.tgz
Source1: %name.desktop
# Automatically added by buildreq on Sat Jan 09 2010 (-bi)
BuildRequires: ImageMagick gcc-c++ libqt4-devel
%description
A portable QT4 based GMail notifier, which is
designed to provide all of the functionality
that the official Windows notifier has, and more.
%prep
%setup -n %name
%build
subst s'|/bin/|/usr/bin/|g' %name.pro
export PATH=$PATH:%_qt4dir/bin
qmake "QMAKE_CFLAGS+=%optflags" "QMAKE_CXXFLAGS+=%optflags" %name.pro
%make_build
%install
make INSTALL_ROOT=%buildroot install
install -Dp -m 0644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
# Icons
%__mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir}
convert -resize 48x48 img/gmail.png %buildroot%_liconsdir/%name.png
convert -resize 32x32 img/gmail.png %buildroot%_niconsdir/%name.png
convert -resize 16x16 img/gmail.png %buildroot%_miconsdir/%name.png
%files
%_bindir/%name
%_desktopdir/%name.desktop
%_miconsdir/%name.png
%_niconsdir/%name.png
%_liconsdir/%name.png
%changelog
…
Todas as alterações você pod ver aqui