]> git.pld-linux.org Git - packages/alltray.git/blobdiff - alltray.spec
- added link patch (library needs to be linked with libX11)
[packages/alltray.git] / alltray.spec
index fd31856457139f2724187f557d7a2b6fb2af398b..a7e9980e57da5bb41a958be7dee06ae63dd99b0d 100644 (file)
@@ -1,20 +1,25 @@
 Summary:       AllTray - small program to dock application into the system tray
-Summary(pl):   AllTray - ma³y program do dokowania aplikacji w tacce systemowej
+Summary(pl.UTF-8):     AllTray - mały program do dokowania aplikacji w tacce systemowej
 Name:          alltray
-Version:       0.66
-Release:       1
-License:       GPL v2
+Version:       0.70
+Release:       2
+License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://dl.sourceforge.net/alltray/%{name}-%{version}.tar.gz
-# Source0-md5: 78b43bd2e19258b0518af99e21123561
-#Patch0:               %{name}-notitlechange_nomenutitle.patch
-URL:           http://alltray.sourceforge.net/
-BuildRequires: GConf2-devel
+#Source0Download: https://github.com/mbt/alltray/releases
+# dev versions:
+#Source0:      https://github.com/mbt/alltray/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0:       http://downloads.sourceforge.net/alltray/%{name}-%{version}.tar.gz
+# Source0-md5: 675a0a60f22fae04da787095ef0bd7d9
+Patch0:                %{name}-link.patch
+URL:           https://launchpad.net/alltray
+BuildRequires: GConf2-devel >= 2.0
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gdk-pixbuf2-xlib-devel >= 2.0
 BuildRequires: gtk+2-devel >= 2:2.4.0
 BuildRequires: libtool
 BuildRequires: pkgconfig
+BuildRequires: xorg-lib-libX11-devel
 Requires:      gtk+2 >= 2:2.4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,19 +28,21 @@ With AllTray you can dock any application with no native tray icon
 (like Evolution, Thunderbird, Terminals) into the system tray. It
 works well with Gnome, KDE, Xfce 4, Fluxbox and WindowMaker.
 
-%description -l pl
-Dziêki AllTray mo¿na zadokowaæ dowoln± aplikacjê (jak Evolution,
-Thunderbird czy terminal) do tacki systemowej. Dzia³a dobrze z GNOME,
+%description -l pl.UTF-8
+Dzięki AllTray można zadokować dowolną aplikację (jak Evolution,
+Thunderbird czy terminal) do tacki systemowej. Działa dobrze z GNOME,
 KDE, Xfce 4, Fluxboksem i WindowMakerem.
 
 %prep
 %setup -q
-#%%patch0 -p1
+%patch0 -p1
 
 %build
+%{__libtoolize}
 %{__aclocal}
-%{__automake}
 %{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --disable-static
 
@@ -45,16 +52,21 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
+# liballtray.so.0.0.0 is explicitly LD_PRELOADed
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.{la,so}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/liballtray*.so.*.*
+%attr(755,root,root) %{_bindir}/alltray
+%attr(755,root,root) %{_libdir}/liballtray.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/liballtray.so.0
 %{_mandir}/man1/alltray.1*
-%{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/*.png
+%{_desktopdir}/alltray.desktop
+%{_pixmapsdir}/alltray.png
This page took 0.070414 seconds and 4 git commands to generate.