Group :: Acessibilidade
RPM: alltray
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Accessibility
# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-install libX11-devel
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: alltray
Version: 0.71b
Release: alt2_18
Summary: Dock any application in the tray
License: GPLv2+
URL: http://alltray.trausch.us/
Source0: https://launchpad.net/alltray/old-maintenance/%{version}/+download/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: desktop-file-utils
BuildRequires: gtk-builder-convert gtk-demo libgail-devel libgtk+2-devel
BuildRequires: GConf libGConf-devel libGConf-gir-devel
BuildRequires: libgdk-pixbuf-xlib-devel
Source44: import.info
Patch33: alltray-0.65-message-fix.patch
%description
With AllTray you can dock any application without a native tray icon into the
system tray. It works well with GNOME, KDE, XFCE 4, Fluxbox, and WindowMaker.
%prep
%setup -q
%patch33 -p1
%build
%add_optflags -fcommon
export CFLAGS="-fPIC $RPM_OPT_FLAGS"
%configure
%make_build
%install
%makeinstall_std
find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
rm $RPM_BUILD_ROOT%{_libdir}/*.so
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category Application \
--add-category Utility \
--add-category GTK \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%files
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/%{name}
%{_datadir}/applications/*%{name}.desktop
%{_mandir}/man1/%{name}.1*
%{_libdir}/liballtray.so*
%{_datadir}/pixmaps/%{name}.png
%changelog
…
Todas as alterações você pod ver aqui
# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-install libX11-devel
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: alltray
Version: 0.71b
Release: alt2_18
Summary: Dock any application in the tray
License: GPLv2+
URL: http://alltray.trausch.us/
Source0: https://launchpad.net/alltray/old-maintenance/%{version}/+download/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: desktop-file-utils
BuildRequires: gtk-builder-convert gtk-demo libgail-devel libgtk+2-devel
BuildRequires: GConf libGConf-devel libGConf-gir-devel
BuildRequires: libgdk-pixbuf-xlib-devel
Source44: import.info
Patch33: alltray-0.65-message-fix.patch
%description
With AllTray you can dock any application without a native tray icon into the
system tray. It works well with GNOME, KDE, XFCE 4, Fluxbox, and WindowMaker.
%prep
%setup -q
%patch33 -p1
%build
%add_optflags -fcommon
export CFLAGS="-fPIC $RPM_OPT_FLAGS"
%configure
%make_build
%install
%makeinstall_std
find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
rm $RPM_BUILD_ROOT%{_libdir}/*.so
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category Application \
--add-category Utility \
--add-category GTK \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%files
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/%{name}
%{_datadir}/applications/*%{name}.desktop
%{_mandir}/man1/%{name}.1*
%{_libdir}/liballtray.so*
%{_datadir}/pixmaps/%{name}.png
%changelog
…
Todas as alterações você pod ver aqui