]> git.pld-linux.org Git - packages/bug-buddy.git/blobdiff - bug-buddy.spec
- updated gettext BR
[packages/bug-buddy.git] / bug-buddy.spec
index 06e940fbcdf6c64b9dddbfc2ea26dc94aab63bfb..e14de51c5fad9396ad5d274db4f6e14ce7e68f41 100644 (file)
@@ -1,19 +1,40 @@
 Summary:       Utility to ease the reporting of bugs within the GNOME
-Summary(pl):   Narzêdzie u³atwiaj±ce zg³aszanie b³êdów w ¶rodowisku GNOME
+Summary(pl.UTF-8):     Narzędzie ułatwiające zgłaszanie błędów w środowisku GNOME
 Name:          bug-buddy
-Version:       2.3.4
-Release:       1
-License:       GPL
+Version:       2.32.0
+Release:       7
+License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.3/%{name}-%{version}.tar.bz2
-# Source0-md5: a6b03f8b4393a60654e137c45aa5d55c
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/bug-buddy/2.32/%{name}-%{version}.tar.bz2
+# Source0-md5: 86a84389c206396eba680e93288d04c8
 URL:           http://www.gnome.org/
-BuildRequires: gnome-vfs2-devel >= 2.2.0
-BuildRequires: libglade2-devel
-BuildRequires: libgnomecanvas-devel
-BuildRequires: libgnomeui-devel
-BuildRequires: libxml2-devel
-BuildRequires: scrollkeeper
+BuildRequires: GConf2-devel >= 2.26.0
+BuildRequires: autoconf
+BuildRequires: automake >= 1:1.9
+BuildRequires: cyrus-sasl-devel >= 2.0
+BuildRequires: elfutils-devel
+BuildRequires: evolution-data-server-devel >= 2.26.0
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.20.0
+BuildRequires: gnome-common
+BuildRequires: gnome-doc-utils >= 0.12.0
+BuildRequires: gtk+2-devel >= 2:2.16.0
+BuildRequires: intltool >= 0.40.0
+BuildRequires: libbonobo-devel >= 2.24.0
+BuildRequires: libgdata-devel
+BuildRequires: libgtop-devel >= 2.14.8
+BuildRequires: libsoup-devel >= 2.26.0
+BuildRequires: libtool
+BuildRequires: libxml2-devel >= 1:2.6.31
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: scrollkeeper >= 0.3.8
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): hicolor-icon-theme
+Requires(post,preun):  GConf2
+Requires:      gtk+2 >= 2:2.16.0
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,42 +43,67 @@ submission process. It can automatically obtain stack traces from core
 files or crashed applications. Debian and KDE bug tracking systems are
 also supported.
 
-%description -l pl
-bug-budy jest narzêdziem przeprowadzaj±cym Ciê przez proces sk³adania
-raportu o b³êdzie w ¶rodowisku GNOME. Potrafi on automatycznie uzyskaæ
-¶lady ze stosu (backtrace) z plików core lub wywracaj±cych siê
-aplikacji. Wspierane s± równie¿ systemy obs³ugi b³êdów Debiana oraz
+%description -l pl.UTF-8
+bug-buddy jest narzędziem przeprowadzającym przez proces składania
+raportu o błędzie w środowisku GNOME. Potrafi on automatycznie uzyskać
+ślady ze stosu (backtrace) z plików core lub wywracających się
+aplikacji. Wspierane są również systemy obsługi błędów Debiana oraz
 KDE.
 
 %prep
 %setup -q
 
 %build
-%configure
+%{__glib_gettextize}
+%{__intltoolize}
+%{__libtoolize}
+%{__gnome_doc_common}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT 
+       DESTDIR=$RPM_BUILD_ROOT \
+       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-%find_lang %{name} --with-gnome --all-name
+# no theme provides such icons
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/icons/HighContrastLargePrint
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomesegvhandler.la
+
+%find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /usr/bin/scrollkeeper-update
-%postun -p /usr/bin/scrollkeeper-update
+%post
+/sbin/ldconfig
+%gconf_schema_install bug-buddy.schemas
+%update_icon_cache hicolor
+
+%preun
+%gconf_schema_uninstall bug-buddy.schemas
+
+%postun
+/sbin/ldconfig
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO docs/multiple_bts.txt
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
-%{_datadir}/application-registry/*
-%{_datadir}/bug-buddy
-%{_datadir}/mime-info/*
-%{_desktopdir}/*
-%{_pixmapsdir}/*
-%{_omf_dest_dir}/*
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/bug-buddy
+%attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomesegvhandler.so
+%{_datadir}/%{name}
+%{_desktopdir}/bug-buddy.desktop
+%{_iconsdir}/hicolor/*/*/bug-buddy.png
+%{_iconsdir}/hicolor/*/*/bug-buddy.svg
+%{_sysconfdir}/gconf/schemas/bug-buddy.schemas
+%{_mandir}/man1/*.1*
This page took 0.079482 seconds and 4 git commands to generate.