gphoto2.spec
author dcarbery
Fri, 24 Nov 2006 16:37:59 +0000
branch217update
changeset 19096 d542fc2c823e
parent 8564 df62c23d2955
child 8756 4ca44ad2b521
child 19010 e42e2a66fa57
permissions -rw-r--r--
Merged trunk changes r9797:9829 into 217update branch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     1
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     2
# spec file for package gphoto2
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     3
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     5
# This file and all modifications and additions to the pristine
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     6
# package are under the same license as the package itself.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     7
#
8564
df62c23d2955 assign owners to spec files
laca
parents: 7739
diff changeset
     8
# Owner: mattman
df62c23d2955 assign owners to spec files
laca
parents: 7739
diff changeset
     9
#
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    10
Name:         gphoto2
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    11
License:      GPL
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    12
Group:        Hardware/Other
7693
d3e498cd50f6 2006-07-21 Dermot McCluskey <[email protected]>
dermotm
parents: 7256
diff changeset
    13
Version:      2.2.0
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    14
Release:      1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    15
Distribution: Java Desktop System
591
fcfbe1893a20 *** empty log message ***
mattk
parents: 585
diff changeset
    16
Vendor:       Sun Microsystems, Inc.
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    17
Summary:      Digital camera utility
7693
d3e498cd50f6 2006-07-21 Dermot McCluskey <[email protected]>
dermotm
parents: 7256
diff changeset
    18
Source:       http://heanet.dl.sourceforge.net/sourceforge/gphoto/%{name}-%{version}.tar.bz2
5979
6ee65dc3725d 2005-09-20 Laszlo Peter <[email protected]>
laca
parents: 5529
diff changeset
    19
Patch1:       gphoto2-01-build.diff
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    20
URL:          http://www.gphoto.org
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    21
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    22
DocDir:       %{_defaultdocdir}/gphoto2
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    23
Autoreqprov:  on
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    24
1258
24be802ad9b6 Upgrade Tarball to 2.1.2 for QS
mattk
parents: 1195
diff changeset
    25
%define libgphoto2_version 2.1.2
649
06294f192fbc Updated Requires/BuildRequires
mattk
parents: 591
diff changeset
    26
06294f192fbc Updated Requires/BuildRequires
mattk
parents: 591
diff changeset
    27
Requires:      libgphoto2 >= %{libgphoto2_version}
683
78f2ea6472b5 *** empty log message ***
mattk
parents: 649
diff changeset
    28
BuildRequires: libgphoto2 >= %{libgphoto2_version}
649
06294f192fbc Updated Requires/BuildRequires
mattk
parents: 591
diff changeset
    29
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    30
%description
8564
df62c23d2955 assign owners to spec files
laca
parents: 7739
diff changeset
    31
gPhoto (GNU Photo) is a commandline tool for previewing, retrieving, and
df62c23d2955 assign owners to spec files
laca
parents: 7739
diff changeset
    32
capturing images from a range of supported digital camerason to your
df62c23d2955 assign owners to spec files
laca
parents: 7739
diff changeset
    33
local harddrive.
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    34
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    35
(It does not support digital cameras based on the USB storage protocol,
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    36
those can be mounted by Linux directly.)
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    37
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    38
As of this time gPhoto supports around 200 cameras, listed on:
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    39
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    40
 http://www.gphoto.org/cameras.html
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    41
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    42
or by running
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    43
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    44
 gphoto2 --list-cameras
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    45
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    46
%prep
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    47
%setup -q -n gphoto2-%{version}
1933
e935ae5440f2 New patch for linguas
mattk
parents: 1876
diff changeset
    48
%patch1 -p1
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    49
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    50
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    51
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    52
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    55
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3711
diff changeset
    56
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    57
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    58
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    59
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    60
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    61
2586
e884003e395d 2004-04-29 Brian Cameron <[email protected]>
bc99092
parents: 2494
diff changeset
    62
%ifos solaris
e884003e395d 2004-04-29 Brian Cameron <[email protected]>
bc99092
parents: 2494
diff changeset
    63
glib-gettextize -f
e884003e395d 2004-04-29 Brian Cameron <[email protected]>
bc99092
parents: 2494
diff changeset
    64
%endif
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    65
libtoolize --copy --force
6923
45fbffcf5f44 2006-03-13 Laszlo Peter <[email protected]>
laca
parents: 6465
diff changeset
    66
aclocal $ACLOCAL_FLAGS -I ./m4m
1569
f944bf5a70ba *** empty log message ***
mattk
parents: 1543
diff changeset
    67
