From 8e8bfa74cba6b38c215011f9fb143d45cf21e1e9 Mon Sep 17 00:00:00 2001 From: darekr Date: Mon, 31 Oct 2005 19:34:24 +0000 Subject: [PATCH] - kill subpackages - --disable-static for %configure, rm -rf *.la Changed files: alltray.spec -> 1.7 --- alltray.spec | 37 ++++--------------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/alltray.spec b/alltray.spec index 471e68d..f79672a 100644 --- a/alltray.spec +++ b/alltray.spec @@ -26,30 +26,6 @@ Dzi 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. - %prep %setup -q #%%patch0 -p1 @@ -58,7 +34,8 @@ Biblioteki statyczne dla alltray. %{__aclocal} %{__automake} %{__autoconf} -%configure +%configure \ + --disable-static %install rm -rf $RPM_BUILD_ROOT @@ -66,6 +43,8 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la + %clean rm -rf $RPM_BUILD_ROOT @@ -75,11 +54,3 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/liballtray*.so.*.* %{_mandir}/man1/alltray.1* - -%files devel -%defattr(644,root,root,755) -%{_libdir}/liballtray*.la - -%files static -%defattr(644,root,root,755) -%{_libdir}/liballtray*.a -- 2.43.0