]> git.pld-linux.org Git - packages/bug-buddy.git/blobdiff - bug-buddy.spec
- merged from DEVEL and updated to 2.8.0
[packages/bug-buddy.git] / bug-buddy.spec
index eee925f3154a4277c61dc0edf88c877d36a1eb04..ccf97ed4aa2b12c416ab14fcb0357d7150092f4e 100644 (file)
@@ -1,19 +1,26 @@
 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.3.1
+Version:       2.8.0
 Release:       1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.3/%{name}-%{version}.tar.bz2
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
+# Source0-md5: b4c90bb9e1762803d083026b000349ea
 URL:           http://www.gnome.org/
-BuildRequires: scrollkeeper
-BuildRequires: libgnomeui-devel
-BuildRequires: gnome-vfs2-devel >= 2.2.0
-BuildRequires: libgnomecanvas-devel
-BuildRequires: libglade2-devel
-BuildRequires: libxml2-devel
-Prereq:                scrollkeeper
+BuildRequires: GConf2-devel >= 2.7.92
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gtk+2-devel >= 2:2.4.0
+BuildRequires: gnome-desktop-devel >= 2.7.92
+BuildRequires: gnome-vfs2-devel >= 2.7.92
+BuildRequires: intltool >= 0.29
+BuildRequires: libglade2-devel >= 1:2.4.0
+BuildRequires: libgnomeui-devel >= 2.7.92
+BuildRequires: libxml2-devel >= 2.4.6
+BuildRequires: scrollkeeper >= 0.3.8
+Requires(post):        GConf2 >= 2.7.92
+Requires(post,postun): scrollkeeper
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,32 +40,50 @@ KDE.
 %setup -q
 
 %build
-%configure
+glib-gettextize --copy --force
+intltoolize --copy --force
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --disable-schemas-install
+
 %{__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
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 
-%post   -p /usr/bin/scrollkeeper-update
-%postun -p /usr/bin/scrollkeeper-update
+%find_lang %{name} --with-gnome --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+umask 022
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+
+%postun
+umask 022
+/usr/bin/scrollkeeper-update
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-
+%doc AUTHORS ChangeLog NEWS README TODO docs/multiple_bts.txt
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 %{_datadir}/application-registry/*
-%{_datadir}/applications/*
-%{_datadir}/bug-buddy
+%{_datadir}/%{name}
 %{_datadir}/mime-info/*
+%{_desktopdir}/*
 %{_pixmapsdir}/*
 %{_omf_dest_dir}/*
+%{_sysconfdir}/gconf/schemas/*
This page took 0.093615 seconds and 4 git commands to generate.