]> git.pld-linux.org Git - packages/ristretto.git/blame - ristretto.spec
- Requires(post,postun): gtk-update-icon-cache
[packages/ristretto.git] / ristretto.spec
CommitLineData
a7db8ec5 1Summary: Picture-viewer for the Xfce desktop environment
ead82e57 2Summary(pl.UTF-8): Przeglądarka obrazów dla środowiska Xfce
a7db8ec5 3Name: ristretto
4f205bee 4Version: 0.0.21
ae9bb373 5Release: 3
a7db8ec5 6License: GPL v2
7Group: X11/Applications/Graphics
8Source0: http://goodies.xfce.org/releases/ristretto/%{name}-%{version}.tar.gz
4f205bee 9# Source0-md5: 7774dcafdc365e70b8d981c0a52d6250
451484ad 10Patch0: %{name}-desktop.patch
ead82e57
MB
11URL: http://goodies.xfce.org/projects/applications/ristretto/
12BuildRequires: Thunar-devel >= 0.4.0
13BuildRequires: autoconf >= 2.50
a7db8ec5 14BuildRequires: automake
ead82e57 15BuildRequires: dbus-glib-devel >= 0.34
bb0f971d 16BuildRequires: gettext-devel
ead82e57 17BuildRequires: glib2-devel >= 1:2.12.0
a7db8ec5 18BuildRequires: gtk+2-devel >= 2:2.10.0
ead82e57
MB
19BuildRequires: intltool >= 0.31
20BuildRequires: libexif-devel >= 0.6.0
21BuildRequires: libxfce4util-devel >= 4.4.0
22BuildRequires: libxfcegui4-devel >= 4.4.0
a7db8ec5 23BuildRequires: pkgconfig
ead82e57
MB
24BuildRequires: rpmbuild(macros) >= 1.311
25BuildRequires: xfce4-dev-tools >= 4.4.0
26Requires(post,postun): desktop-file-utils
ae9bb373 27Requires(post,postun): gtk-update-icon-cache
c16f7868 28Requires(post,postun): hicolor-icon-theme
a7db8ec5 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32Ristretto is a fast and lightweight picture-viewer for the Xfce
33desktop environment.
34
ead82e57
MB
35%description -l pl.UTF-8
36Ristretto jest szybką i lekką przeglądarką obrazów dla środowiska
a7db8ec5 37Xfce.
38
39%prep
40%setup -q
451484ad 41%patch0 -p1
a7db8ec5 42
43%build
ead82e57 44%{__intltoolize}
a7db8ec5 45%{__aclocal}
46%{__autoconf}
47%{__autoheader}
48%{__automake}
49%configure \
50 --disable-static
a7db8ec5 51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{nb_NO,nb}
bb0f971d 60mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_PT,pt}
ead82e57 61
a7db8ec5 62%find_lang %{name}
63
64%clean
65rm -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.115271 seconds and 4 git commands to generate.