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