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