SPECS: gstreamer-plugins-moodbar.spec - killed useless -devel and ...

qboosh qboosh at pld-linux.org
Wed Sep 13 18:28:54 CEST 2006


Author: qboosh                       Date: Wed Sep 13 16:28:54 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- killed useless -devel and -static

---- Files affected:
SPECS:
   gstreamer-plugins-moodbar.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/gstreamer-plugins-moodbar.spec
diff -u SPECS/gstreamer-plugins-moodbar.spec:1.5 SPECS/gstreamer-plugins-moodbar.spec:1.6
--- SPECS/gstreamer-plugins-moodbar.spec:1.5	Tue Sep 12 20:08:10 2006
+++ SPECS/gstreamer-plugins-moodbar.spec	Wed Sep 13 18:28:49 2006
@@ -16,6 +16,8 @@
 BuildRequires:	rpmbuild(macros) >= 1.194
 Requires:	gstreamer-plugins-base >= %{gst_major_ver}
 Requires:	gstreamer-plugins-good >= %{gst_major_ver}
+Obsoletes:	gstreamer-plugins-moodbar-devel
+Obsoletes:	gstreamer-plugins-moodbar-static
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,35 +41,12 @@
 Ten pakiet zawiera wtyczkę dla systemu GStreamer oraz aplikację, która
 dokonuje tej analizy.
 
-%package devel
-Summary:	Header files for Moodbar library
-Summary(pl):	Pliki nagłówkowe biblioteki Moodbar
-Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
-
-%description devel
-Header files for Moodbar library.
-
-%description devel -l pl
-Pliki nagłówkowe biblioteki Moodbar.
-
-%package static
-Summary:	Static Moodbar library
-Summary(pl):	Statyczna biblioteka Moodbar
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description static
-Static Moodbar library.
-
-%description static -l pl
-Statyczna biblioteka Moodbar.
-
 %prep
 %setup -q -n moodbar-%{version}
 
 %build
-%configure
+%configure \
+	--disable-static
 %{__make}
 
 %install
@@ -76,11 +55,12 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{gstlibdir}/libmoodbar.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 %banner %{name} -e << EOF
  *******************************************************
  *                                                     *
@@ -92,29 +72,21 @@
 
 EOF
 
-%postun	-p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/moodbar
 %attr(755,root,root) %{gstlibdir}/libmoodbar.so
 
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{gstlibdir}/libmoodbar.so
-%{gstlibdir}/libmoodbar.la
-
-%files static
-%defattr(644,root,root,755)
-%{gstlibdir}/libmoodbar.a
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2006/09/13 16:28:49  qboosh
+- killed useless -devel and -static
+
 Revision 1.5  2006/09/12 18:08:10  glen
 - macros for %banner
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gstreamer-plugins-moodbar.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list