]> git.pld-linux.org Git - packages/ristretto.git/blob - ristretto.spec
- up to 0.10.0
[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.10.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Graphics
8 Source0:        http://archive.xfce.org/src/apps/ristretto/0.10/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4249e14fba78728481d89ce61a8771fc
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.14.0
23 BuildRequires:  libxfce4ui-devel >= 4.14.0
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.601
26 BuildRequires:  xfce4-dev-tools >= 4.14.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 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ie
63 %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{hy_AM,hy}
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_desktop_database_post
72 %update_icon_cache hicolor
73
74 %postun
75 %update_desktop_database_postun
76 %update_icon_cache hicolor
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README
81 %attr(755,root,root) %{_bindir}/%{name}
82 %{_desktopdir}/%{name}.desktop
83 %{_datadir}/metainfo/ristretto.appdata.xml
84 %{_iconsdir}/hicolor/*/*/*
This page took 0.08075 seconds and 3 git commands to generate.