author | davelam |
Tue, 27 Apr 2010 07:45:54 +0000 | |
changeset 17937 | 664c0536875a |
parent 17902 | a077563a1cf5 |
child 20168 | 17e9d8e7dd75 |
permissions | -rw-r--r-- |
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 |
# |
|
16434 | 10 |
%define owner laca |
9397 | 11 |
# |
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use libexif = libexif.spec |
|
15 |
||
16 |
Name: SUNWlibexif |
|
17937
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
17 |
IPS_package_name: image/library/libexif |
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
18 |
Meta(info.classification): %{classification_prefix}:System/Multimedia Libraries |
16437 | 19 |
Vendor: Sun Microsystems, Inc. |
9397 | 20 |
Summary: EXIF tag parsing library for digital cameras |
21 |
Version: 11.%{libexif.version} |
|
22 |
SUNW_BaseDir: %{_basedir} |
|
11965 | 23 |
SUNW_Copyright: %{name}.copyright |
9397 | 24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
25 |
||
26 |
%include default-depend.inc |
|
27 |
Requires: SUNWlibms |
|
28 |
BuildRequires: SUNWgnome-common-devel |
|
29 |
||
30 |
%package devel |
|
31 |
Summary: %{summary} - development files |
|
32 |
SUNW_BaseDir: %{_basedir} |
|
33 |
%include default-depend.inc |
|
34 |
||
35 |
%prep |
|
36 |
rm -rf %name-%version |
|
37 |
mkdir %name-%version |
|
38 |
%libexif.prep -d %name-%version |
|
39 |
||
40 |
%build |
|
41 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
|
42 |
export CFLAGS="%optflags -I%{_includedir}" |
|
43 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
44 |
export LDFLAGS="%_ldflags" |
|
17180 | 45 |
export ACLOCAL_FLAGS="-I /usr/share/aclocal" |
9397 | 46 |
|
47 |
%libexif.build -d %name-%version |
|
48 |
||
49 |
%install |
|
50 |
%libexif.install -d %name-%version |
|
51 |
||
52 |
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
|
53 |
rm -rf $RPM_BUILD_ROOT%{_datadir} |
|
54 |
||
55 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
56 |
||
57 |
%clean |
|
58 |
rm -rf $RPM_BUILD_ROOT |
|
59 |
||
60 |
%files |
|
61 |
%defattr (-, root, bin) |
|
62 |
%dir %attr (0755, root, bin) %{_libdir} |
|
63 |
%{_libdir}/lib*.so* |
|
64 |
||
65 |
%files devel |
|
66 |
%defattr (-, root, bin) |
|
67 |
%dir %attr (0755, root, bin) %{_includedir} |
|
68 |
%{_includedir}/* |
|
69 |
%dir %attr (0755, root, bin) %{_libdir} |
|
70 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
71 |
%{_libdir}/pkgconfig/* |
|
72 |
||
73 |
%changelog |
|
74 |
* Mon Dec 11 2006 - [email protected] |
|
75 |
- delete some unnecessary env variables |
|
76 |
* Sun Jun 11 2006 - [email protected] |
|
77 |
- change group from other to bin/sys |
|
78 |
* Thu May 11 2006 - [email protected] |
|
79 |
- Change build dependency on SUNWgnome-base-libs-share. That pkg is obsolete |
|
80 |
with files now in the base package. |
|
81 |
* Fri Feb 17 2006 - [email protected] |
|
82 |
- Update Build/Requires after running check-deps.pl script. |
|
83 |
* Wed Jan 04 2006 - [email protected] |
|
84 |
- Add BuildRequires to avoid build failure. |
|
85 |
* Tue Oct 04 2005 - [email protected] |
|
86 |
- Add better summary (libexif -> EXIF tag parsing lib for digital cameras). |
|
87 |
* Fri Sep 09 2005 - <[email protected]> |
|
88 |
- remove unpackaged files |
|
89 |
* Sat Oct 02 2004 - [email protected] |
|
90 |
- added %pkgbuild_postprocess |
|
91 |
* Mon Jul 05 2004 - [email protected] |
|
92 |
- Add BuildRequires: SUNWgnome-base-libs-share |
|
93 |
* Sat Jun 26 2004 - [email protected] |
|
94 |
- Changed install location to /usr/... |
|
95 |
* Fri Mar 31 2004 - [email protected] |
|
96 |
- Created, |