]> git.pld-linux.org Git - packages/bug-buddy.git/blobdiff - bug-buddy.spec
- 2.16.0
[packages/bug-buddy.git] / bug-buddy.spec
index 3b8d28500853399aa4549edb860d9ec74a2b07b2..d2229ca4891dafc68ff4d32e70c717c3aab0366f 100644 (file)
@@ -1,29 +1,38 @@
 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
 Name:          bug-buddy
-Version:       2.10.0
-Release:       2
+Version:       2.16.0
+Release:       1
 License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/bug-buddy/2.10/%{name}-%{version}.tar.bz2
-# Source0-md5: c821a933f3d7be64071c7bfcb07ee1ac
+Source0:       http://ftp.gnome.org/pub/gnome/sources/bug-buddy/2.16/%{name}-%{version}.tar.bz2
+# Source0-md5: 199b8fe6454096b1c8e514eaa925caa3
 Patch0:                %{name}-desktop.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.10.0
+BuildRequires: GConf2-devel >= 2.14.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gnome-desktop-devel >= 2.10.0-2
-BuildRequires: gnome-menus-devel >= 2.10.1
-BuildRequires: gnome-vfs2-devel >= 2.10.0-2
-BuildRequires: gtk+2-devel >= 2:2.6.4
-BuildRequires: intltool >= 0.33
-BuildRequires: libglade2-devel >= 1:2.5.1
-BuildRequires: libgnomeui-devel >= 2.10.0-2
-BuildRequires: libxml2-devel >= 1:2.6.19
+BuildRequires: evolution-data-server-devel >= 1.8.0
+BuildRequires: gettext-devel
+BuildRequires: gnome-desktop-devel >= 2.16.0
+BuildRequires: gnome-doc-utils >= 0.8.0
+BuildRequires: gnome-menus-devel >= 2.16.0
+BuildRequires: gnome-vfs2-devel >= 2.16.0
+BuildRequires: gtk+2-devel >= 2:2.10.3
+BuildRequires: intltool >= 0.35
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgnomeui-devel >= 2.16.0
+BuildRequires: libgtop-devel >= 2.14.3
+BuildRequires: libxml2-devel >= 1:2.6.26
+BuildRequires: libxslt-progs >= 1.1.17
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper >= 0.3.8
-Requires(post,preun):  GConf2 >= 2.10.0
+Requires(post,preun):  GConf2 >= 2.14.0
 Requires(post,postun): desktop-file-utils
 Requires(post,postun): scrollkeeper
+Requires(post,postun): gtk+2 >= 2.10.3
+Requires:      libgnomeui >= 2.16.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -44,13 +53,15 @@ KDE.
 %patch0 -p1
 
 %build
-glib-gettextize --copy --force
-intltoolize --copy --force
+%{__glib_gettextize}
+%{__intltoolize}
+%{__gnome_doc_common}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-       --disable-schemas-install
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -60,8 +71,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
-rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ug
 
 %find_lang %{name} --with-gnome --all-name
 
@@ -69,28 +79,24 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install /etc/gconf/schemas/bug-buddy.schemas
-/usr/bin/scrollkeeper-update -q
-/usr/bin/update-desktop-database
+%gconf_schema_install bug-buddy.schemas
+%scrollkeeper_update_post
+%update_desktop_database_post
+%update_icon_cache hicolor
 
 %preun
-if [ $1 = 0 ]; then
-       %gconf_schema_uninstall /etc/gconf/schemas/bug-buddy.schemas
-fi
+%gconf_schema_uninstall bug-buddy.schemas
 
 %postun
-if [ $1 = 0 ]; then
-       /usr/bin/scrollkeeper-update -q
-       /usr/bin/update-desktop-database
-fi
+%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 docs/multiple_bts.txt
+%doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
 %{_datadir}/%{name}
 %{_desktopdir}/*
-%{_pixmapsdir}/*
-%{_omf_dest_dir}/*
-%{_sysconfdir}/gconf/schemas/*
+%{_iconsdir}/hicolor/*/*/bug-buddy.png
+%{_sysconfdir}/gconf/schemas/bug-buddy.schemas
This page took 0.16328 seconds and 4 git commands to generate.