File: gphoto.spec.in

package info (click to toggle)
gphoto 0.3.5-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,636 kB
  • ctags: 1,973
  • sloc: ansic: 23,035; sh: 4,851; makefile: 175
file content (48 lines) | stat: -rw-r--r-- 996 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%define ver	@VERSION@
%define rel	1
%define prefix	/usr

Summary: GNU Photo (gphoto)
Name: gphoto        
Version: %ver
Release: %rel
Copyright: GPL
Group: X11/Utilities
Source: ftp://ftp.gphoto.org/projects/gphoto/pub/tar/gphoto/0.3/gphoto-%{ver}.tar.gz
BuildRoot: /var/tmp/gphoto-root
URL: http://www.gphoto.org/
Docdir: %{prefix}/doc
Requires: gtk+ >= 1.2.0

%description
gphoto is part of the GNOME project and is
a fine interface for a wide variety of digital
cameras

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
make

%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install

%post
/sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%doc AUTHORS COPYING CREDITS ChangeLog FAQ MANUAL NEWS README THEMES
%{prefix}/man/man1/gphoto.1
%{prefix}/bin/*
%{prefix}/share/gphoto/drivers/*
%{prefix}/share/gphoto/doc/*
%{prefix}/share/gphoto/gallery/Default/*
%{prefix}/share/gphoto/gallery/RedNGray/*
%{prefix}/share/gphoto/gallery/CSStheme/*