gtkam.spec
author dermotm
Thu, 10 Jun 2004 11:54:02 +0000
changeset 3092 9f36d27cf2fa
parent 3001 9691a173d192
child 3120 cb346324f8c9
permissions -rw-r--r--
gtkam.spec: make patch5 solaris-only
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
     1
%define gexif_version 0.5
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
     2
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
     3
Name:         gtkam
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
     4
License:      GPL
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
     5
Group:        Hardware/Other
2244
6ab9fc9b4a49 Bump to 0.1.11
mattk
parents: 2159
diff changeset
     6
Version:      0.1.11
2958
3655558ced77 Incremented release numbers for build 11
dermotm
parents: 2777
diff changeset
     7
Release:      13
1580
c83114e1e688 *** empty log message ***
mattk
parents: 1579
diff changeset
     8
Distribution: Cinnabar
591
fcfbe1893a20 *** empty log message ***
mattk
parents: 585
diff changeset
     9
Vendor:       Sun Microsystems, Inc.
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    10
Summary:      A GTK Digital Camera Viewing Tool
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    11
Source:       gtkam-%{version}.tar.bz2
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    12
Source1:      gexif-%{gexif_version}.tar.bz2
2736
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
    13
Source2:      gtkam-l10n-po-1.1.tar.bz2
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    14
Patch1:	      gtkam-01-menu-entry.diff
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1522
diff changeset
    15
Patch2:	      gtkam-02-enable-deprecated.diff
2143
301b08152338 2004-03-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 1934
diff changeset
    16
Patch3:	      gtkam-03-g11n-i18n-ui.diff
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
    17
Patch4:	      gtkam-04-gexif-i18n.diff
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    18
Patch5:       gtkam-05-configure.diff
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    19
Patch6:       gtkam-06-solaris.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}/gtkam
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    23
650
74ae98c17a60 *** empty log message ***
mattk
parents: 591
diff changeset
    24
74ae98c17a60 *** empty log message ***
mattk
parents: 591
diff changeset
    25
%define libgphoto2_version 2.1.1
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
    26
%define libexif_gtk_version 0.3.2
650
74ae98c17a60 *** empty log message ***
mattk
parents: 591
diff changeset
    27
74ae98c17a60 *** empty log message ***
mattk
parents: 591
diff changeset
    28
Requires:      libgphoto2 >= %{libgphoto2_version}
704
dcf13797f64b *** empty log message ***
mattk
parents: 683
diff changeset
    29
Requires:      libexif-gtk >= %{libexif_gtk_version}
683
78f2ea6472b5 *** empty log message ***
mattk
parents: 650
diff changeset
    30
BuildRequires: libgphoto2 >= %{libgphoto2_version}
704
dcf13797f64b *** empty log message ***
mattk
parents: 683
diff changeset
    31
BuildRequires: libexif-gtk >= %{libexif_gtk_version}
650
74ae98c17a60 *** empty log message ***
mattk
parents: 591
diff changeset
    32
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    33
%description
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    34
GTKam is a GTK/GNOME based tool to access Digital Cameras,
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    35
view thumbnails and download pictures from the camera.
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    36
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    37
%prep
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    38
%setup -q
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1195
diff changeset
    39
bzcat %SOURCE1 | tar xf -
1579
38291e81f90c l10n tarball and patch compile errors
mattk
parents: 1576
diff changeset
    40
bzcat %SOURCE2 | tar xf -
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1522
diff changeset
    41
%patch1 -p1
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1522
diff changeset
    42
%patch2 -p1
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
    43
%patch3 -p1
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
    44
%patch4 -p1
3092
9f36d27cf2fa gtkam.spec: make patch5 solaris-only
dermotm
parents: 3001
diff changeset
    45
%ifos solaris
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    46
%patch5 -p1
3092
9f36d27cf2fa gtkam.spec: make patch5 solaris-only
dermotm
parents: 3001
diff changeset
    47
%endif
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    48
%patch6 -p1
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    49
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    50
%build
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    51
%ifos solaris
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    52
glib-gettextize -f
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    53
%endif
2244
6ab9fc9b4a49 Bump to 0.1.11
mattk
parents: 2159
diff changeset
    54
