]> git.pld-linux.org Git - packages/gphoto2.git/blob - gphoto2.spec
- rel 1
[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.5
8 Release:        1
9 License:        GPL
10 Group:          Applications/Graphics
11 Source0:        http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.gz
12 # Source0-md5:  9bd1a033389f9e4e6425dda4f6e603c9
13 #Patch0:                %{name}-manpage_addon.patch
14 Patch1:         %{name}-libexif069.patch
15 Patch2:         %{name}-locale_names.patch
16 URL:            http://www.gphoto.org/
17 BuildRequires:  aalib-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  cdk-devel
21 BuildRequires:  gettext-devel
22 BuildRequires:  libexif-devel
23 BuildRequires:  libgphoto2-devel >= 2.1.1
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  pkgconfig
26 BuildRequires:  popt-devel
27 BuildRequires:  readline-devel
28 Requires:       libgphoto2 >= 2.1.1
29 #Requires:      dcraw
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 es
41 Foto GNU (gphoto).
42
43 %description -l pl
44 gphoto2 to dzia³aj±cy z linii poleceñ program bêd±cy interfejsem
45 u¿ytkownika do libgphoto2.
46
47 %description -l pt_BR
48 O programa gphoto faz parte do projeto GNOME e é uma interface para
49 uma grande variedade de câmeras fotográficas digitais.
50
51 %prep
52 %setup -q
53 #%%patch0 -p1
54 #%patch1 -p1
55 %patch2 -p1
56
57 mv po/{no,nb}.po
58 mv po/{no,nb}.gmo
59
60 %build
61 cp -f /usr/share/automake/config.* .
62 CPPFLAGS="-I/usr/include/ncurses"
63 %{__aclocal}
64 %{__autoheader}
65 %{__autoconf}
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 README TODO
87 %attr(755,root,root) %{_bindir}/gphoto2
88 %{_mandir}/man1/*
This page took 0.074149 seconds and 4 git commands to generate.