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