gnome-doc-common
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    55
libtoolize --force
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    56
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    57
automake -a -c -f
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    58
autoconf
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    59
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    60
make
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    61
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    62
cd gexif-*
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    63
%ifos solaris
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    64
    glib-gettextize -f
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    65
%endif
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    66
	libtoolize --force
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    67
	aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    68
	automake -a -c -f
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    69
	autoconf
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    70
	CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure --prefix=%{_prefix}
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    71
	make
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    72
cd ..
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    73
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    74
%install
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    75
mkdir -p $RPM_BUILD_ROOT%{_prefix}
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    76
make DESTDIR=$RPM_BUILD_ROOT install-strip
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    77
cd gexif-*
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    78
	make prefix=$RPM_BUILD_ROOT%{_prefix} install-strip
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    79
cd ..
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    80
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    81
%clean
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    82
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    83
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    84
%files
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    85
%defattr(-,root,root)
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    86
%attr(755,root,root) %{_bindir}/gtkam
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    87
%attr(755,root,root) %{_bindir}/gexif
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    88
%{_datadir}/gtkam
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    89
%{_datadir}/images/gtkam
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    90
%{_datadir}/pixmaps/gtkam-camera.png
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    91
%{_datadir}/locale/*/*/*
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
    92
%{_datadir}/applications/*
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    93
# disabled, since it requires gimp 1.3 :/
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    94
# %{_libdir}/gimp/*/plug-ins/gtkam-gimp
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    95
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
    96
%changelog -n gtkam
3092
9f36d27cf2fa gtkam.spec: make patch5 solaris-only
dermotm
parents: 3001
diff changeset
    97
* Thu Jun 10 2004 - [email protected]
9f36d27cf2fa gtkam.spec: make patch5 solaris-only
dermotm
parents: 3001
diff changeset
    98
- make patch5 solaris-only
9f36d27cf2fa gtkam.spec: make patch5 solaris-only
dermotm
parents: 3001
diff changeset
    99
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   100
* Wed Jun 02 2004 - [email protected]
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   101
- Added needed patches for Solaris.
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   102
2736
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
   103
* Wed May 12 2004 - [email protected]
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
   104
- Updated l10n content to gtkam-l10n-po-1.1.tar.bz2
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
   105
2350
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   106
* Mon Mar 29 2004 - [email protected]
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   107
- Updated l10n content to gtkam-l10n-po-1.0.tar.bz2
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   108
2244
6ab9fc9b4a49 Bump to 0.1.11
mattk
parents: 2159
diff changeset
   109
* Thu Mar 18 2004 - [email protected]
6ab9fc9b4a49 Bump to 0.1.11
mattk
parents: 2159
diff changeset
   110
- Bump to 0.1.11
6ab9fc9b4a49 Bump to 0.1.11
mattk
parents: 2159
diff changeset
   111
2143
301b08152338 2004-03-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 1934
diff changeset
   112
* Thu Mar 04 2004 - [email protected]
301b08152338 2004-03-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 1934
diff changeset
   113
- Updated gtkam-03-l10n-and-utf8.diff to gtkam-03-g11n-i18n-ui.diff 
301b08152338 2004-03-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 1934
diff changeset
   114
  to fix 4935751, 4981813
301b08152338 2004-03-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 1934
diff changeset
   115
1579
38291e81f90c l10n tarball and patch compile errors
mattk
parents: 1576
diff changeset
   116
* Thu Feb 04 2004 - [email protected]
38291e81f90c l10n tarball and patch compile errors
mattk
parents: 1576
diff changeset
   117
- Add l10n tarball, edit to gtkam-04-gexif-i18n.diff
38291e81f90c l10n tarball and patch compile errors
mattk
parents: 1576
diff changeset
   118
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
   119
* Wed Feb 04 2004 - [email protected]
1579
38291e81f90c l10n tarball and patch compile errors
mattk
parents: 1576
diff changeset
   120
- Port Patches, gexif version
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
   121
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1522
diff changeset
   122
* Fri Jan 16 2004 - [email protected]
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1522
diff changeset
   123
- Enable deprecated patch
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1522
diff changeset
   124
1069
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
   125
* Thu Aug 14 2003 - [email protected]
9eab1f2cbac1 Menu Entry Patch
mattk
parents: 1025
diff changeset
   126
- desktop file for menu entry
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1522
diff changeset
   127
585
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
   128
* Wed Jul 16 2003 - [email protected]
a1d5251a6293 *** empty log message ***
mattk
parents:
diff changeset
   129
- Initial version