]> git.pld-linux.org Git - packages/ristretto.git/blob - ristretto.spec
- updated to 0.8.4
[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.8.4
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Graphics
8 Source0:        http://archive.xfce.org/src/apps/ristretto/0.8/%{name}-%{version}.tar.bz2
9 # Source0-md5:  0142c8b9c492cf447e563b00c6204359
10 Patch0:         %{name}-desktop.patch
11 Patch1:         dbus-glib.patch
12 URL:            http://goodies.xfce.org/projects/applications/ristretto/
13 BuildRequires:  Thunar-devel >= 1.6.6
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  dbus-glib-devel >= 0.34
17 BuildRequires:  gettext-tools
18 BuildRequires:  glib2-devel >= 1:2.30.0
19 BuildRequires:  gtk+2-devel >= 2:2.24.0
20 BuildRequires:  intltool >= 0.31
21 BuildRequires:  libexif-devel >= 0.6.0
22 BuildRequires:  libxfce4util-devel >= 4.12.0
23 BuildRequires:  libxfce4ui-devel >= 4.12.0
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.601
26 BuildRequires:  xfce4-dev-tools >= 4.12.0
27 Requires(post,postun):  desktop-file-utils
28 Requires:       gtk-update-icon-cache
29 Requires:       hicolor-icon-theme
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Ristretto is a fast and lightweight picture-viewer for the Xfce
34 desktop environment.
35
36 %description -l pl.UTF-8
37 Ristretto jest szybką i lekką przeglądarką obrazów dla środowiska
38 Xfce.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44
45 %build
46 %{__intltoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure
52
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %update_desktop_database_post
70 %update_icon_cache hicolor
71
72 %postun
73 %update_desktop_database_postun
74 %update_icon_cache hicolor
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README
79 %attr(755,root,root) %{_bindir}/%{name}
80 %{_desktopdir}/%{name}.desktop
81 %{_datadir}/appdata/ristretto.appdata.xml
82 %{_iconsdir}/hicolor/*/*/*
This page took 0.181171 seconds and 3 git commands to generate.