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