base-specs/gmime.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16430 1630b44703c8
child 16629 dd0d9dcc762e
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     1
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     2
# spec file for package gmime
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     3
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     4
# Copyright (c) 2008 Sun Microsystems, Inc.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     6
# package are under the same license as the package itself.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16430
diff changeset
     8
%define owner jerrytan
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     9
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    10
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15143
diff changeset
    11
%define OSR gnome.org:0
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15143
diff changeset
    12
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    13
Name:			gmime
14542
f2265000363e update license version
jerrytan
parents: 12864
diff changeset
    14
License:		LGPL v2.1
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    15
Group:			System/Libraries
12705
fdee7a8448f3 Add note to check with Jerry Tan before bumping module as tracker uses it.
dcarbery
parents: 12619
diff changeset
    16
# DO NOT BUMP TO 2.3.x until tracker supports it - check with [email protected]
12864
d39035f5865c 2008-07-21 Damien Carbery <[email protected]>
dcarbery
parents: 12705
diff changeset
    17
Version:		2.2.22
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    18
Release:	 	4
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    19
Distribution:		Java Desktop System
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    20
Vendor:			Sun Microsystems, Inc.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    21
Summary:		Libraries and binaries to parse and index mail messages
12619
b618c66769aa 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12571
diff changeset
    22
Source:			http://download.gnome.org/sources/gmime/2.2/%{name}-%{version}.tar.bz2
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    23
URL:			http://spruce.sourceforge.net/gmime/
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    24
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    25
Docdir:			%{_defaultdocdir}/doc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    26
Autoreqprov:		on
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    27
Prereq:                 /sbin/ldconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    28
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    29
BuildRequires:  autoconf
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    30
BuildRequires:  automake
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    31
BuildRequires:  glib2-devel >= 1:2.12.1
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    32
BuildRequires:  gtk-doc >= 1.0
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    33
BuildRequires:  libtool
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
BuildRequires:  pkgconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
BuildRequires:  zlib-devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    36
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    37
%description
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    38
This library allows you to manipulate MIME messages.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    39
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    40
%package devel
11686
4e757f992933 some minor change to remove "gtk_doc" since no needed
jerrytan
parents: 11621
diff changeset
    41
Summary:		Header files for developing applications with libgmime 
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
Group:			Development/Libraries
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    43
Requires:		%{name} = %{version}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    44
Requires:		glib2-devel >= 1:2.11.4
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    45
Requires:               gtk-doc-common
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    46
Requires:               zlib-devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    47
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    48
%description devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    49
Header files develop libgmime applications.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    50
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    51
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    52
%prep
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    53
%setup -q
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    54
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    55
%build
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    56
%ifos linux
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    57
if [ -x /usr/bin/getconf ]; then
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
  CPUS=`getconf _NPROCESSORS_ONLN`
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
fi
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    60
%else
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    61
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    62
%endif
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    63
if test "x$CPUS" = "x" -o $CPUS = 0; then
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
  CPUS=1
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
fi
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    66
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    67
aclocal $ACLOCAL_FLAGS
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    68
autoheader
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    69
automake -a -c -f
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    70
autoconf
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    71
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    72
CFLAGS="$RPM_OPT_FLAGS"			\
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    73
./configure --prefix=%{_prefix}         \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    74
            --mandir=%{_mandir}         \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    75
            --libdir=%{_libdir}         \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    76
            --libexecdir=%{_libexecdir} \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    77
            --sysconfdir=%{_sysconfdir} \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    78
	    %gtk_doc_option
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    79
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    80
make -j $CPUS
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    81
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    82
%install
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    83
make install DESTDIR=$RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    84
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    85
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    86
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    87
%clean
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    88
rm -rf $RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    89
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    90
%post   -p /sbin/ldconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    91
%postun -p /sbin/ldconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    92
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    93
%files
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    94
%defattr(-,root,root)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    95
%doc AUTHORS ChangeLog README TODO
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    96
%attr(755,root,root) %{_libdir}/libgmime-2.0.so.*.*.*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    97
%attr(755,root,root) %ghost %{_libdir}/libgmime-2.0.so.2
11535
ab1ef8eb4be9 2008-01-27 Patrick Ale <[email protected]>
pale
parents: 11533
diff changeset
    98
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    99
%files devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   100
%defattr(-,root,root)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   101
%doc PORTING
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   102
%attr(755,root,root) %{_bindir}/gmime-config
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   103
%attr(755,root,root) %{_libdir}/libgmime-2.0.so
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   104
%attr(755,root,root) %{_libdir}/gmimeConf.sh
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   105
%{_libdir}/pkgconfig/gmime-2.0.pc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   106
%{_includedir}/gmime-2.0
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   107
%{_datadir}/gtk-doc/html/gmime
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   108
11533
60bee7e6619c * base-specs/gmime.spec: Add /usr/share to prototype definition in spec file.
pale
parents: 11516
diff changeset
   109