automake -a -f
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    68
autoconf
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    69
PATH="/usr/X11R6/bin:$PATH" CFLAGS="$RPM_OPT_FLAGS" ./configure	\
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    70
  --prefix=%{_prefix} 			\
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    71
  --mandir=%{_mandir} 			\
4536
42a134e6c096 2004-11-13 Laszlo Peter <[email protected]>
laca
parents: 4455
diff changeset
    72
  --bindir=%{_bindir} 			\
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    73
  --libdir=%{_libdir} 			\
4536
42a134e6c096 2004-11-13 Laszlo Peter <[email protected]>
laca
parents: 4455
diff changeset
    74
  --includedir=%{_includedir}           \
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    75
  --with-cdk-prefix={_prefix}		\
7739
bbf8c21b812a 2006-07-24 Irene Huang <[email protected]>
sh162551
parents: 7693
diff changeset
    76
  --with-libintl-prefix=/usr		\
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    77
  --with-doc-dir=%{_defaultdocdir}/%{name}
7256
39cb28ba817d 2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6923
diff changeset
    78
make -j $CPUS INTLLIBS=
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    79
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    80
%install
3711
5bccccd8c9cd man page installation fixed
lk86177
parents: 3679
diff changeset
    81
make  DESTDIR=$RPM_BUILD_ROOT install
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    82
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    83
%clean
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    84
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    85
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    86
%files
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    87
%defattr(-,root,root)
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    88
%{_bindir}/gphoto2
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    89
%{_datadir}/locale/*/LC_MESSAGES/*.mo
3656
c7f8e3012510 gphoto2.spec: added man page to pkg list
lk86177
parents: 3580
diff changeset
    90
%{_mandir}/man1/*
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    91
2421
74a8598619f1 2004-04-07 Brian.Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
    92
%changelog 
7739
bbf8c21b812a 2006-07-24 Irene Huang <[email protected]>
sh162551
parents: 7693
diff changeset
    93
* Mon Jul 24 2006 - [email protected]
bbf8c21b812a 2006-07-24 Irene Huang <[email protected]>
sh162551
parents: 7693
diff changeset
    94
- add option --with-libintl-prefix=/usr
7693
d3e498cd50f6 2006-07-21 Dermot McCluskey <[email protected]>
dermotm
parents: 7256
diff changeset
    95
* Web Jul 21 2006 - [email protected]
d3e498cd50f6 2006-07-21 Dermot McCluskey <[email protected]>
dermotm
parents: 7256
diff changeset
    96
- Bump to 2.2.0.
6465
3808a6428a19 * libgphoto2.spec: Bump to 2.1.99.
dc144907
parents: 5979
diff changeset
    97
* Tue Jan 03 2006 - [email protected]
3808a6428a19 * libgphoto2.spec: Bump to 2.1.99.
dc144907
parents: 5979
diff changeset
    98
- Bump to 2.1.99.
5979
6ee65dc3725d 2005-09-20 Laszlo Peter <[email protected]>
laca
parents: 5529
diff changeset
    99
* Tue Sep 20 2005 - [email protected]
6ee65dc3725d 2005-09-20 Laszlo Peter <[email protected]>
laca
parents: 5529
diff changeset
   100
- update patches forte-configure and forte-fixes and merge them into one
5529
9133a916e53a * *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents: 5518
diff changeset
   101
* Mon Aug 15 2005 - [email protected]
9133a916e53a * *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents: 5518
diff changeset
   102
- Bump to 2.1.6.
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   103
* Wed Jun 08 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   104
- Bump to 2.1.5
4536
42a134e6c096 2004-11-13 Laszlo Peter <[email protected]>
laca
parents: 4455
diff changeset
   105
* Fri Nov 12 2004 - [email protected]
42a134e6c096 2004-11-13 Laszlo Peter <[email protected]>
laca
parents: 4455
diff changeset
   106
- Added --bindir=%{_bindir} so it can be redirected on Solaris
4188
659ece934298 Recreated and reintroduced failed alllinguas patches
cm152228
parents: 4133
diff changeset
   107
* Thu Oct 07 2004 - [email protected]
4191
77f98e1114ef Backing out patch 4, it only applies on linux, not on solaris
cm152228
parents: 4188
diff changeset
   108
- Backing out Patch4,only applies in linux
77f98e1114ef Backing out patch 4, it only applies on linux, not on solaris
cm152228
parents: 4188
diff changeset
   109
- and not in Solaris for unknown reason.
77f98e1114ef Backing out patch 4, it only applies on linux, not on solaris
cm152228
parents: 4188
diff changeset
   110
* Thu Oct 07 2004 - [email protected]
4188
659ece934298 Recreated and reintroduced failed alllinguas patches
cm152228
parents: 4133
diff changeset
   111
- Recreated gphoto2-04-g11n-alllinguas.diff
4023
7e4e1b091a48 build errors
dermotm
parents: 4007
diff changeset
   112
* Mon Sep 20 2004 - [email protected]
7e4e1b091a48 build errors
dermotm
parents: 4007
diff changeset
   113
- Removed patch 04
3974
0a6845ee0008 Updating gphoto2.spec to include gphoto2-04-g11n-alllinguas.diff patch
yk150259
parents: 3858
diff changeset
   114
* Thu Sep 16 2004 - [email protected]
0a6845ee0008 Updating gphoto2.spec to include gphoto2-04-g11n-alllinguas.diff patch
yk150259
parents: 3858
diff changeset
   115
- Added gphoto2-04-g11n-alllinguas.diff to add hu lingua.
3711
5bccccd8c9cd man page installation fixed
lk86177
parents: 3679
diff changeset
   116
* Tue Aug 24 2004 - [email protected]
5bccccd8c9cd man page installation fixed
lk86177
parents: 3679
diff changeset
   117
- fix man pge installation
3656
c7f8e3012510 gphoto2.spec: added man page to pkg list
lk86177
parents: 3580
diff changeset
   118
* Fri Aug 20 2004 - [email protected]
c7f8e3012510 gphoto2.spec: added man page to pkg list
lk86177
parents: 3580
diff changeset
   119
- added man page to pkg list
3279
5d64ee516a02 Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents: 3263
diff changeset
   120
* Thu Jul 08 2004 - [email protected]
5d64ee516a02 Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents: 3263
diff changeset
   121
- Updated l10n content to gphoto2-l10n-po-1.2.tar.bz2
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   122
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   123
- added "-j $CPUS" to make to speed up builds
2736
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2627
diff changeset
   124
* Wed May 12 2004 - [email protected]
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2627
diff changeset
   125
- Updated l10n content to gphoto2-l10n-po-1.1.tar.bz2
2627
229bcc2e7cf9 2004-05-04 Laszlo Peter <[email protected]>
laca
parents: 2619
diff changeset
   126
* Tue May 04 2004 - [email protected]
229bcc2e7cf9 2004-05-04 Laszlo Peter <[email protected]>
laca
parents: 2619
diff changeset
   127
- grrr... don't rm -rf $RPM_BUILD_ROOT in %install, do it in %clean
2618
eb2770e02d68 gphoto2.spec: fixed %install cleanup error
dermotm
parents: 2586
diff changeset
   128
* Mon May 03 2004 - [email protected]
eb2770e02d68 gphoto2.spec: fixed %install cleanup error
dermotm
parents: 2586
diff changeset
   129
- fixed %install cleanup error
2462
949f9ea3b470 2004-04-14 Brian Cameron <[email protected]>
bc99092
parents: 2421
diff changeset
   130
* Wed Apr 14 2004 - [email protected]
949f9ea3b470 2004-04-14 Brian Cameron <[email protected]>
bc99092
parents: 2421
diff changeset
   131
- Added $ACLOCAL_FLAGS to aclocal call, needed for Solaris.
2421
74a8598619f1 2004-04-07 Brian.Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   132
* Wed Apr 07 2004 - [email protected]
74a8598619f1 2004-04-07 Brian.Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   133
- Removed -n from %changelog.  It breaks Solaris and Laca recommended
74a8598619f1 2004-04-07 Brian.Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   134
  removing it.
2350
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   135
* Mon Mar 29 2004 - [email protected]
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   136
- Updated l10n content to gphoto2-l10n-po-1.0.tar.bz2
1569
f944bf5a70ba *** empty log message ***
mattk
parents: 1543
diff changeset
   137
* Wed Feb 04 2004 - [email protected]
1933
e935ae5440f2 New patch for linguas
mattk
parents: 1876
diff changeset
   138
- Ported Patch 01 from QS
e935ae5440f2 New patch for linguas
mattk
parents: 1876
diff changeset
   139
* Wed Feb 04 2004 - [email protected]
1569
f944bf5a70ba *** empty log message ***
mattk
parents: 1543
diff changeset
   140
- New tarball 2.1.4 for Cinnabar
1258
24be802ad9b6 Upgrade Tarball to 2.1.2 for QS
mattk
parents: 1195
diff changeset
   141
* Tue Oct 14 2003 - [email protected]
24be802ad9b6 Upgrade Tarball to 2.1.2 for QS
mattk
parents: 1195
diff changeset
   142
- New Tarball 2.1.2 for QS
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
   143
* Wed Jul 16 2003 - [email protected]
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
   144
- Initial version