gmime/gmime-2.2.1.spec

Name: gmime
Summary: Library for creating and parsing MIME messages
Version: 2.2.1
Release: 1
License: GPL
Group: System Environment/Libraries
URL: http://spruce.sourceforge.net/gmime/
Description: The GMime suite provides a core library and set of utilities which may be used for the creation and parsing of messages using the Multipurpose Internet Mail Extension (MIME).

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

Summary: Library for creating and parsing MIME messages
Name: gmime
Version: 2.2.1
Release: 1%{?dist}
License: GPL
Group: System Environment/Libraries
URL: http://spruce.sourceforge.net/gmime/

Source: http://spruce.sourceforge.net/gmime/sources/v2.2/gmime-%{version}.tar.gz
Patch1: gmime-2.2.1-use-pkg-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: glib2-devel >= 2.0, zlib-devel

%description
The GMime suite provides a core library and set of utilities which may be
used for the creation and parsing of messages using the Multipurpose
Internet Mail Extension (MIME).

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup
%patch1 -p1 -b .use-pkg-config

%build
%configure --disable-static
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%{__mv} -v %{buildroot}%{_bindir}/uuencode %{buildroot}%{_bindir}/gmime-uuencode
%{__mv} -v %{buildroot}%{_bindir}/uudecode %{buildroot}%{_bindir}/gmime-uudecode

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING README TODO
%{_bindir}/gmime-uudecode
%{_bindir}/gmime-uuencode
%{_libdir}/libgmime-2.0.so.*

%files devel
%defattr(-, root, root, 0755)
%doc %{_datadir}/gtk-doc/html/gmime/
%{_bindir}/gmime-config
%{_includedir}/gmime-2.0/
%{_libdir}/gmimeConf.sh
%{_libdir}/libgmime-2.0.so
%{_libdir}/pkgconfig/gmime-2.0.pc
%exclude %{_libdir}/libgmime-2.0.la

%changelog
* Wed Mar 21 2007 Dag Wieers <dag@wieers.com> - 2.2.1-1
- Initial package. (using DAR)