1 Summary: Command-line frontend to libgphoto2
2 Summary(es): Foto GNU (gphoto) Release 2
3 Summary(pl): Dzia³aj±cy z linii poleceñ program obs³uguj±cy libgphoto2
4 Summary(pt_BR): GNU Photo - programa GNU para câmeras digitais
5 Summary(zh_CN): gPhoto - LinuxϵÄʹÓÃÊýÂëÏà»úµÄ³ÌÐò
10 Group: Applications/Graphics
11 Source0: http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.gz
12 # Source0-md5: 1b36d2d62aab637ad88f334194a88c32
13 Source1: %{name}-pl.po
14 Patch0: %{name}-manpage_addon.patch
15 URL: http://www.gphoto.org/
16 BuildRequires: aalib-devel
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake >= 1:1.8
19 BuildRequires: cdk-devel >= 5.0_td20010421
20 BuildRequires: gettext-devel >= 0.14.1
21 BuildRequires: libexif-devel >= 0.6.9
22 BuildRequires: libgphoto2-devel >= 2.1.99
23 BuildRequires: libjpeg-devel
24 BuildRequires: pkgconfig
25 BuildRequires: popt-devel
26 BuildRequires: readline-devel
27 Requires: libgphoto2 >= 2.1.99
29 Obsoletes: gphoto2-progs
30 # these are not true (renamed to libgphoto2-{devel,static}) - we must have
31 # the way to just rename package which is not required by anything installed
32 Obsoletes: gphoto2-devel
33 Obsoletes: gphoto2-static
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 gphoto2 is a command-line frontend to libgphoto2.
43 gphoto2 to dzia³aj±cy z linii poleceñ program bêd±cy interfejsem
44 u¿ytkownika do libgphoto2.
47 O programa gphoto faz parte do projeto GNOME e é uma interface para
48 uma grande variedade de câmeras fotográficas digitais.
54 cp %{SOURCE1} po/pl.po
55 sed -i -e 's/\(ALL_LINGUAS=.*\)"$/\1 pl"/' configure.ac
59 CPPFLAGS="-I/usr/include/ncurses"
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc CHANGES ChangeLog README TODO
84 %attr(755,root,root) %{_bindir}/gphoto2