SPECS: blam.spec - fixed %%files, added install patch, run ldconfi...
freetz
freetz at pld-linux.org
Thu Dec 1 20:55:19 CET 2005
Author: freetz Date: Thu Dec 1 19:55:19 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed %%files, added install patch, run ldconfig in post/postun
---- Files affected:
SPECS:
blam.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: SPECS/blam.spec
diff -u SPECS/blam.spec:1.20 SPECS/blam.spec:1.21
--- SPECS/blam.spec:1.20 Wed Nov 30 23:04:52 2005
+++ SPECS/blam.spec Thu Dec 1 20:55:13 2005
@@ -12,6 +12,7 @@
Patch0: %{name}-mozilla.patch
Patch1: %{name}-mozilla_includes.patch
Patch2: %{name}-desktop.patch
+Patch3: %{name}-install.patch
URL: http://micke.hallendal.net/
BuildRequires: GConf2-devel >= 2.4.0
BuildRequires: autoconf
@@ -43,6 +44,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
rm -rf autom4te.cache
@@ -52,7 +54,8 @@
%{__automake}
%{__autoconf}
%configure \
- --disable-schemas-install
+ --disable-schemas-install \
+ --disable-static
%{__make}
%install
@@ -63,30 +66,33 @@
%find_lang %{name}
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
+/sbin/ldconfig
%gconf_schema_install blam.schemas
%preun
%gconf_schema_uninstall blam.schemas
+%postun -p /sbin/ldconfig
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%{_sysconfdir}/gconf/schemas/*
%attr(755,root,root) %{_bindir}/*
%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/libblam.so*
-%attr(755,root,root) %{_libdir}/%{name}/*.exe
-%{_libdir}/%{name}/blam.exe.config
-%{_libdir}/%{name}/*.dll
+%attr(755,root,root) %{_libdir}/libblam.so*
+%attr(755,root,root) %{_prefix}/lib/%{name}/*.exe
+%{_prefix}/lib/%{name}/blam.exe.config
+%{_prefix}/lib/%{name}/*.dll
%{_datadir}/%{name}
%{_desktopdir}/*
%{_pixmapsdir}/*
+%{_sysconfdir}/gconf/schemas/blam.schemas
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -94,6 +100,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2005/12/01 19:55:13 freetz
+- fixed %%files, added install patch, run ldconfig in post/postun
+
Revision 1.20 2005/11/30 22:04:52 freetz
- mono autodeps, exclude not supported archs, rel.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/blam.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list