Summary: Command-line frontend to libgphoto2 Summary(es): Foto GNU (gphoto) Release 2 Summary(pl): Dzia³aj±cy z linii poleceñ program obs³uguj±cy libgphoto2 Summary(pt_BR): GNU Photo - programa GNU para câmeras digitais Summary(zh_CN): gPhoto - LinuxϵÄʹÓÃÊýÂëÏà»úµÄ³ÌÐò Name: gphoto2 Version: 2.2.0 Release: 1 License: GPL Group: Applications/Graphics Source0: http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2 # Source0-md5: f5c1f83185db598b4ca52889964a5e84 Source1: %{name}-pl.po Patch0: %{name}-manpage_addon.patch URL: http://www.gphoto.org/ BuildRequires: aalib-devel BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.8 BuildRequires: cdk-devel >= 5.0_td20010421 BuildRequires: gettext-devel >= 0.14.1 BuildRequires: libexif-devel >= 0.6.9 BuildRequires: libgphoto2-devel >= 2.1.99 BuildRequires: libjpeg-devel BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: readline-devel Requires: libgphoto2 >= 2.1.99 #Requires: dcraw Obsoletes: gphoto2-progs # these are not true (renamed to libgphoto2-{devel,static}) - we must have # the way to just rename package which is not required by anything installed Obsoletes: gphoto2-devel Obsoletes: gphoto2-static BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description gphoto2 is a command-line frontend to libgphoto2. %description -l es Foto GNU (gphoto). %description -l pl gphoto2 to dzia³aj±cy z linii poleceñ program bêd±cy interfejsem u¿ytkownika do libgphoto2. %description -l pt_BR O programa gphoto faz parte do projeto GNOME e é uma interface para uma grande variedade de câmeras fotográficas digitais. %prep %setup -q %patch0 -p1 cp %{SOURCE1} po/pl.po sed -i -e 's/\(ALL_LINGUAS=.*\)"$/\1 pl"/' configure.ac rm -f po/stamp-po %build CPPFLAGS="-I/usr/include/ncurses" %{__aclocal} -I m4m %{__autoconf} %{__autoheader} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(644,root,root,755) %doc CHANGES ChangeLog README TODO %attr(755,root,root) %{_bindir}/gphoto2 %{_mandir}/man1/*