- 0.2.0
[packages/sushi.git] / sushi.spec
CommitLineData
ff3a5d30
PZ
1Summary: A quick previewer for Nautilus
2Name: sushi
7a6b4c31 3Version: 0.2.0
ff3a5d30
PZ
4Release: 1
5License: GPLv2+ with exceptions
6Group: X11/Applications
7a6b4c31
PZ
7Source0: http://ftp.gnome.org/pub/GNOME/sources/sushi/0.2/%{name}-%{version}.tar.xz
8# Source0-md5: 3aeb521cde217b3c2838a13dbacc230e
ff3a5d30
PZ
9URL: https://live.gnome.org/ThreePointOne/Features/FilePreviewing
10BuildRequires: clutter-devel
11BuildRequires: clutter-gst-devel
12BuildRequires: clutter-gtk-devel >= 1.0.2
70c36455 13BuildRequires: evince-devel >= 3.1.90.1
ff3a5d30
PZ
14BuildRequires: gjs-devel
15BuildRequires: glib2-devel
16BuildRequires: gtk+3-devel
ff3a5d30 17BuildRequires: gtk-webkit3-devel
92747a3a 18BuildRequires: gtksourceview3-devel
ff3a5d30
PZ
19BuildRequires: intltool
20BuildRequires: libmusicbrainz3-devel
70c36455
AF
21BuildRequires: tar >= 1:1.22
22BuildRequires: xz
ff3a5d30
PZ
23
24#Description from upstream's README.
25%description
26This is sushi,
27a quick previewer for Nautilus,
28the GNOME desktop file manager.
29
30%package devel
31Summary: Development files for %{name}
32Group: X11/Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36The %{name}-devel package contains libraries and header files for
37developing applications that use %{name}.
38
39
40%prep
41%setup -q
42
43
44%build
45%configure \
70c36455
AF
46 --disable-static \
47 --disable-silent-rules
ff3a5d30
PZ
48%{__make}
49
50
51%install
52rm -rf $RPM_BUILD_ROOT
92747a3a
PZ
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
70c36455 57%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsushi-1.0.la
92747a3a 58
ff3a5d30
PZ
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
92747a3a
PZ
81
82%clean
83rm -rf $RPM_BUILD_ROOT
This page took 0.300064 seconds and 4 git commands to generate.