Updated to 3.6.0 auto/th/sushi-3.6.0-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Mon, 8 Oct 2012 15:55:59 +0000 (17:55 +0200)
committerMarcin Banasiak <marcin.banasiak@gmail.com>
Mon, 8 Oct 2012 15:55:59 +0000 (17:55 +0200)
- -devel subpackage has been removed

sushi.spec

index d229fef727f9a9edbbb267e413fd1b4335addeb6..95135459a3fe43269f323c0cb9d26bd3f1d64feb 100644 (file)
@@ -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
This page took 0.046854 seconds and 4 git commands to generate.