]> git.pld-linux.org Git - packages/ristretto.git/blob - ristretto.spec
b76458b250e4416823030c0322adbaf13383eb53
[packages/ristretto.git] / ristretto.spec
1 Summary:        Picture-viewer for the Xfce desktop environment
2 Summary(pl.UTF-8):      Przeglądarka obrazów dla środowiska Xfce
3 Name:           ristretto
4 Version:        0.0.18
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Graphics
8 Source0:        http://goodies.xfce.org/releases/ristretto/%{name}-%{version}.tar.gz
9 # Source0-md5:  8214155cfa56cb2947e599a998bd285c
10 URL:            http://goodies.xfce.org/projects/applications/ristretto/
11 BuildRequires:  Thunar-devel >= 0.4.0
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  dbus-glib-devel >= 0.34
15 BuildRequires:  gettext-devel
16 BuildRequires:  glib2-devel >= 1:2.12.0
17 BuildRequires:  gtk+2-devel >= 2:2.10.0
18 BuildRequires:  intltool >= 0.31
19 BuildRequires:  libexif-devel >= 0.6.0
20 BuildRequires:  libxfce4util-devel >= 4.4.0
21 BuildRequires:  libxfcegui4-devel >= 4.4.0
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(macros) >= 1.311
24 BuildRequires:  xfce4-dev-tools >= 4.4.0
25 Requires(post,postun):  desktop-file-utils
26 Requires(post,postun):  gtk+2
27 Requires(post,postun):  hicolor-icon-theme
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Ristretto is a fast and lightweight picture-viewer for the Xfce
32 desktop environment.
33
34 %description -l pl.UTF-8
35 Ristretto jest szybką i lekką przeglądarką obrazów dla środowiska
36 Xfce.
37
38 %prep
39 %setup -q
40
41 %build
42 %{__intltoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure \
48         --disable-static
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{nb_NO,nb}
58 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_PT,pt}
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %update_desktop_database_post
67 %update_icon_cache hicolor
68
69 %postun
70 %update_desktop_database_postun
71 %update_icon_cache hicolor
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog NEWS README
76 %attr(755,root,root) %{_bindir}/%{name}
77 %{_desktopdir}/%{name}.desktop
78 %{_iconsdir}/hicolor/*/*/*
This page took 0.073787 seconds and 3 git commands to generate.