60bee7e6619c * base-specs/gmime.spec: Add /usr/share to prototype definition in spec file.
pale
parents: 11516
diff changeset
   110
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   111
%changelog
12864
d39035f5865c 2008-07-21 Damien Carbery <[email protected]>
dcarbery
parents: 12705
diff changeset
   112
* Mon Jul 21 2008 - [email protected]
d39035f5865c 2008-07-21 Damien Carbery <[email protected]>
dcarbery
parents: 12705
diff changeset
   113
- Bump to 2.2.22.
12619
b618c66769aa 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12571
diff changeset
   114
* Fri Jun 06 2008 - [email protected]
b618c66769aa 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12571
diff changeset
   115
- Revert to 2.2.21 as tracker does not yet support 2.3.x.
12571
a9873f8ce4a6 2008-06-03 Damien Carbery <[email protected]>
dcarbery
parents: 12549
diff changeset
   116
* Tue Jun 03 2008 - [email protected]
a9873f8ce4a6 2008-06-03 Damien Carbery <[email protected]>
dcarbery
parents: 12549
diff changeset
   117
- Bump to 2.3.1.
12549
dafe9f1756e9 change owner to jerrytan for gmime
jerrytan
parents: 12547
diff changeset
   118
* Fri May 30 2008 - [email protected]
12571
a9873f8ce4a6 2008-06-03 Damien Carbery <[email protected]>
dcarbery
parents: 12549
diff changeset
   119
- Bump to 2.3.0.
12355
dbf3b00a5aa6 2008-05-26 Damien Carbery <[email protected]>
dcarbery
parents: 12248
diff changeset
   120
* Mon May 26 2008 - [email protected]
dbf3b00a5aa6 2008-05-26 Damien Carbery <[email protected]>
dcarbery
parents: 12248
diff changeset
   121
- Bump to 2.2.21. Remove upstream patch, 01-bitregion-crash.
12248
f260ffb5211d 2008-05-04 Halton Huo <[email protected]>
halton
parents: 12228
diff changeset
   122
* Sun May 04 2008 - [email protected]
f260ffb5211d 2008-05-04 Halton Huo <[email protected]>
halton
parents: 12228
diff changeset
   123
- Bump to 2.2.19
12228
5ab0a64a0f23 2008-04-30 Rick Ju <[email protected]>
rickju
parents: 11936
diff changeset
   124
* Thu Apr 30 2008 - [email protected]
5ab0a64a0f23 2008-04-30 Rick Ju <[email protected]>
rickju
parents: 11936
diff changeset
   125
- fix 6689345
11936
6c0f07130c5d 2008-03-27 Damien Carbery <[email protected]>
dcarbery
parents: 11686
diff changeset
   126
* Thu Mar 27 2008 - [email protected]
6c0f07130c5d 2008-03-27 Damien Carbery <[email protected]>
dcarbery
parents: 11686
diff changeset
   127
- Bump to 2.2.18.
11621
eb1452b7ffc3 2008-02-12 Damien Carbery <[email protected]>
dcarbery
parents: 11583
diff changeset
   128
* Tue Feb 12 2008 - [email protected]
eb1452b7ffc3 2008-02-12 Damien Carbery <[email protected]>
dcarbery
parents: 11583
diff changeset
   129
- Bump to 2.2.17.
11583
c668118ba3aa 2008-02-03 Halton Huo <[email protected]>
halton
parents: 11542
diff changeset
   130
* Sun Feb 03 2008 - [email protected]
c668118ba3aa 2008-02-03 Halton Huo <[email protected]>
halton
parents: 11542
diff changeset
   131
- Bump to 2.2.16.
11542
8e476f230291 * SUNWgmime.spec: remove %if without_gtk_doc validation
pale
parents: 11535
diff changeset
   132
* Tue 29 Jan 2008 - patrick.ale@gmail
8e476f230291 * SUNWgmime.spec: remove %if without_gtk_doc validation
pale
parents: 11535
diff changeset
   133
- Revert change since this is not correct.
11535
ab1ef8eb4be9 2008-01-27 Patrick Ale <[email protected]>
pale
parents: 11533
diff changeset
   134
* Sun 27 Jan 2008 - [email protected]
ab1ef8eb4be9 2008-01-27 Patrick Ale <[email protected]>
pale
parents: 11533
diff changeset
   135
- Revert change and remove /usr/share from
ab1ef8eb4be9 2008-01-27 Patrick Ale <[email protected]>
pale
parents: 11533
diff changeset
   136
  build area
11533
60bee7e6619c * base-specs/gmime.spec: Add /usr/share to prototype definition in spec file.
pale
parents: 11516
diff changeset
   137
* Sat 26 Jan 2008 - [email protected]
60bee7e6619c * base-specs/gmime.spec: Add /usr/share to prototype definition in spec file.
pale
parents: 11516
diff changeset
   138
- Add /usr/share to the prototype
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   139
* Thu Jan 24 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   140
- Remove mono stuff.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   141
* Thu Jan 03 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   142
- Bump to 2.2.15
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   143
* Wed Jan 02 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   144
- spilit from SUNWgmime.spec