author | davelam |
Sat, 18 Apr 2009 12:26:03 +0000 | |
changeset 15650 | dbcf7e3715dd |
parent 15143 | d2d90ead6862 |
child 16434 | f21f22550fe9 |
permissions | -rw-r--r-- |
11733 | 1 |
# |
2 |
# spec file for package SUNWlibgmime |
|
3 |
# |
|
4 |
# includes module(s): gmime |
|
5 |
# |
|
11922 | 6 |
# Copyright 2008 Sun Microsystems, Inc. |
11733 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
15143
d2d90ead6862
* SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string
mattman
parents:
13656
diff
changeset
|
10 |
# Owner: jerrytan |
11733 | 11 |
# |
12 |
||
13 |
%include Solaris.inc |
|
14 |
||
15 |
%use gmime = gmime.spec |
|
16 |
||
17 |
Name: SUNWlibgmime |
|
11773 | 18 |
Version: %{gmime.version} |
11733 | 19 |
Summary: Libraries and binaries to parse and index mail messages |
20 |
SUNW_BaseDir: %{_basedir} |
|
11922 | 21 |
SUNW_Copyright:%{name}.copyright |
11733 | 22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
11922 | 23 |
|
24 |
%include default-depend.inc |
|
15650 | 25 |
Requires: SUNWglib2 |
11733 | 26 |
Requires: SUNWzlib |
27 |
Requires: SUNWlibms |
|
15650 | 28 |
BuildRequires: SUNWglib2-devel |
11733 | 29 |
|
30 |
%package devel |
|
31 |
Summary: %{summary} - development files |
|
32 |
SUNW_BaseDir: %{_basedir} |
|
33 |
%include default-depend.inc |
|
34 |
Requires: %name |
|
35 |
||
36 |
%prep |
|
37 |
rm -rf %name-%version |
|
38 |
mkdir %name-%version |
|
39 |
%gmime.prep -d %name-%version |
|
40 |
||
41 |
%build |
|
42 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
|
43 |
export CFLAGS="%optflags" |
|
44 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
45 |
export LDFLAGS="%_ldflags" |
|
46 |
||
47 |
%gmime.build -d %name-%version |
|
48 |
||
49 |
%install |
|
50 |
rm -rf $RPM_BUILD_ROOT |
|
51 |
%gmime.install -d %name-%version |
|
52 |
||
53 |
# conflicts with SUNWesu |
|
12551 | 54 |
rm $RPM_BUILD_ROOT%{_bindir}/uuencode |
55 |
rm $RPM_BUILD_ROOT%{_bindir}/uudecode |
|
12619 | 56 |
##Uncomment rmdir line when bumped to 2.3.x. |
57 |
##rmdir $RPM_BUILD_ROOT%{_bindir} |
|
11733 | 58 |
|
59 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT} |
|
60 |
||
61 |
%clean |
|
62 |
rm -rf $RPM_BUILD_ROOT |
|
63 |
||
64 |
%files |
|
13625 | 65 |
%doc -d gmime-%{gmime.version} README AUTHORS |
66 |
%doc(bzip2) -d gmime-%{gmime.version} NEWS COPYING ChangeLog |
|
13656 | 67 |
%dir %attr (0755, root, sys) %{_datadir} |
13625 | 68 |
%dir %attr (0755, root, other) %{_datadir}/doc |
11733 | 69 |
%defattr(-, root, bin) |
12619 | 70 |
%dir %attr (0755, root, bin) %dir %{_bindir} |
71 |
%{_bindir}/* |
|
11733 | 72 |
%dir %attr (0755, root, bin) %dir %{_libdir} |
12619 | 73 |
%{_libdir}/*.sh |
11733 | 74 |
%{_libdir}/*.so* |
75 |
||
76 |
%files devel |
|
77 |
%defattr(-, root, bin) |
|
78 |
%dir %attr (0755, root, bin) %dir %{_includedir} |
|
79 |
%{_includedir}/* |
|
80 |
%dir %attr (0755, root, other) %dir %{_libdir}/pkgconfig |
|
81 |
%{_libdir}/pkgconfig/* |
|
82 |
%dir %attr (0755, root, sys) %dir %{_datadir} |
|
83 |
%{_datadir}/gtk-doc |
|
84 |
||
85 |
%changelog |
|
12619 | 86 |
* Fri Jun 06 2008 - [email protected] |
87 |
- Revert to 2.2.21 as tracker does not yet support 2.3.x. |
|
12551 | 88 |
* Fri May 30 2008 - [email protected] |
89 |
- Remove %{_bindir} and %{_libdir} from %files as 2.3.0 tarball does not |
|
90 |
deliver files to there anymore. |
|
11922 | 91 |
* Thu Mar 27 2008 - [email protected] |
92 |
- Add copyright file |
|
11773 | 93 |
* Sun Mar 02 2008 - [email protected] |
94 |
- Correct package version numbers. |
|
11733 | 95 |
* Web Feb 27 2008 - [email protected] |
96 |
- rename from SUNWgmime to SUNWlibgmime |
|
97 |
* Tue Jan 29 2008 - [email protected] |
|
98 |
- Remove no_gtk_doc validation. Always install gtk-doc |
|
99 |
* Thu Jan 24 2008 - [email protected] |
|
100 |
- Remove mono stuff |
|
101 |
- Add gtk-doc for %files devel |
|
102 |
* Wed Jan 02 2008 - [email protected] |
|
103 |
- Rename from SFEgmime to SUNWgmime. |
|
104 |
* Tue Jul 24 2007 - [email protected] |
|
105 |
- Bump to 2.2.10. |
|
106 |
* Wed May 2 2007 - [email protected] |
|
107 |
- Bump to 2.2.8. |
|
108 |
- Add check mono condition. |
|
109 |
* Wed Sep 7 2006 - [email protected] |
|
110 |
- bump to 2.2.3 |
|
111 |
* Sun Jul 13 2006 - [email protected] |
|
112 |
- rename to SFEgmime |
|
113 |
- include Solaris.inc |
|
114 |
- correct patch file name, update CFLAGS, add gtk-docs to %files |
|
115 |
* Wed Jul 12 2006 - [email protected] |
|
116 |
- Initial spec |
|
15650 | 117 |