libexif-gtk.spec
author dcarbery
Fri, 24 Nov 2006 16:37:59 +0000
branch217update
changeset 19096 d542fc2c823e
parent 8564 df62c23d2955
child 8826 9099b8e6430a
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 libexif-gtk
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: 6808
diff changeset
     8
# Owner: gheet
df62c23d2955 assign owners to spec files
laca
parents: 6808
diff changeset
     9
#
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    10
Name:         libexif-gtk
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    11
License:      GPL
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    12
Group:        Development/Libraries/C and C++
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    13
Version:      0.3.5
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    14
Release:      2
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: 590
diff changeset
    16
Vendor:       Sun Microsystems, Inc.
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    17
Summary:      GTK widgets for viewing EXIF information
6095
9b5695a63003 2005-10-13 Laszlo Peter <[email protected]>
laca
parents: 5565
diff changeset
    18
Source:       http://umn.dl.sourceforge.net/libexif/%{name}-%{version}.tar.bz2
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    19
Patch1:       libexif-gtk-01-enable-deprecated.diff
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    20
Patch2:       libexif-gtk-02-gettext.diff
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    21
Patch3:       libexif-gtk-03-solaris.diff
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    22
Patch4:       libexif-gtk-04-uninstalled-pc.diff
6808
91747edfea2e 2006-02-21 Damien Carbery <[email protected]>
dc144907
parents: 6745
diff changeset
    23
Patch5:       libexif-gtk-05-sf-bug-1394423.diff
2245
114b28d1b959 Added URL tag
mattk
parents: 2191
diff changeset
    24
URL:          http://sourceforge.net/projects/libexif
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    25
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    26
DocDir:       %{_defaultdocdir}/libexif-gtk
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    27
Autoreqprov:  on
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    28
Prereq:       /sbin/ldconfig
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    29
1285
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    30
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    31
%define libexif_version 0.5.9
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    32
Requires:      libexif >= %{libexif_version}
5565
b1beceba7539 * vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents: 5518
diff changeset
    33
Requires:      gtk2
1285
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    34
BuildRequires: libexif >= %{libexif_version}
5565
b1beceba7539 * vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents: 5518
diff changeset
    35
BuildRequires: gtk2-devel
1285
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    36
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    37
%description
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    38
This library contains GTK widgets for viewing the EXIF informations within
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    39
JPEG images created by some types of digital cameras.
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    40
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    41
%prep 
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    42
%setup -q
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    43
%patch1 -p1
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
    44
%patch2 -p1
2191
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
    45
%patch3 -p1
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    46
%patch4 -p1
6808
91747edfea2e 2006-02-21 Damien Carbery <[email protected]>
dc144907
parents: 6745
diff changeset
    47
%patch5 -p1
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    48
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    49
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    50
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    51
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    52
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    55
  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
    56
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    57
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    58
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    59
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    60
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    61
glib-gettextize -f
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    62
libtoolize --force
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    63
aclocal $ACLOCAL_FLAGS
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    64
automake -a -c -f
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    65
autoconf
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    66
CFLAGS="$CFLAGS $RPM_OPT_FLAGS" 	\
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    67
	./configure 			\
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    68
		--prefix=%{_prefix} 	\
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    69
		--libdir=%{_libdir}	\
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    70
		--disable-static
6745
38ab4e6c7a5f 2006-02-13 Damien Carbery <[email protected]>
dc144907
parents: 6095
diff changeset
    71
38ab4e6c7a5f 2006-02-13 Damien Carbery <[email protected]>
dc144907
parents: 6095
diff changeset
    72
# FIXME: hack: stop the build from looping
38ab4e6c7a5f 2006-02-13 Damien Carbery <[email protected]>
dc144907
parents: 6095
diff changeset
    73
