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