base-specs/gmime.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 18066 1847ff0f1078
child 20107 c9bb1ac4aebe
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6
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
#
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
     4
# Copyright (c) 2010 Sun Microsystems, Inc.
11516
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
17852
edfc096bfd70 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 17547
diff changeset
    11
%define OSR LFI#105446 (gnome Exec. summary):n/a
16430
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
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    14
License:		LGPLv2.1
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    15
Group:			System/Libraries
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    16
Version:		2.5.3
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    17
Release:	 	4
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    18
Distribution:		Java Desktop System
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    19
Vendor:			Gnome Community
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    20
Summary:		Libraries and binaries to parse and index mail messages
17483
a852d7de1cc2 bump to 2.5.0
jerrytan
parents: 17477
diff changeset
    21
Source:			http://download.gnome.org/sources/gmime/2.5/%{name}-%{version}.tar.bz2
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    22
URL:			http://spruce.sourceforge.net/gmime/
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    23
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    24
Docdir:			%{_defaultdocdir}/doc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    25
Autoreqprov:		on
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    26
Prereq:                 /sbin/ldconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    27
17306
351cf4df0294 2010-01-12 Christian Kelly <[email protected]>
chrisk
parents: 17061
diff changeset
    28
Patch1:                 libgmime-01-fixxref-modules.diff
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    29
Patch2:                 libgmime-02-configure.diff
17306
351cf4df0294 2010-01-12 Christian Kelly <[email protected]>
chrisk
parents: 17061
diff changeset
    30
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    31
BuildRequires:  autoconf
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    32
BuildRequires:  automake
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    33
BuildRequires:  glib2-devel >= 1:2.12.1
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
BuildRequires:  gtk-doc >= 1.0
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
BuildRequires:  libtool
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    36
BuildRequires:  pkgconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    37
BuildRequires:  zlib-devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    38
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    39
%description
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    40
This library allows you to manipulate MIME messages.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    41
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
%package devel
11686
4e757f992933 some minor change to remove "gtk_doc" since no needed
jerrytan
parents: 11621
diff changeset
    43
Summary:		Header files for developing applications with libgmime 
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    44
Group:			Development/Libraries
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    45
Requires:		%{name} = %{version}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    46
Requires:		glib2-devel >= 1:2.11.4
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    47
Requires:               gtk-doc-common
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    48
Requires:               zlib-devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    49
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    50
%description devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    51
Header files develop libgmime applications.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    52
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    53
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    54
%prep
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    55
%setup -q
17306
351cf4df0294 2010-01-12 Christian Kelly <[email protected]>
chrisk
parents: 17061
diff changeset
    56
%patch1 -p1
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    57
%patch2 -p1
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
%build
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    60
%ifos linux
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    61
if [ -x /usr/bin/getconf ]; then
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    62
  CPUS=`getconf _NPROCESSORS_ONLN`
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    63
fi
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
%else
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    66
%endif
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    67
if test "x$CPUS" = "x" -o $CPUS = 0; then
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    68
  CPUS=1
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    69
fi
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    70
16629
dd0d9dcc762e bump gmime to 2.4.9
jerrytan
parents: 16434
diff changeset
    71
libtoolize --copy --force
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    72
aclocal $ACLOCAL_FLAGS
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    73
autoheader
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    74
automake -a -c -f
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    75
autoconf
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    76
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    77
CFLAGS="$RPM_OPT_FLAGS"			\
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    78
./configure --prefix=%{_prefix}         \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    79
            --mandir=%{_mandir}         \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    80
            --libdir=%{_libdir}         \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    81
            --libexecdir=%{_libexecdir} \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    82
            --sysconfdir=%{_sysconfdir} \
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    83
	    %gtk_doc_option
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    84
17477
1d1596b6136b 2010-01-29 Christian Kelly <[email protected]>
chrisk
parents: 17306
diff changeset
    85
#make -j $CPUS
1d1596b6136b 2010-01-29 Christian Kelly <[email protected]>
chrisk
parents: 17306
diff changeset
    86
make
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    87
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    88
%install
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    89
make install DESTDIR=$RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    90
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    91
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
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
%clean
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    94
rm -rf $RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    95
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    96
%post   -p /sbin/ldconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    97
%postun -p /sbin/ldconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    98
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    99
%files
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 AUTHORS ChangeLog README TODO
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   102
%attr(755,root,root) %{_libdir}/libgmime-2.0.so.*.*.*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   103
%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
   104
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   105
%files devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   106
%defattr(-,root,root)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   107
%doc PORTING
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   108
%attr(755,root,root) %{_bindir}/gmime-config
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   109
%attr(755,root,root) %{_libdir}/libgmime-2.0.so
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   110
%attr(755,root,root) %{_libdir}/gmimeConf.sh
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   111
%{_libdir}/pkgconfig/gmime-2.0.pc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   112
%{_includedir}/gmime-2.0
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   113
%{_datadir}/gtk-doc/html/gmime
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   114
11533
60bee7e6619c * base-specs/gmime.spec: Add /usr/share to prototype definition in spec file.
pale
parents: 11516
diff changeset
   115
