|
@@ -1,5 +1,5 @@
|
|
Name: giggle
|
|
Name: giggle
|
|
-Version: 0.6.1
|
|
|
|
|
|
+Version: 0.6.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: A Gtk frontend to git
|
|
Summary: A Gtk frontend to git
|
|
|
|
|
|
@@ -11,19 +11,16 @@ Source0: http://ftp.gnome.org/pub/GNOME/sources/giggle/0.6/%{name}-%{versi
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
-BuildRequires: intltool
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext
|
|
BuildRequires: gtksourceview3-devel
|
|
BuildRequires: gtksourceview3-devel
|
|
-BuildRequires: glib2-devel
|
|
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: gtk3-devel
|
|
-BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: git-core
|
|
BuildRequires: git-core
|
|
BuildRequires: evolution-data-server-devel
|
|
BuildRequires: evolution-data-server-devel
|
|
BuildRequires: vte3-devel
|
|
BuildRequires: vte3-devel
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: yelp-tools
|
|
-BuildRequires: gnome-common
|
|
|
|
-BuildRequires: libtool autoconf automake
|
|
|
|
|
|
|
|
|
|
+Requires(postun,posttrans): glib2
|
|
|
|
+Requires(postun,posttrans): desktop-file-utils
|
|
Requires: git
|
|
Requires: git
|
|
|
|
|
|
|
|
|
|
@@ -43,11 +40,6 @@ Headers for developing plugins for Giggle.
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
-libtoolize
|
|
|
|
-aclocal
|
|
|
|
-autoconf
|
|
|
|
-autoheader
|
|
|
|
-automake
|
|
|
|
%configure --disable-static
|
|
%configure --disable-static
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
@@ -59,11 +51,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
-desktop-file-install --vendor="fedora" \
|
|
|
|
- --delete-original \
|
|
|
|
- --dir=%{buildroot}%{_datadir}/applications \
|
|
|
|
- %{buildroot}%{_datadir}/applications/giggle.desktop
|
|
|
|
-
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
@@ -74,17 +61,19 @@ rm -rf $RPM_BUILD_ROOT
|
|
%post
|
|
%post
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
|
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
-fi
|
|
|
|
|
|
|
|
%postun
|
|
%postun
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
-touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
|
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
|
+if [ $1 -eq 0 ]; then
|
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
+ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
+ update-desktop-database -q &> /dev/null || :
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%posttrans
|
|
|
|
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
+update-desktop-database -q &> /dev/null || :
|
|
|
|
+
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -99,7 +88,7 @@ fi
|
|
%dir %{_datadir}/giggle/glade
|
|
%dir %{_datadir}/giggle/glade
|
|
|
|
|
|
%{_datadir}/giggle/glade/main-window.ui
|
|
%{_datadir}/giggle/glade/main-window.ui
|
|
-%{_datadir}/applications/fedora-giggle.desktop
|
|
|
|
|
|
+%{_datadir}/applications/giggle.desktop
|
|
|
|
|
|
%{_datadir}/icons/hicolor/16x16/apps/*.png
|
|
%{_datadir}/icons/hicolor/16x16/apps/*.png
|
|
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
|
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
|
@@ -116,6 +105,9 @@ fi
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.so
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Nov 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.2-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Tue Oct 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-1
|
|
* Tue Oct 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|