]> git.pld-linux.org Git - packages/gphoto2.git/blob - gphoto2.spec
- added libexif069 patch (fix building with libexif-0.6.9)
[packages/gphoto2.git] / gphoto2.spec
1 Summary:        Command-line frontend to libgphoto2
2 Summary(es):    Foto GNU (gphoto) Release 2
3 Summary(pl):    Dzia³aj±cy z linii poleceñ program obs³uguj±cy libgphoto2
4 Summary(pt_BR): GNU Photo - programa GNU para câmeras digitais
5 Summary(zh_CN): gPhoto - LinuxϵÄʹÓÃÊýÂëÏà»úµÄ³ÌÐò
6 Name:           gphoto2
7 Version:        2.1.4
8 Release:        2
9 License:        GPL
10 Group:          Applications/Graphics
11 Source0:        http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2
12 # Source0-md5:  5bbee55d4e59b063d3cff0fbc9121006
13 Patch0:         %{name}-manpage_addon.patch
14 Patch1:         %{name}-libexif069.patch
15 URL:            http://www.gphoto.org/
16 BuildRequires:  aalib-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  cdk-devel
20 BuildRequires:  gettext-devel
21 BuildRequires:  libexif-devel
22 BuildRequires:  libgphoto2-devel >= 2.1.1
23 BuildRequires:  libjpeg-devel
24 BuildRequires:  pkgconfig
25 BuildRequires:  popt-devel
26 BuildRequires:  readline-devel
27 Requires:       libgphoto2 >= 2.1.1
28 Requires:       dcraw
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 es
40 Foto GNU (gphoto).
41
42 %description -l pl
43 gphoto2 to dzia³aj±cy z linii poleceñ program bêd±cy interfejsem
44 u¿ytkownika do libgphoto2.
45
46 %description -l pt_BR
47 O programa gphoto faz parte do projeto GNOME e é uma interface para
48 uma grande variedade de câmeras fotográficas digitais.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 %build
56 cp -f /usr/share/automake/config.* .
57 CPPFLAGS="-I/usr/include/ncurses"
58 %{__aclocal}
59 %{__autoheader}
60 %{__autoconf}
61 %{__automake}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc ChangeLog README TODO
82 %attr(755,root,root) %{_bindir}/gphoto2
83 %{_mandir}/man1/*
This page took 0.074608 seconds and 4 git commands to generate.