- updated to 0.4.0; merged changes from DEVEL
[packages/sushi.git] / sushi.spec
1 Summary:        A quick previewer for Nautilus
2 Name:           sushi
3 Version:        0.4.0
4 Release:        1
5 License:        GPLv2+ with exceptions
6 Group:          X11/Applications
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/sushi/0.4/%{name}-%{version}.tar.xz
8 # Source0-md5:  d8544340b18658c014ce2dbfaa9e34a4
9 URL:            https://live.gnome.org/ThreePointOne/Features/FilePreviewing
10 BuildRequires:  autoconf >= 2.63
11 BuildRequires:  automake >= 1:1.10
12 BuildRequires:  clutter-devel >= 1.6.0
13 BuildRequires:  clutter-gst-devel
14 BuildRequires:  clutter-gtk-devel >= 1.0.2
15 BuildRequires:  evince-devel >= 3.2.0
16 BuildRequires:  gjs-devel >= 0.8
17 BuildRequires:  glib2-devel >= 1:2.30.0
18 BuildRequires:  glib2-devel >= 1:2.30.0
19 BuildRequires:  gobject-introspection-devel >= 0.10.0
20 BuildRequires:  gstreamer-devel
21 BuildRequires:  gstreamer-plugins-base-devel
22 BuildRequires:  gtk+3-devel >= 3.0.0
23 BuildRequires:  gtk-webkit3-devel
24 BuildRequires:  gtksourceview3-devel
25 BuildRequires:  intltool >= 0.40.0
26 BuildRequires:  libmusicbrainz3-devel
27 BuildRequires:  libtool
28 BuildRequires:  pkgconfig
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xz
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 This is sushi, a quick previewer for Nautilus, the GNOME desktop file
35 manager.
36
37 %package devel
38 Summary:        Development files for sushi
39 Group:          X11/Development/Libraries
40 Requires:       %{name} = %{version}-%{release}
41
42 %description devel
43 The sushi-devel package contains libraries and header files for
44 developing applications that use sushi.
45
46 %prep
47 %setup -q
48
49 %build
50 %{__intltoolize}
51 %{__libtoolize}
52 %{__aclocal} -I m4
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure \
57         --disable-static \
58         --disable-silent-rules
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsushi-1.0.la
68
69 %find_lang %{name}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc README AUTHORS NEWS TODO
80 %attr(755,root,root) %{_bindir}/sushi
81 %attr(755,root,root) %{_libexecdir}/sushi-start
82 %attr(755,root,root) %{_libdir}/libsushi-1.0.so.*.*.*
83 %attr(755,root,root) %ghost %{_libdir}/libsushi-1.0.so.0
84 %{_datadir}/%{name}
85 %{_datadir}/dbus-1/services/org.gnome.Sushi.service
86 %{_libdir}/girepository-1.0/Sushi-1.0.typelib
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/libsushi-1.0.so
91 %{_datadir}/gir-1.0/Sushi-1.0.gir
This page took 0.084736 seconds and 3 git commands to generate.