equal
deleted
inserted
replaced
|
1 Name: gphoto2 |
|
2 License: GPL |
|
3 Group: Hardware/Other |
|
4 Version: 2.1.1 |
|
5 Release: 1 |
|
6 Distribution: Mercury |
|
7 Vendor: Sun Microsystems Inc |
|
8 Summary: Digital camera utility |
|
9 Source: gphoto2-%{version}.tar.bz2 |
|
10 URL: http://www.gphoto.org |
|
11 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
12 DocDir: %{_defaultdocdir}/gphoto2 |
|
13 Autoreqprov: on |
|
14 |
|
15 %description |
|
16 gPhoto (GNU Photo) is a commandline tool for previewing, retrieving, and capturing images from a range of supported digital camerason to your local harddrive. |
|
17 |
|
18 (It does not support digital cameras based on the USB storage protocol, |
|
19 those can be mounted by Linux directly.) |
|
20 |
|
21 As of this time gPhoto supports around 200 cameras, listed on: |
|
22 |
|
23 http://www.gphoto.org/cameras.html |
|
24 |
|
25 or by running |
|
26 |
|
27 gphoto2 --list-cameras |
|
28 |
|
29 %prep |
|
30 %setup -q -n gphoto2-%{version} |
|
31 |
|
32 %build |
|
33 #%{?suse_update_config:%{suse_update_config -f}} |
|
34 libtoolize --copy --force |
|
35 aclocal |
|
36 automake |
|
37 autoconf |
|
38 PATH="/usr/X11R6/bin:$PATH" CFLAGS="$RPM_OPT_FLAGS" ./configure \ |
|
39 --prefix=%{_prefix} \ |
|
40 --mandir=%{_mandir} \ |
|
41 --libdir=%{_libdir} \ |
|
42 --with-cdk-prefix={_prefix} \ |
|
43 --with-doc-dir=%{_defaultdocdir}/%{name} |
|
44 make |
|
45 |
|
46 %install |
|
47 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT |
|
48 make DESTDIR=$RPM_BUILD_ROOT mandir=$RPM_BUILD_ROOT%{_mandir} install |
|
49 |
|
50 %clean |
|
51 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; |
|
52 |
|
53 %files |
|
54 %defattr(-,root,root) |
|
55 %{_bindir}/gphoto2 |
|
56 %{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
57 |
|
58 %changelog -n gphoto |
|
59 * Wed Jul 16 2003 - [email protected] |
|
60 - Initial version |