libexif-gtk.spec
author laca
Thu, 11 Aug 2005 18:30:17 +0000
changeset 5517 c3ddcedacbf0
parent 5516 287aa80a1415
child 5518 235b0b4aa324
permissions -rw-r--r--
rolled back HEAD to GNOME_2_10_BRANCHPOINT
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
     1
Name:         libexif-gtk
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
     2
License:      GPL
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
     3
Group:        Development/Libraries/C and C++
1272
9942132788b5 #4907449
mattk
parents: 1195
diff changeset
     4
Version:      0.3.3
5517
c3ddcedacbf0 rolled back HEAD to GNOME_2_10_BRANCHPOINT
laca
parents: 5516
diff changeset
     5
Release:      39
4867
e8cfe7e64783 *.spec (almost): update Vendor and Distribution tags
dermotm
parents: 4860
diff changeset
     6
Distribution: Java Desktop System, Release 3
591
fcfbe1893a20 *** empty log message ***
mattk
parents: 590
diff changeset
     7
Vendor:       Sun Microsystems, Inc.
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
     8
Summary:      GTK widgets for viewing EXIF information
1284
2e4ce9061feb fixed bug
mattk
parents: 1272
diff changeset
     9
Source:       %{name}-%{version}.tar.bz2
5517
c3ddcedacbf0 rolled back HEAD to GNOME_2_10_BRANCHPOINT
laca
parents: 5516
diff changeset
    10
Source1:      libexif-gtk-l10n-po-1.14.tar.bz2
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    11
Source2:      l10n-configure.sh
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    12
Patch1:       libexif-gtk-01-enable-deprecated.diff
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
    13
Patch2:       libexif-gtk-02-fix-potfile.diff
2191
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
    14
Patch3:       libexif-gtk-03-g11n-potfiles.diff
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    15
Patch4:       libexif-gtk-04-gettext.diff
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    16
Patch5:       libexif-gtk-05-solaris.diff
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    17
Patch6:       libexif-gtk-06-uninstalled-pc.diff
2245
114b28d1b959 Added URL tag
mattk
parents: 2191
diff changeset
    18
URL:          http://sourceforge.net/projects/libexif
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    19
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    20
DocDir:       %{_defaultdocdir}/libexif-gtk
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    21
Autoreqprov:  on
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    22
Prereq:       /sbin/ldconfig
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    23
1285
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    24
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    25
%define libexif_version 0.5.9
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    26
Requires:      libexif >= %{libexif_version}
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    27
BuildRequires: libexif >= %{libexif_version}
6ab6786be13c *** empty log message ***
mattk
parents: 1284
diff changeset
    28
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    29
%description
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    30
This library contains GTK widgets for viewing the EXIF informations within
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    31
JPEG images created by some types of digital cameras.
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    32
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    33
%prep 
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    34
%setup -q
2355
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
    35
/usr/bin/bzcat -dc %SOURCE1|tar xf -
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    36
%patch1 -p1
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
    37
%patch2 -p1
2191
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
    38
%patch3 -p1
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    39
%patch4 -p1
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    40
%patch5 -p1
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    41
%patch6 -p1
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    42
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    43
bash -x %SOURCE2
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    44
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    45
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    46
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    47
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    48
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    49
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    50
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    51
  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
    52
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    55
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    56
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
    57
glib-gettextize -f
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    58
libtoolize --force
2443
f3d5eaba70ee 2004-04-12 Brian Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
    59
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    60
automake -a -c -f
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
    61
autoconf
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    62
CFLAGS="$CFLAGS $RPM_OPT_FLAGS" 	\
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    63
	./configure 			\
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    64
		--prefix=%{_prefix} 	\
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    65
		--libdir=%{_libdir}	\
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    66
		--disable-static
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    67
make -j $CPUS
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    68
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    69
%install
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    70
make DESTDIR=${RPM_BUILD_ROOT}/ install-strip
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    71
#clean up unpackaged files
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3580
diff changeset
    72
