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