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