SPECS (DEVEL): bug-buddy.spec - removed -desktop.patch (not needed...

megabajt megabajt at pld-linux.org
Wed Feb 6 18:11:48 CET 2008


Author: megabajt                     Date: Wed Feb  6 17:11:48 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- removed -desktop.patch (not needed)
- added -pld.patch which will allow bug-buddy to recognize PLD as a distro
- updated deps
- more verbose files

---- Files affected:
SPECS:
   bug-buddy.spec (1.61.2.1 -> 1.61.2.2) 

---- Diffs:

================================================================
Index: SPECS/bug-buddy.spec
diff -u SPECS/bug-buddy.spec:1.61.2.1 SPECS/bug-buddy.spec:1.61.2.2
--- SPECS/bug-buddy.spec:1.61.2.1	Tue Feb  5 03:31:24 2008
+++ SPECS/bug-buddy.spec	Wed Feb  6 18:11:43 2008
@@ -8,34 +8,35 @@
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/bug-buddy/2.21/%{name}-%{version}.tar.bz2
 # Source0-md5:	9aafadf36d64c4794d1422d26980af05
-Patch0:		%{name}-desktop.patch
+Patch0:		%{name}-pld.patch
 URL:		http://www.gnome.org/
-BuildRequires:	GConf2-devel >= 2.20.0
+BuildRequires:	GConf2-devel >= 2.21.90
 BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	evolution-data-server-devel >= 1.12.0
+BuildRequires:	automake >= 1:1.9
+BuildRequires:	elfutils-devel
+BuildRequires:	evolution-data-server-devel >= 2.21.90
 BuildRequires:	gettext-devel
 BuildRequires:	gnome-common
-BuildRequires:	gnome-desktop-devel >= 2.20.0
+BuildRequires:	gnome-desktop-devel >= 2.21.90
 BuildRequires:	gnome-doc-utils >= 0.12.0
-BuildRequires:	gnome-menus-devel >= 2.20.0
+BuildRequires:	gnome-menus-devel >= 2.21.90
 BuildRequires:	gnome-vfs2-devel >= 2.20.0
-BuildRequires:	gtk+2-devel >= 2:2.12.0
-BuildRequires:	intltool >= 0.36.2
-BuildRequires:	libglade2-devel >= 1:2.6.2
-BuildRequires:	libgnomeui-devel >= 2.20.0
+BuildRequires:	gtk+2-devel >= 2:2.12.5
+BuildRequires:	intltool >= 0.37.0
+BuildRequires:	libgnomeui-devel >= 2.21.90
 BuildRequires:	libgtop-devel >= 2.14.8
-BuildRequires:	libxml2-devel >= 1:2.6.30
-BuildRequires:	libxslt-progs >= 1.1.20
+BuildRequires:	libsoup-devel >= 2.3.0.1
+BuildRequires:	libtool
+BuildRequires:	libxml2-devel >= 1:2.6.31
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	scrollkeeper >= 0.3.8
-Requires(post,postun):	desktop-file-utils
+BuildRequires:	sed >= 4.0
 Requires(post,postun):	gtk+2
 Requires(post,postun):	hicolor-icon-theme
-Requires(post,postun):	scrollkeeper
 Requires(post,preun):	GConf2
-Requires:	libgnomeui >= 2.20.0
+Requires:	gtk+2 >= 2:2.12.5
+Requires:	libgnomeui >= 2.21.90
 # sr at Latn vs. sr at latin
 Conflicts:	glibc-misc < 6:2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,12 +58,17 @@
 %setup -q
 %patch0 -p1
 
+sed -i -e 's#sr at Latn#sr at latin#' po/LINGUAS
+mv po/sr@{Latn,latin}.po
+
 %build
 %{__glib_gettextize}
 %{__intltoolize}
+%{__libtoolize}
 %{__gnome_doc_common}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
 	--disable-schemas-install \
@@ -76,13 +82,10 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomebreakpad.{l,}a
-rm -rf $RPM_BUILD_ROOT%{_libdir}/bug-buddy/libbreakpad.{l,}a
-rm -rf $RPM_BUILD_ROOT%{_docdir}/breakpad-0.1
-
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr at latin ] || \
-	mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
-%find_lang %{name} --with-gnome --all-name
+rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomebreakpad.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/bug-buddy/libbreakpad.{l,}a
+
+%find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -90,8 +93,6 @@
 %post
 /sbin/ldconfig
 %gconf_schema_install bug-buddy.schemas
-%scrollkeeper_update_post
-%update_desktop_database_post
 %update_icon_cache hicolor
 
 %preun
@@ -99,21 +100,21 @@
 
 %postun
 /sbin/ldconfig
-%scrollkeeper_update_postun
-%update_desktop_database_postun
 %update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/bug-buddy
+%attr(755,root,root) %{_bindir}/minidump_dump
+%attr(755,root,root) %{_bindir}/minidump_stackwalk
 %ifarch %{ix86}
 %dir %{_libdir}/bug-buddy
-%attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so.*.*.*
+%attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so*
 %endif
 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so
 %{_datadir}/%{name}
-%{_desktopdir}/*.desktop
+%{_desktopdir}/bug-buddy.desktop
 %{_iconsdir}/hicolor/*/*/bug-buddy.png
 %{_sysconfdir}/gconf/schemas/bug-buddy.schemas
 
@@ -123,6 +124,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61.2.2  2008-02-06 17:11:43  megabajt
+- removed -desktop.patch (not needed)
+- added -pld.patch which will allow bug-buddy to recognize PLD as a distro
+- updated deps
+- more verbose files
+
 Revision 1.61.2.1  2008-02-05 02:31:24  patrys
 - 2.21.90
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/bug-buddy.spec?r1=1.61.2.1&r2=1.61.2.2&f=u



More information about the pld-cvs-commit mailing list