9397
|
1 |
#
|
|
2 |
# spec file for package SUNWlibexif
|
|
3 |
#
|
|
4 |
# includes module(s): libexif
|
|
5 |
#
|
|
6 |
# Copyright (c) 2004 Sun Microsystems, Inc.
|
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: laca
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
|
|
14 |
%use libexif = libexif.spec
|
|
15 |
|
|
16 |
Name: SUNWlibexif
|
|
17 |
Summary: EXIF tag parsing library for digital cameras
|
|
18 |
Version: 11.%{libexif.version}
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
11965
|
20 |
SUNW_Copyright: %{name}.copyright
|
9397
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
22 |
|
|
23 |
%include default-depend.inc
|
|
24 |
Requires: SUNWgnome-base-libs
|
|
25 |
Requires: SUNWlibms
|
|
26 |
BuildRequires: SUNWgnome-base-libs
|
|
27 |
BuildRequires: SUNWgnome-common-devel
|
|
28 |
|
|
29 |
%package devel
|
|
30 |
Summary: %{summary} - development files
|
|
31 |
SUNW_BaseDir: %{_basedir}
|
|
32 |
%include default-depend.inc
|
|
33 |
|
|
34 |
%prep
|
|
35 |
rm -rf %name-%version
|
|
36 |
mkdir %name-%version
|
|
37 |
%libexif.prep -d %name-%version
|
|
38 |
|
|
39 |
%build
|
|
40 |
export PKG_CONFIG_PATH=%{_pkg_config_path}
|
|
41 |
export CFLAGS="%optflags -I%{_includedir}"
|
|
42 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
43 |
export LDFLAGS="%_ldflags"
|
|
44 |
|
|
45 |
%libexif.build -d %name-%version
|
|
46 |
|
|
47 |
%install
|
|
48 |
%libexif.install -d %name-%version
|
|
49 |
|
|
50 |
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
51 |
rm -rf $RPM_BUILD_ROOT%{_datadir}
|
|
52 |
|
|
53 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
54 |
|
|
55 |
%clean
|
|
56 |
rm -rf $RPM_BUILD_ROOT
|
|
57 |
|
|
58 |
%files
|
|
59 |
%defattr (-, root, bin)
|
|
60 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
61 |
%{_libdir}/lib*.so*
|
|
62 |
|
|
63 |
%files devel
|
|
64 |
%defattr (-, root, bin)
|
|
65 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
66 |
%{_includedir}/*
|
|
67 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
68 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
69 |
%{_libdir}/pkgconfig/*
|
|
70 |
|
|
71 |
%changelog
|
|
72 |
* Mon Dec 11 2006 - [email protected]
|
|
73 |
- delete some unnecessary env variables
|
|
74 |
* Sun Jun 11 2006 - [email protected]
|
|
75 |
- change group from other to bin/sys
|
|
76 |
* Thu May 11 2006 - [email protected]
|
|
77 |
- Change build dependency on SUNWgnome-base-libs-share. That pkg is obsolete
|
|
78 |
with files now in the base package.
|
|
79 |
* Fri Feb 17 2006 - [email protected]
|
|
80 |
- Update Build/Requires after running check-deps.pl script.
|
|
81 |
* Wed Jan 04 2006 - [email protected]
|
|
82 |
- Add BuildRequires to avoid build failure.
|
|
83 |
* Tue Oct 04 2005 - [email protected]
|
|
84 |
- Add better summary (libexif -> EXIF tag parsing lib for digital cameras).
|
|
85 |
* Fri Sep 09 2005 - <[email protected]>
|
|
86 |
- remove unpackaged files
|
|
87 |
* Sat Oct 02 2004 - [email protected]
|
|
88 |
- added %pkgbuild_postprocess
|
|
89 |
* Mon Jul 05 2004 - [email protected]
|
|
90 |
- Add BuildRequires: SUNWgnome-base-libs-share
|
|
91 |
* Sat Jun 26 2004 - [email protected]
|
|
92 |
- Changed install location to /usr/...
|
|
93 |
* Fri Mar 31 2004 - [email protected]
|
|
94 |
- Created,
|