]> git.pld-linux.org Git - packages/alltray.git/blame - alltray.spec
- added link patch (library needs to be linked with libX11)
[packages/alltray.git] / alltray.spec
CommitLineData
ec38e631 1Summary: AllTray - small program to dock application into the system tray
cf75c790 2Summary(pl.UTF-8): AllTray - mały program do dokowania aplikacji w tacce systemowej
ec38e631 3Name: alltray
101a4076 4Version: 0.70
a4ff1492 5Release: 2
103f0b33 6License: GPL v2+
ec38e631 7Group: X11/Applications
0d684481
JB
8#Source0Download: https://github.com/mbt/alltray/releases
9# dev versions:
10#Source0: https://github.com/mbt/alltray/archive/v%{version}/%{name}-%{version}.tar.gz
11Source0: http://downloads.sourceforge.net/alltray/%{name}-%{version}.tar.gz
101a4076 12# Source0-md5: 675a0a60f22fae04da787095ef0bd7d9
0d684481
JB
13Patch0: %{name}-link.patch
14URL: https://launchpad.net/alltray
15BuildRequires: GConf2-devel >= 2.0
98f8b146
JB
16BuildRequires: autoconf
17BuildRequires: automake
0d684481 18BuildRequires: gdk-pixbuf2-xlib-devel >= 2.0
98f8b146 19BuildRequires: gtk+2-devel >= 2:2.4.0
c2a14dcd 20BuildRequires: libtool
98f8b146 21BuildRequires: pkgconfig
0d684481 22BuildRequires: xorg-lib-libX11-devel
98f8b146 23Requires: gtk+2 >= 2:2.4.0
ec38e631 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27With AllTray you can dock any application with no native tray icon
28(like Evolution, Thunderbird, Terminals) into the system tray. It
c2a14dcd 29works well with Gnome, KDE, Xfce 4, Fluxbox and WindowMaker.
ec38e631 30
ef65820e
JR
31%description -l pl.UTF-8
32Dzięki AllTray można zadokować dowolną aplikację (jak Evolution,
33Thunderbird czy terminal) do tacki systemowej. Działa dobrze z GNOME,
c2a14dcd 34KDE, Xfce 4, Fluxboksem i WindowMakerem.
ec38e631 35
36%prep
37%setup -q
0d684481 38%patch0 -p1
ec38e631 39
40%build
101a4076 41%{__libtoolize}
19601ff0 42%{__aclocal}
19601ff0 43%{__autoconf}
0d684481
JB
44%{__autoheader}
45%{__automake}
8e8bfa74 46%configure \
47 --disable-static
ec38e631 48
49%install
50rm -rf $RPM_BUILD_ROOT
98f8b146
JB
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
ec38e631 54
103f0b33 55# liballtray.so.0.0.0 is explicitly LD_PRELOADed
0d684481 56%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.{la,so}
8e8bfa74 57
103f0b33
JB
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post -p /sbin/ldconfig
62%postun -p /sbin/ldconfig
ec38e631 63
64%files
65%defattr(644,root,root,755)
98f8b146 66%doc AUTHORS ChangeLog README
103f0b33
JB
67%attr(755,root,root) %{_bindir}/alltray
68%attr(755,root,root) %{_libdir}/liballtray.so.*.*.*
69%attr(755,root,root) %ghost %{_libdir}/liballtray.so.0
aeca7471 70%{_mandir}/man1/alltray.1*
0d684481 71%{_desktopdir}/alltray.desktop
103f0b33 72%{_pixmapsdir}/alltray.png
This page took 0.066196 seconds and 4 git commands to generate.