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