SPECS: ogle.spec - added link patch to omit onnecessary libs from ...
qboosh
qboosh at pld-linux.org
Sun Jul 8 17:31:01 CEST 2007
Author: qboosh Date: Sun Jul 8 15:31:01 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added link patch to omit onnecessary libs from linking, removed indirect deps from BRs
- just include symlinks instead of ldconfig for libs outside search path
(they are not cached anyway)
---- Files affected:
SPECS:
ogle.spec (1.45 -> 1.46)
---- Diffs:
================================================================
Index: SPECS/ogle.spec
diff -u SPECS/ogle.spec:1.45 SPECS/ogle.spec:1.46
--- SPECS/ogle.spec:1.45 Mon Jun 25 17:59:02 2007
+++ SPECS/ogle.spec Sun Jul 8 17:30:55 2007
@@ -9,6 +9,7 @@
Source0: http://www.dtek.chalmers.se/groups/dvd/dist/%{name}-%{version}.tar.gz
# Source0-md5: a76a9892bdb807a4bcf859d15a91f0f9
Patch0: %{name}-cvs-20070625.patch
+Patch1: %{name}-link.patch
URL: http://www.dtek.chalmers.se/~dvd/
BuildRequires: a52dec-libs-devel >= 0.7.3
BuildRequires: autoconf
@@ -18,13 +19,8 @@
BuildRequires: libjpeg-devel
BuildRequires: libmad-devel
BuildRequires: libtool
-BuildRequires: libxcb-devel
BuildRequires: libxml2-devel >= 2.4.5
-BuildRequires: xorg-lib-libICE-devel
-BuildRequires: xorg-lib-libSM-devel
BuildRequires: xorg-lib-libX11-devel
-BuildRequires: xorg-lib-libXau-devel
-BuildRequires: xorg-lib-libXdmcp-devel
BuildRequires: xorg-lib-libXext-devel
BuildRequires: xorg-lib-libXinerama-devel
BuildRequires: xorg-lib-libXv-devel
@@ -43,6 +39,7 @@
Summary(pl.UTF-8): Pliki nagłówkowe wymagane przez programy używające libaviplay
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: libxml2-devel >= 2.4.5
%description devel
Header files required to build programs using libaviplay.
@@ -66,10 +63,9 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
-cp -f /usr/share/automake/config.sub .
-rm -f missing
%{__libtoolize}
%{__aclocal}
%{__autoconf}
@@ -85,31 +81,34 @@
%{__make} install \
DESTDIR="$RPM_BUILD_ROOT"
-%post -p "/sbin/ldconfig -n %{_libdir}/ogle"
-%postun -p "/sbin/ldconfig -n %{_libdir}/ogle"
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS README
+%attr(755,root,root) %{_bindir}/ifo_dump
+%attr(755,root,root) %{_bindir}/ogle
%dir %{_libdir}/ogle
+%attr(755,root,root) %{_libdir}/ogle/libdvdcontrol.so.*
+%attr(755,root,root) %{_libdir}/ogle/libmsgevents.so.*
%attr(755,root,root) %{_libdir}/ogle/ogle_*
-%attr(755,root,root) %{_libdir}/ogle/lib*.so.*.*
-%{_mandir}/man?/*
-%{_datadir}/ogle*
+%{_mandir}/man1/ogle.1*
+%{_mandir}/man5/oglerc.5*
+%{_datadir}/ogle
%files devel
%defattr(644,root,root,755)
-%{_libdir}/ogle/lib*.la
-%attr(755,root,root) %{_libdir}/ogle/lib*.so
+%attr(755,root,root) %{_libdir}/ogle/libdvdcontrol.so.*
+%attr(755,root,root) %{_libdir}/ogle/libmsgevents.so.*
+%{_libdir}/ogle/libdvdcontrol.la
+%{_libdir}/ogle/libmsgevents.la
%{_includedir}/%{name}
%files static
%defattr(644,root,root,755)
-%{_libdir}/ogle/lib*.a
+%{_libdir}/ogle/libdvdcontrol.a
+%{_libdir}/ogle/libmsgevents.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -117,6 +116,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.46 2007/07/08 15:30:55 qboosh
+- added link patch to omit onnecessary libs from linking, removed indirect deps from BRs
+- just include symlinks instead of ldconfig for libs outside search path
+ (they are not cached anyway)
+
Revision 1.45 2007/06/25 15:59:02 baggins
- rel 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ogle.spec?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list