Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37378237
en ru br
ALT Linux repos
S:0.71b-alt2_18
5.0: 0.69-alt1.qa1
4.1: 0.69-alt1.qa1
4.0: 0.69-alt1

Group :: Accessibility
RPM: alltray

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and 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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin