]> git.pld-linux.org Git - packages/ristretto.git/blob - ristretto.spec
- up to 0.12.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.12.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Graphics
8 Source0:        http://archive.xfce.org/src/apps/ristretto/0.12/%{name}-%{version}.tar.bz2
9 # Source0-md5:  722e383b1ced064294146f515cbe15ff
10 Patch0:         %{name}-desktop.patch
11 URL:            http://goodies.xfce.org/projects/applications/ristretto/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  cairo-devel >= 1.8.0
15 BuildRequires:  dbus-glib-devel >= 0.34
16 BuildRequires:  gettext-tools
17 BuildRequires:  glib2-devel >= 1:2.42.0
18 BuildRequires:  gtk+3-devel >= 3.22.0
19 BuildRequires:  intltool >= 0.31
20 BuildRequires:  libexif-devel >= 0.6.0
21 BuildRequires:  libxfce4ui-devel >= 4.14.0
22 BuildRequires:  libxfce4util-devel >= 4.14.0
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.601
25 BuildRequires:  xfce4-dev-tools >= 4.14.0
26 BuildRequires:  xfconf-devel >= 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
44 %build
45 %{__intltoolize}
46 %{__aclocal}
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50 %configure
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie,ur_PK}
61 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
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.md
79 %attr(755,root,root) %{_bindir}/%{name}
80 %{_desktopdir}/org.xfce.%{name}.desktop
81 %{_datadir}/metainfo/org.xfce.ristretto.appdata.xml
82 %{_iconsdir}/hicolor/*/*/*
This page took 1.199185 seconds and 3 git commands to generate.