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: 2de2bcc62599b8a7337b54b0a067c50b
13 Source1: %{name}-pl.po
14 Patch0: %{name}-manpage_addon.patch
15 URL: http://www.gphoto.org/
16 BuildRequires: aalib-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: cdk-devel
20 BuildRequires: gettext-devel
21 BuildRequires: libexif-devel
22 BuildRequires: libgphoto2-devel >= 2.1.1
23 BuildRequires: libjpeg-devel
24 BuildRequires: pkgconfig
25 BuildRequires: popt-devel
26 BuildRequires: readline-devel
27 Requires: libgphoto2 >= 2.1.1
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.in
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 ChangeLog README TODO
84 %attr(755,root,root) %{_bindir}/gphoto2