]> git.pld-linux.org Git - packages/eog.git/blame - eog.spec
- 2.22.0
[packages/eog.git] / eog.spec
CommitLineData
cd132c4c 1Summary: The Eye of GNOME image viewer
5f920e55
ER
2Summary(pl.UTF-8): Oko GNOME - przeglądarka obrazków
3Summary(pt_BR.UTF-8): Visualizador de imagem Eye of GNOME
cd132c4c 4Name: eog
aa25ce61 5Version: 2.22.0
a3174b61 6Release: 1
aa25ce61 7License: GPL v2+
cd132c4c 8Group: X11/Applications
aa25ce61
PZ
9Source0: http://ftp.gnome.org/pub/GNOME/sources/eog/2.22/%{name}-%{version}.tar.bz2
10# Source0-md5: 53928253e8f0265b6e7de80bfc51ab3a
1b874169 11Patch0: %{name}-codegen.patch
fccd0e20 12Patch1: %{name}-desktop.patch
a617f262 13URL: http://www.gnome.org/projects/eog/
aa25ce61 14BuildRequires: GConf2-devel >= 2.22.0
a617f262 15BuildRequires: autoconf >= 2.59
32807e4c 16BuildRequires: automake
aa25ce61
PZ
17BuildRequires: dbus-glib-devel >= 0.74
18BuildRequires: exempi-devel >= 1.99.5
25c7a818 19BuildRequires: gettext-devel
8ceef072 20BuildRequires: gnome-common >= 2.20.0
aa25ce61 21BuildRequires: gnome-desktop-devel >= 2.22.0
a617f262
MB
22BuildRequires: gnome-doc-utils >= 0.12.0
23BuildRequires: gnome-icon-theme >= 2.20.0
aa25ce61
PZ
24BuildRequires: gnome-vfs2-devel >= 2.22.0
25BuildRequires: gtk+2-devel >= 2:2.12.5
26BuildRequires: intltool >= 0.37.0
9c46f8cd 27BuildRequires: lcms-devel
f83a2ab4 28BuildRequires: libart_lgpl-devel >= 2.3.19
a617f262 29BuildRequires: libexif-devel >= 1:0.6.14
1b874169 30BuildRequires: libglade2-devel >= 1:2.6.2
aa25ce61 31BuildRequires: libgnomeui-devel >= 2.22.0
32807e4c 32BuildRequires: libjpeg-devel
32807e4c 33BuildRequires: libtool
e4c96d5e 34BuildRequires: pkgconfig >= 0.9.0
db8dcdfb 35BuildRequires: rpmbuild(find_lang) >= 1.23
f83a2ab4 36BuildRequires: rpmbuild(macros) >= 1.311
9c46f8cd 37BuildRequires: scrollkeeper
db8dcdfb 38BuildRequires: sed >= 4.0
a617f262 39BuildRequires: shared-mime-info >= 0.20
7b788a76 40Requires(post,postun): desktop-file-utils
f83a2ab4
MB
41Requires(post,postun): gtk+2
42Requires(post,postun): hicolor-icon-theme
6458e674 43Requires(post,postun): scrollkeeper
a617f262 44Requires(post,preun): GConf2
aa25ce61 45Requires: libgnomeui >= 2.22.0
f766ecd3 46# sr@Latn vs. sr@latin
47Conflicts: glibc-misc < 6:2.7
cd132c4c 48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
cd132c4c 50%description
51Eye of GNOME is a tool for viewing/cataloging images.
52
02a464eb
JR
53%description -l pl.UTF-8
54Eye of GNOME (Oko GNOME) jest narzędziem do oglądania/katalogowania
55obrazków.
6b3d5dfe 56
02a464eb 57%description -l pt_BR.UTF-8
f1d811f5 58Aplicativo para visualizar imagens chamado Eye of GNOME.
59
1b874169
PZ
60%package devel
61Summary: Header files for eog
62Summary(pl.UTF-8): Pliki nagłówkowe eog
aa25ce61 63Group: X11/Development/Libraries
1b874169 64Requires: %{name} = %{version}-%{release}
aa25ce61
PZ
65Requires: GConf2-devel >= 2.22.0
66Requires: gnome-vfs2-devel >= 2.22.0
67Requires: gtk+2-devel >= 2:2.12.5
a617f262 68Requires: libglade2-devel >= 1:2.6.2
aa25ce61 69Requires: libgnomeui-devel >= 2.22.0
1b874169
PZ
70
71%description devel
72Header files for eog.
73
74%description devel -l pl.UTF-8
75Pliki nagłówkowe eog.
76
cd132c4c 77%prep
78%setup -q
32807e4c 79%patch0 -p1
fccd0e20 80%patch1 -p1
cd132c4c 81
aa25ce61
PZ
82%{__sed} -i -e "s#sr@Latn#sr@latin#" po/LINGUAS
83mv po/sr@{Latn,latin}.po
4e0ba68a 84
cd132c4c 85%build
aa25ce61 86%{__gnome_doc_common}
6bff1701 87%{__libtoolize}
268041a5 88%{__intltoolize}
cd20d65c 89%{__aclocal}
470a23a6 90%{__automake}
aa25ce61 91%{__autoheader}
e3413657 92%{__autoconf}
32807e4c 93%configure \
23c85c82 94 --disable-schemas-install \
95 --disable-scrollkeeper
b9d7d08a 96%{__make}
b13f147c 97
cd132c4c 98%install
99rm -rf $RPM_BUILD_ROOT
32807e4c 100
cd132c4c 101%{__make} install \
d9ead78e 102 DESTDIR=$RPM_BUILD_ROOT \
103 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
cd132c4c 104
4e0ba68a 105%find_lang %{name} --with-gnome --with-omf
cd132c4c 106
13b71f75
JB
107%clean
108rm -rf $RPM_BUILD_ROOT
109
4d69a7c1 110%post
268041a5 111%gconf_schema_install eog.schemas
112%scrollkeeper_update_post
113%update_desktop_database_post
f83a2ab4 114%update_icon_cache hicolor
7b788a76 115
116%preun
268041a5 117%gconf_schema_uninstall eog.schemas
4d69a7c1 118
6458e674 119%postun
268041a5 120%scrollkeeper_update_postun
121%update_desktop_database_postun
f83a2ab4 122%update_icon_cache hicolor
4d69a7c1 123
cd132c4c 124%files -f %{name}.lang
125%defattr(644,root,root,755)
a617f262
MB
126%doc AUTHORS ChangeLog NEWS README THANKS TODO
127%attr(755,root,root) %{_bindir}/eog
9c46f8cd 128%{_sysconfdir}/gconf/schemas/eog.schemas
32807e4c 129%{_datadir}/%{name}
a617f262 130%{_desktopdir}/eog.desktop
f83a2ab4 131%{_iconsdir}/hicolor/*/*/*
1b874169
PZ
132
133%files devel
134%defattr(644,root,root,755)
135%{_includedir}/eog-2.20
aa25ce61 136%{_pkgconfigdir}/eog.pc
This page took 0.154741 seconds and 4 git commands to generate.