rm $RPM_BUILD_ROOT%{_libdir}/*.la
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    73
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    74
%clean
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    75
rm -rf ${RPM_BUILD_ROOT}
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    76
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    77
%post
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    78
/sbin/ldconfig
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    79
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    80
%postun
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    81
/sbin/ldconfig
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    82
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    83
%files
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    84
%defattr(-,root,root)
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    85
%{_libdir}/lib*so*
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    86
%{_libdir}/pkgconfig/*
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    87
%{_includedir}/*
3161
b29ab153ae4b * libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents: 3120
diff changeset
    88
%{_datadir}/locale/*
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    89
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
    90
%changelog -n libexif-gtk
3650
cb599a4de391 * libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents: 3628
diff changeset
    91
* Wed Jul 13 2004 - [email protected]
cb599a4de391 * libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents: 3628
diff changeset
    92
- fix for rpm4 packaging
cb599a4de391 * libexif-gtk.spec: Put %changelog in chronological order.
dc144907
parents: 3628
diff changeset
    93
3279
5d64ee516a02 Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents: 3263
diff changeset
    94
* 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
    95
- 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
    96
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    97
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    98
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    99
3161
b29ab153ae4b * libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents: 3120
diff changeset
   100
* Thu Jun 17 2004 - [email protected]
b29ab153ae4b * libexif-gtk.spec : Add glib-gettextize for Linux as well,
tajima
parents: 3120
diff changeset
   101
- Run glib-gettextize and replace po/Makefile.in.in with standard
3176
a699984e34a1 changelog hacking
laca
parents: 3161
diff changeset
   102
  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
   103
3001
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   104
* Wed Jun 06 2004 - [email protected]
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   105
- Added needed patches for Solaris.
9691a173d192 2004-06-02 Brian Cameron <[email protected]>
bc99092
parents: 2958
diff changeset
   106
2736
bd6e69980863 Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents: 2619
diff changeset
   107
* 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
   108
- 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
   109
2443
f3d5eaba70ee 2004-04-12 Brian Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   110
* Mon Apr 12 2004 - [email protected]
f3d5eaba70ee 2004-04-12 Brian Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   111
- Add $ACLOCAL_FLAGS to aclocal call, making Solaris more happy.
f3d5eaba70ee 2004-04-12 Brian Cameron <[email protected]>
bc99092
parents: 2398
diff changeset
   112
2355
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   113
* Wed Mar 31 2004 - [email protected]
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   114
- replace tar jxf with the more solaris friendly
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   115
  bzcat piped through tar
ccf597d7b37a 2004-03-31 Brian Cameron <[email protected]>
bc99092
parents: 2350
diff changeset
   116
2350
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   117
* Mon Mar 29 2004 - [email protected]
9adca2a8c84f Uprevved l10n tarballs to version 1.0
damiend
parents: 2280
diff changeset
   118
- 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
   119
2245
114b28d1b959 Added URL tag
mattk
parents: 2191
diff changeset
   120
* Thu Mar 18 2004 - <[email protected]>
114b28d1b959 Added URL tag
mattk
parents: 2191
diff changeset
   121
- Added URL Tag
114b28d1b959 Added URL tag
mattk
parents: 2191
diff changeset
   122
2191
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
   123
* Thu Mar 11 2004 - [email protected]
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
   124
- added libexif-gtk-03-g11n-potfiles.diff
258cfe83765d Updated the following files:
yk150259
parents: 2159
diff changeset
   125
1576
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
   126
* Wed Feb 04 2004 - <[email protected]>
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
   127
- l10n tarball, and patch
65f52187e6dd *** empty log message ***
mattk
parents: 1543
diff changeset
   128
1532
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
   129
* Fri Jan 16 2004 - <[email protected]>
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
   130
- Enable Deprecated patch
c4a9396b7859 Enable deprecated for libexif-gtk and gtkam so that they build :)
mattk
parents: 1285
diff changeset
   131
1272
9942132788b5 #4907449
mattk
parents: 1195
diff changeset
   132
* Tue Oct 14 2003 - <[email protected]>
9942132788b5 #4907449
mattk
parents: 1195
diff changeset
   133
- Upgrade tarball to 0.3.3 for QS
9942132788b5 #4907449
mattk
parents: 1195
diff changeset
   134
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   135
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   136
- remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   137
590
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
   138
* Wed Jul 16 2003 - [email protected]
c11dc644c2f3 *** empty log message ***
mattk
parents:
diff changeset
   139
- Initial version