]> git.pld-linux.org Git - packages/gphoto2.git/blob - gphoto2.spec
- updated to 2.4.11
[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.11
8 Release:        1
9 License:        LGPL v2+
10 Group:          Applications/Graphics
11 Source0:        http://downloads.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2
12 # Source0-md5:  2635075f702b40eb2e95a80658bd4773
13 Patch0:         %{name}-manpage_addon.patch
14 Patch1:         %{name}-am.patch
15 Patch2:         %{name}-pl.po-update.patch
16 URL:            http://www.gphoto.org/
17 BuildRequires:  aalib-devel
18 BuildRequires:  autoconf >= 2.59
19 BuildRequires:  automake >= 1:1.9
20 BuildRequires:  cdk-devel >= 5.0_td20010421
21 BuildRequires:  gettext-devel >= 0.14.1
22 BuildRequires:  libexif-devel >= 0.6.9
23 BuildRequires:  libgphoto2-devel >= 2.4.11
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  libtool
26 BuildRequires:  pkgconfig
27 BuildRequires:  popt-devel
28 BuildRequires:  readline-devel
29 Requires:       libgphoto2 >= 2.4.11
30 Obsoletes:      gphoto2-progs
31 # these are not true (renamed to libgphoto2-{devel,static}) - we must have
32 # the way to just rename package which is not required by anything installed
33 Obsoletes:      gphoto2-devel
34 Obsoletes:      gphoto2-static
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 gphoto2 is a command-line frontend to libgphoto2.
39
40 %description -l pl.UTF-8
41 gphoto2 to działający z linii poleceń program będący interfejsem
42 użytkownika do libgphoto2.
43
44 %description -l pt_BR.UTF-8
45 O programa gphoto faz parte do projeto GNOME e é uma interface para
46 uma grande variedade de câmeras fotográficas digitais.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52 %patch2 -p1
53
54 %{__rm} po/stamp-po
55
56 %build
57 %{__libtoolize}
58 %{__aclocal} -I auto-m4 -I m4m
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 %find_lang %{name}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog NEWS README TODO
83 %attr(755,root,root) %{_bindir}/gphoto2
84 %{_mandir}/man1/gphoto2.1*
This page took 0.077283 seconds and 4 git commands to generate.