]> git.pld-linux.org Git - packages/gphoto2.git/blob - gphoto2.spec
- rel. 2
[packages/gphoto2.git] / gphoto2.spec
1 Summary:        Command-line frontend to libgphoto2
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下的使用数码相机的程序
6 Name:           gphoto2
7 Version:        2.4.10
8 Release:        2
9 License:        LGPL v2+
10 Group:          Applications/Graphics
11 Source0:        http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2
12 # Source0-md5:  3c86c9824b9bfc57a52be5f84ad205f7
13 Patch0:         %{name}-manpage_addon.patch
14 Patch1:         %{name}-am.patch
15 URL:            http://www.gphoto.org/
16 BuildRequires:  aalib-devel
17 BuildRequires:  autoconf >= 2.59
18 BuildRequires:  automake >= 1:1.9
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.4.10
23 BuildRequires:  libjpeg-devel
24 BuildRequires:  libtool
25 BuildRequires:  pkgconfig
26 BuildRequires:  popt-devel
27 BuildRequires:  readline-devel
28 Requires:       libgphoto2 >= 2.4.10
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)
35
36 %description
37 gphoto2 is a command-line frontend to libgphoto2.
38
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.
42
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.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51
52 rm -f po/stamp-po
53
54 %build
55 %{__libtoolize}
56 %{__aclocal} -I auto-m4 -I m4m
57 %{__autoconf}
58 %{__autoheader}
59 %{__automake}
60 CPPFLAGS="-I/usr/include/ncurses"
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %find_lang %{name}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc ChangeLog NEWS README TODO
81 %attr(755,root,root) %{_bindir}/gphoto2
82 %{_mandir}/man1/gphoto2.1*
This page took 0.03685 seconds and 4 git commands to generate.