60bee7e6619c * base-specs/gmime.spec: Add /usr/share to prototype definition in spec file.
pale
parents: 11516
diff changeset
   116
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   117
%changelog
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   118
* Wed Jun 02 2010 - [email protected]
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   119
- Bump to 2.5.3.
17547
0f5ed96120b4 2010-02-14 Christian Kelly <[email protected]>
chrisk
parents: 17483
diff changeset
   120
* Sun Feb 14 2010 - [email protected]
0f5ed96120b4 2010-02-14 Christian Kelly <[email protected]>
chrisk
parents: 17483
diff changeset
   121
- Bump to 2.5.1.
17306
351cf4df0294 2010-01-12 Christian Kelly <[email protected]>
chrisk
parents: 17061
diff changeset
   122
* Tue Jan 12 2010 - [email protected]
351cf4df0294 2010-01-12 Christian Kelly <[email protected]>
chrisk
parents: 17061
diff changeset
   123
- Add libgmime-01-fixxref-modules to fix build issue.
12864
d39035f5865c 2008-07-21 Damien Carbery <[email protected]>
dcarbery
parents: 12705
diff changeset
   124
* Mon Jul 21 2008 - [email protected]
d39035f5865c 2008-07-21 Damien Carbery <[email protected]>
dcarbery
parents: 12705
diff changeset
   125
- Bump to 2.2.22.
12619
b618c66769aa 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12571
diff changeset
   126
* Fri Jun 06 2008 - [email protected]
b618c66769aa 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12571
diff changeset
   127
- 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
   128
* Tue Jun 03 2008 - [email protected]
a9873f8ce4a6 2008-06-03 Damien Carbery <[email protected]>
dcarbery
parents: 12549
diff changeset
   129
- Bump to 2.3.1.
12549
dafe9f1756e9 change owner to jerrytan for gmime
jerrytan
parents: 12547
diff changeset
   130
* Fri May 30 2008 - [email protected]
12571
a9873f8ce4a6 2008-06-03 Damien Carbery <[email protected]>
dcarbery
parents: 12549
diff changeset
   131
- Bump to 2.3.0.
12355
dbf3b00a5aa6 2008-05-26 Damien Carbery <[email protected]>
dcarbery
parents: 12248
diff changeset
   132
* Mon May 26 2008 - [email protected]
dbf3b00a5aa6 2008-05-26 Damien Carbery <[email protected]>
dcarbery
parents: 12248
diff changeset
   133
- 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
   134
* Sun May 04 2008 - [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   135
- Bump to 2.2.19.
12228
5ab0a64a0f23 2008-04-30 Rick Ju <[email protected]>
rickju
parents: 11936
diff changeset
   136
* Thu Apr 30 2008 - [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   137
- fix 6689345.
11936
6c0f07130c5d 2008-03-27 Damien Carbery <[email protected]>
dcarbery
parents: 11686
diff changeset
   138
* Thu Mar 27 2008 - [email protected]
6c0f07130c5d 2008-03-27 Damien Carbery <[email protected]>
dcarbery
parents: 11686
diff changeset
   139
- Bump to 2.2.18.
11621
eb1452b7ffc3 2008-02-12 Damien Carbery <[email protected]>
dcarbery
parents: 11583
diff changeset
   140
* Tue Feb 12 2008 - [email protected]
eb1452b7ffc3 2008-02-12 Damien Carbery <[email protected]>
dcarbery
parents: 11583
diff changeset
   141
- Bump to 2.2.17.
11583
c668118ba3aa 2008-02-03 Halton Huo <[email protected]>
halton
parents: 11542
diff changeset
   142
* Sun Feb 03 2008 - [email protected]
c668118ba3aa 2008-02-03 Halton Huo <[email protected]>
halton
parents: 11542
diff changeset
   143
- Bump to 2.2.16.
11542
8e476f230291 * SUNWgmime.spec: remove %if without_gtk_doc validation
pale
parents: 11535
diff changeset
   144
* Tue 29 Jan 2008 - patrick.ale@gmail
8e476f230291 * SUNWgmime.spec: remove %if without_gtk_doc validation
pale
parents: 11535
diff changeset
   145
- Revert change since this is not correct.
11535
ab1ef8eb4be9 2008-01-27 Patrick Ale <[email protected]>
pale
parents: 11533
diff changeset
   146
* Sun 27 Jan 2008 - [email protected]
ab1ef8eb4be9 2008-01-27 Patrick Ale <[email protected]>
pale
parents: 11533
diff changeset
   147
- Revert change and remove /usr/share from
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   148
  build area.
11533
60bee7e6619c * base-specs/gmime.spec: Add /usr/share to prototype definition in spec file.
pale
parents: 11516
diff changeset
   149
* Sat 26 Jan 2008 - [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   150
- Add /usr/share to the prototype.
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   151
* Thu Jan 24 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   152
- Remove mono stuff.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   153
* Thu Jan 03 2008 - [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   154
- Bump to 2.2.15.
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
   155
* Wed Jan 02 2008 - [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
   156
- spilit from SUNWgmime.spec.