[packages/sushi] Updated to 3.6.0

megabajt megabajt at pld-linux.org
Mon Oct 8 17:56:54 CEST 2012


commit ce6ae9fd159715926929fc4cdf51ccbb9133a5e6
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Mon Oct 8 17:55:59 2012 +0200

    Updated to 3.6.0
    
    - -devel subpackage has been removed

 sushi.spec | 49 +++++++++++++++++++++----------------------------
 1 file changed, 21 insertions(+), 28 deletions(-)
---
diff --git a/sushi.spec b/sushi.spec
index d229fef..9513545 100644
--- a/sushi.spec
+++ b/sushi.spec
@@ -1,48 +1,41 @@
 Summary:	A quick previewer for Nautilus
 Name:		sushi
-Version:	0.4.1
+Version:	3.6.0
 Release:	1
 License:	GPLv2+ with exceptions
 Group:		X11/Applications
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/sushi/0.4/%{name}-%{version}.tar.xz
-# Source0-md5:	b5021f3120f6452c41ee1d1d660e46f9
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/sushi/3.6/%{name}-%{version}.tar.xz
+# Source0-md5:	9be4db4cd1dcb35e91ac620f39835469
 URL:		https://live.gnome.org/ThreePointOne/Features/FilePreviewing
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.10
-BuildRequires:	clutter-devel >= 1.6.0
+BuildRequires:	clutter-devel >= 1.12.0
 BuildRequires:	clutter-gst-devel
 BuildRequires:	clutter-gtk-devel >= 1.0.2
 BuildRequires:	evince-devel >= 3.2.0
+BuildRequires:	freetype-devel
 BuildRequires:	gjs-devel >= 0.8
 BuildRequires:	glib2-devel >= 1:2.30.0
-BuildRequires:	glib2-devel >= 1:2.30.0
 BuildRequires:	gobject-introspection-devel >= 0.10.0
-BuildRequires:	gstreamer-devel
-BuildRequires:	gstreamer-plugins-base-devel
+BuildRequires:	gstreamer-devel >= 1.0.0
+BuildRequires:	gstreamer-plugins-base-devel >= 1.0.0
 BuildRequires:	gtk+3-devel >= 3.0.0
 BuildRequires:	gtk-webkit3-devel
 BuildRequires:	gtksourceview3-devel
 BuildRequires:	intltool >= 0.40.0
-BuildRequires:	libmusicbrainz3-devel
+BuildRequires:	libmusicbrainz5-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires(post,postun): glib2 >= 1:2.30.0
+Obsoletes:	sushi-devel < 3.6.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This is sushi, a quick previewer for Nautilus, the GNOME desktop file
 manager.
 
-%package devel
-Summary:	Development files for sushi
-Group:		X11/Development/Libraries
-Requires:	%{name} = %{version}-%{release}
-
-%description devel
-The sushi-devel package contains libraries and header files for
-developing applications that use sushi.
-
 %prep
 %setup -q
 
@@ -64,28 +57,28 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsushi-1.0.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/sushi/*.la
 
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README AUTHORS NEWS TODO
 %attr(755,root,root) %{_bindir}/sushi
 %attr(755,root,root) %{_libexecdir}/sushi-start
-%attr(755,root,root) %{_libdir}/libsushi-1.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsushi-1.0.so.0
+%dir %{_libdir}/sushi
+%attr(755,root,root) %{_libdir}/sushi/libsushi-1.0.so
+%dir %{_libdir}/sushi/girepository-1.0
+%{_libdir}/sushi/girepository-1.0/Sushi-1.0.typelib
 %{_datadir}/%{name}
 %{_datadir}/dbus-1/services/org.gnome.Sushi.service
-%{_libdir}/girepository-1.0/Sushi-1.0.typelib
-
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libsushi-1.0.so
-%{_datadir}/gir-1.0/Sushi-1.0.gir
+%{_datadir}/glib-2.0/schemas/org.gnome.sushi.gschema.xml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sushi.git/commitdiff/ce6ae9fd159715926929fc4cdf51ccbb9133a5e6



More information about the pld-cvs-commit mailing list