touch po/stamp-it
38ab4e6c7a5f 2006-02-13 Damien Carbery <[email protected]>
dc144907
parents: 6095
diff changeset
    74
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    75
make -j $CPUS
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    76
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    77
%install
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    78
make DESTDIR=${RPM_BUILD_ROOT}/ install-strip
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    79
#clean up unpackaged files
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    80
rm $RPM_BUILD_ROOT%{_libdir}/*.la
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    81
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    82
%clean
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    83
rm -rf ${RPM_BUILD_ROOT}
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    84
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    85
%post
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    86
/sbin/ldconfig
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    87
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    88
%postun
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    89
/sbin/ldconfig
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    90
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    91
%files
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    92
%defattr(-,root,root)
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    93
%{_libdir}/lib*so*
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    94
%{_libdir}/pkgconfig/*
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    95
%{_includedir}/*
3161
b29ab153ae4b * libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents: 3120
diff changeset
    96
%{_datadir}/locale/*
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    97
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    98
%changelog -n libexif-gtk
6808
91747edfea2e 2006-02-21 Damien Carbery <[email protected]>
dc144907
parents: 6745
diff changeset
    99
* Tue Feb 21 2006 - [email protected]
91747edfea2e 2006-02-21 Damien Carbery <[email protected]>
dc144907
parents: 6745
diff changeset
   100
- Add patch, 05-sf-bug-1394423, to fix configure bug, already logged at sf.net.
91747edfea2e 2006-02-21 Damien Carbery <[email protected]>
dc144907
parents: 6745
diff changeset
   101
6745
38ab4e6c7a5f 2006-02-13 Damien Carbery <[email protected]>
dc144907
parents: 6095
diff changeset
   102
* Mon Feb 13 2006 - [email protected]
38ab4e6c7a5f 2006-02-13 Damien Carbery <[email protected]>
dc144907
parents: 6095
diff changeset
   103
- Add hack to fix infinite loop problem in po/Makefile.
38ab4e6c7a5f 2006-02-13 Damien Carbery <[email protected]>
dc144907
parents: 6095
diff changeset
   104
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   105
* Wed Jun 15 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   106
- Add more libs to LDADD so that it builds with the new pkgconfig
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   107
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   108
* Wed Jun 15 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   109
- Bump to 0.3.5
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
   110
3650
cb599a4de391 * libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents: 3628
diff changeset
   111
* Wed Jul 13 2004 - [email protected]
cb599a4de391 * libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents: 3628
diff changeset
   112
- fix for rpm4 packaging
cb599a4de391 * libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents: 3628
diff changeset
   113
3279
5d64ee516a02 Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents: 3263
diff changeset
   114
* 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
   115
- Updated l10n content to libexif-gtk-l10n-po-1.2.tar.bz2
5d64ee516a02 Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents: 3263
diff changeset
   116
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   117
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   118
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   119
3161
b29ab153ae4b * libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents: 3120
diff changeset
   120
* Thu Jun 17 2004 - [email protected]
b29ab153ae4b * libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents: 3120
diff changeset
   121
- Run glib-gettextize and replace po/Makefile.in.in with standard
3176
a699984e34a1 changelog hacking
laca
parents: 3161
diff changeset
   122
  ones found in %{_datadir}/glib-2.0/gettext/.
3161
b29ab153ae4b * libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents: 3120
diff changeset
   123
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   124
* Wed Jun 06 2004 - [email protected]
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   125
- Added needed patches for Solaris.
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   126
2736
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
   127
* 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
   128
- Updated l10n content to libexif-gtk-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
   129
2443
f3d5eaba70ee 2004-04-12 Brian Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   130
* Mon Apr 12 2004 - [email protected]
f3d5eaba70ee 2004-04-12 Brian Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   131
- Add $ACLOCAL_FLAGS to aclocal call, making Solaris more happy.
f3d5eaba70ee 2004-04-12 Brian Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   132
2355
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   133
* Wed Mar 31 2004 - [email protected]
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   134
- replace tar jxf with the more solaris friendly
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   135
  bzcat piped through tar
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   136
2350
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   137
* Mon Mar 29 2004 - [email protected]
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   138
- Updated l10n content to libexif-gtk-l10n-po-1.0.tar.bz2
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   139
2245
114b28d1b959 Added URL tag
mattk
parents: 2191
diff changeset
   140
* Thu Mar 18 2004 - <[email protected]>
114b28d1b959 Added URL tag
mattk
parents: 2191
diff changeset
   141
- Added URL Tag
114b28d1b959 Added URL tag
mattk
parents: 2191
diff changeset
   142
2191
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
   143
* Thu Mar 11 2004 - [email protected]
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
   144
- added libexif-gtk-03-g11n-potfiles.diff
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
   145
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
   146
* Wed Feb 04 2004 - <[email protected]>
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
   147
- l10n tarball, and patch
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
   148
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
   149
* Fri Jan 16 2004 - <[email protected]>
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
   150
- Enable Deprecated patch
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
   151
1272
9942132788b5 #4907449
mattk
parents: 1195
diff changeset
   152
* Tue Oct 14 2003 - <[email protected]>
9942132788b5 #4907449
mattk
parents: 1195
diff changeset
   153
- Upgrade tarball to 0.3.3 for QS
9942132788b5 #4907449
mattk
parents: 1195
diff changeset
   154
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   155
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   156
- remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   157
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
   158
* Wed Jul 16 2003 - [email protected]
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
   159
- Initial version