Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
gmime
gmime.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gmime.spec of Package gmime
# # spec file for package gmime # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gmime Version: 2.4.26 Release: 1 Url: http://spruce.sourceforge.net/gmime/ Group: Productivity/Networking/Email/Utilities License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) Summary: MIME Parser and Utility Library Source: http://download.gnome.org/sources/gmime/2.4/%{name}-%{version}.tar.bz2 BuildRequires: gtk-doc BuildRequires: mono-devel BuildRequires: zlib-devel BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-sharp-2.0) BuildRequires: pkgconfig(gapi-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GMime is a C/C++ library for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME). %package tools License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) Group: Productivity/Networking/Email/Utilities Summary: MIME Parser and Utility Library -- Tools Provides: gmime-2_4 = %{version} Obsoletes: gmime-2_4 < %{version} %description tools GMime is a C/C++ library for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME). %package -n libgmime-2_4-2 License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) Group: System/Libraries Summary: MIME Parser and Utility Library %description -n libgmime-2_4-2 GMime is a C/C++ library for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME). %package sharp License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) Group: Development/Libraries/Other Summary: MIME Parser and Utility Library -- Mono Bindings Requires: libgmime-2_4-2 = %{version} glib-sharp2 Provides: gmime-2_4-sharp = %{version} Obsoletes: gmime-2_4-sharp < %{version} %description sharp GMime is a C/C++ library for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME). %package devel License: LGPLv2.1+ ; Public Domain, Freeware ; MIT License (or similar) Group: Development/Libraries/C and C++ Summary: MIME Parser and Utility Library -- Development Files Requires: libgmime-2_4-2 = %{version} Provides: gmime-2_4-devel = %{version} Obsoletes: gmime-2_4-devel < %{version} Provides: gmime-2_4-doc = %{version} Obsoletes: gmime-2_4-doc < %{version} %description devel GMime is a C/C++ library for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME). %define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires | grep -v "no package provides" ; } ' %prep %setup -q %build %configure\ --enable-largefile\ --disable-static\ --enable-gtk-doc make %{?jobs:-j%jobs} %install %makeinstall GACUTIL_FLAGS="/package gtk-sharp /root -bootstrap $RPM_BUILD_ROOT%{_prefix}/lib" # rename to prevent conflict with uu* utils from sharutils mv $RPM_BUILD_ROOT%{_bindir}/uuencode $RPM_BUILD_ROOT%{_bindir}/gmime-uuencode mv $RPM_BUILD_ROOT%{_bindir}/uudecode $RPM_BUILD_ROOT%{_bindir}/gmime-uudecode for FILE in COPYING ; do MD5SUM=$(md5sum $FILE | sed 's/ .*//') if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE fi done rm $RPM_BUILD_ROOT%{_libdir}/*.*a %clean rm -rf $RPM_BUILD_ROOT %post -n libgmime-2_4-2 -p /sbin/ldconfig %postun -n libgmime-2_4-2 -p /sbin/ldconfig %files tools %defattr (-, root, root) # NEWS is empty %doc AUTHORS COPYING ChangeLog PORTING README TODO %{_bindir}/*uu* %files -n libgmime-2_4-2 %defattr (-, root, root) # NEWS is empty %doc AUTHORS COPYING ChangeLog PORTING README TODO %{_libdir}/*.so.* %files sharp %defattr (-, root, root) %dir %{_prefix}/lib/mono/gmime-sharp-2.4 %dir %{_prefix}/lib/mono/gac/gmime-sharp %dir %{_prefix}/lib/mono/gac/gmime-sharp/2.4.0.0__2b75c2ad004c52e4 %{_prefix}/lib/mono/gmime-sharp-2.4/gmime-sharp.dll %{_prefix}/lib/mono/gac/gmime-sharp/2.4.0.0__2b75c2ad004c52e4/gmime-sharp.dll %{_prefix}/lib/mono/gac/gmime-sharp/2.4.0.0__2b75c2ad004c52e4/gmime-sharp.dll.config # devel file: %{_libdir}/pkgconfig/gmime-sharp-2.4.pc %files devel %defattr (-, root, root) %{_includedir}/gmime-2.4 %{_libdir}/*.so %{_libdir}/pkgconfig/gmime-2.4.pc %doc %{_datadir}/gtk-doc/html/gmime-2.4/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor