]>
Commit | Line | Data |
---|---|---|
80962125 | 1 | Summary: Command-line frontend to libgphoto2 |
5ece4b79 ER |
2 | Summary(es.UTF-8): Foto GNU (gphoto) Release 2 |
3 | Summary(pl.UTF-8): Działający z linii poleceń program obsługujący libgphoto2 | |
4 | Summary(pt_BR.UTF-8): GNU Photo - programa GNU para câmeras digitais | |
5 | Summary(zh_CN.UTF-8): gPhoto - Linux下的使用数码相机的程序 | |
a079aef3 | 6 | Name: gphoto2 |
f1e584e5 | 7 | Version: 2.4.10 |
dc65beab | 8 | Release: 2 |
bf64a1cd | 9 | License: LGPL v2+ |
80962125 | 10 | Group: Applications/Graphics |
8c3d1966 | 11 | Source0: http://downloads.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2 |
f1e584e5 | 12 | # Source0-md5: 3c86c9824b9bfc57a52be5f84ad205f7 |
f2ae3a69 | 13 | Patch0: %{name}-manpage_addon.patch |
bf64a1cd | 14 | Patch1: %{name}-am.patch |
b765e444 | 15 | URL: http://www.gphoto.org/ |
a079aef3 | 16 | BuildRequires: aalib-devel |
8b399cc4 | 17 | BuildRequires: autoconf >= 2.59 |
1cb0d656 | 18 | BuildRequires: automake >= 1:1.9 |
8b399cc4 JB |
19 | BuildRequires: cdk-devel >= 5.0_td20010421 |
20 | BuildRequires: gettext-devel >= 0.14.1 | |
21 | BuildRequires: libexif-devel >= 0.6.9 | |
7e15c253 | 22 | BuildRequires: libgphoto2-devel >= 2.4.10 |
a079aef3 | 23 | BuildRequires: libjpeg-devel |
bf64a1cd | 24 | BuildRequires: libtool |
de0e6f43 | 25 | BuildRequires: pkgconfig |
80962125 JB |
26 | BuildRequires: popt-devel |
27 | BuildRequires: readline-devel | |
f1e584e5 | 28 | Requires: libgphoto2 >= 2.4.10 |
80962125 | 29 | Obsoletes: gphoto2-progs |
eb5c98af JB |
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 | |
ec091c6f | 32 | Obsoletes: gphoto2-devel |
33 | Obsoletes: gphoto2-static | |
a079aef3 | 34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
a079aef3 | 36 | %description |
80962125 | 37 | gphoto2 is a command-line frontend to libgphoto2. |
1aa2418f | 38 | |
31ae66fd JR |
39 | %description -l pl.UTF-8 |
40 | gphoto2 to działający z linii poleceń program będący interfejsem | |
41 | użytkownika do libgphoto2. | |
1aa2418f | 42 | |
31ae66fd JR |
43 | %description -l pt_BR.UTF-8 |
44 | O programa gphoto faz parte do projeto GNOME e é uma interface para | |
45 | uma grande variedade de câmeras fotográficas digitais. | |
c533fa58 | 46 | |
a079aef3 | 47 | %prep |
48 | %setup -q | |
f2ae3a69 | 49 | %patch0 -p1 |
eb713785 | 50 | %patch1 -p1 |
3a0e9433 | 51 | |
8c3d1966 | 52 | %{__rm} po/stamp-po |
9772e401 | 53 | |
a079aef3 | 54 | %build |
bf64a1cd | 55 | %{__libtoolize} |
530fb17d | 56 | %{__aclocal} -I auto-m4 -I m4m |
aeabd2c0 | 57 | %{__autoconf} |
8b399cc4 | 58 | %{__autoheader} |
aeabd2c0 | 59 | %{__automake} |
8c3d1966 | 60 | CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" |
c533fa58 | 61 | %configure |
a079aef3 | 62 | %{__make} |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
a079aef3 | 66 | |
c320e89e | 67 | %{__make} install \ |
80962125 | 68 | DESTDIR=$RPM_BUILD_ROOT |
a079aef3 | 69 | |
70 | %find_lang %{name} | |
a079aef3 | 71 | |
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
c320e89e | 75 | %post -p /sbin/ldconfig |
76 | %postun -p /sbin/ldconfig | |
de0e6f43 | 77 | |
80962125 | 78 | %files -f %{name}.lang |
c320e89e | 79 | %defattr(644,root,root,755) |
8c3d1966 | 80 | %doc AUTHORS ChangeLog NEWS README TODO |
c320e89e | 81 | %attr(755,root,root) %{_bindir}/gphoto2 |
bf64a1cd | 82 | %{_mandir}/man1/gphoto2.1* |