]> 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 471e68dec4be21c51049d23cbd4a00c28caa7467..a7e9980e57da5bb41a958be7dee06ae63dd99b0d 100644 (file)
@@ -1,64 +1,50 @@
 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.51
+Version:       0.70
 Release:       2
-License:       GPL v2
+License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://dl.sourceforge.net/alltray/%{name}-%{version}.tar.gz
-# Source0-md5: 44466a011131c4f132b64722dbdd8ae3
-#Patch0:               %{name}-notitlechange_nomenutitle.patch
-URL:           http://alltray.sourceforge.net/
+#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)
 
 %description
 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.
+works well with Gnome, KDE, Xfce 4, Fluxbox and WindowMaker.
 
-%description -l pl
-Dziêki AllTray mo¿na zdokowaæ dowoln± aplikacjê (jak Evolution,
-Thunderbird czy terminal) do tacki systemowej. Dzia³a dobrze z GNOME,
-KDE, XFCE 4, Fluxboksem i WindowMakerem.
-
-%package devel
-Summary:       Libraries and header files for alltray
-Summary(pl):   Biblioteki i pliki nag³ówkowe dla alltray
-Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
-
-%description devel
-Libraries and header files for alltray.
-
-%description devel -l pl
-Biblioteki i pliki nag³ówkowe dla alltray.
-
-%package static
-Summary:       Static libraries for alltray
-Summary(pl):   Statyczne biblioteki dla alltray
-Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}-%{release}
-
-%description static
-alltray static libraries.
-
-%description static -l pl
-Biblioteki statyczne dla alltray.
+%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}
-%configure
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-static
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -66,20 +52,21 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# 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*
-
-%files devel
-%defattr(644,root,root,755)
-%{_libdir}/liballtray*.la
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/liballtray*.a
+%{_desktopdir}/alltray.desktop
+%{_pixmapsdir}/alltray.png
This page took 0.051998 seconds and 4 git commands to generate.