Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:mail
claws-mail-extra-plugins
claws-mail-extra-plugins.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File claws-mail-extra-plugins.spec of Package claws-mail-extra-plugins
# # spec file for package claws-mail-extra-plugins (Version 2.9.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define _prefix /usr # the package synce-devel required by synce plugin was dropped on SUSE %ifarch %ix86 %define build_synce 1 %else %define build_synce 0 %endif %if %suse_version >= 1020 %define build_synce 0 %endif Name: claws-mail-extra-plugins Version: 3.7.1 Release: 0 Summary: Plugins for Claws Mail Summary(de): Plugins für Claws Mail License: GNU General Public License (GPL) Group: Productivity/Networking/Email/Clients URL: http://claws-mail.org Source0: http://prdownloads.sourceforge.net/sylpheed-claws/claws-mail-extra-plugins-%{version}.tar.bz2 Patch1: claws-mail-extra-plugins-prototypes.diff Patch2: claws-mail-extra-plugins-warnings.diff Patch3: claws-mail-extra-plugins-libytnef_shlib.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: sylpheed-claws-extra-plugins = %{version} Obsoletes: sylpheed-claws-extra-plugins < 2.6.1 BuildRequires: pkgconfig BuildRequires: gtk2-devel BuildRequires: gettext BuildRequires: libgtkhtml-devel BuildRequires: ghostscript-library BuildRequires: libarchive-devel %if %suse_version > 1020 BuildRequires: fdupes %endif %if %suse_version <= 1000 BuildRequires: libjpeg-devel BuildRequires: libgpg-error-devel BuildRequires: gail-devel %endif %if %suse_version <= 930 BuildRequires: libxml2-devel BuildRequires: libgnomecanvas-devel BuildRequires: libgpg-error-devel %endif BuildRequires: db-devel BuildRequires: perl >= 5.8 BuildRequires: pcre-devel %if %build_synce BuildRequires: synce-devel %endif BuildRequires: claws-mail-devel >= 3.4.0.1 %if %suse_version >= 1010 BuildRequires: gpgme-devel %else BuildRequires: gpgme %endif %if %suse_version <= 1020 && %suse_version > 1000 BuildRequires: mDNSResponder-lib %endif %if %suse_version >= 1030 BuildRequires: libcurl-devel %else BuildRequires: curl-devel %endif %description Various plugins for claws-mail. Authors: -------- Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> %description -l de Verschiedene Plugins für claws-mail. %package devel Summary: Plugins for claws-mail Summary(de): Plugins für claws-mail Group: Development/Libraries/Other %description devel Various plugins for claws-mail. %description devel -l de Verschiedene Plugins für claws-mail. %package -n libytnef0 Summary: TNEF Stream Parser Library Summary(de): TNEF Stream Parser Library Group: System/Libraries %description -n libytnef0 TNEF Stream Parser Library to parse TNEF files %package -n libytnef-devel Summary: Development files for libytnef Summary(de): Headerdateien für libytnef Group: Development/Libraries/Other Requires: libytnef0 = %{version}-%{release} %description -n libytnef-devel This package provides the libtynef libraries and header files. %prep %setup %patch1 %patch2 %patch3 %build export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:%{_libdir}/pkgconfig" # remove not built plugins %if ! %build_synce rm -rf synce_plugin-* %endif # build all plugins # each plugin has its own src-dir for i in $(find -maxdepth 1 -type d -not -name .) do pushd $i if echo $i | grep -q tnef_parse ; then autoreconf -fi fi %configure %__make %{?jobs:-j%{jobs}} popd done %install # install all plugins with documentation for i in $(find -maxdepth 1 -type d -not -name .) do pushd $i %makeinstall docdir=%{buildroot}%{_docdir}/%{name}/$i %__mkdir_p $docdir %__cp $(find . -regex './\(AUTHORS\|ChangeLog\|COPYING\|INSTALL\|NEWS\|README\)' -size +0k -exec chmod 644 '{}' \; -print0 | xargs --null) $docdir popd done %__cp README %{buildroot}%{_docdir}/%{name} # remove doc files with generic-build-instructions %__rm %{buildroot}%{_defaultdocdir}/claws-mail-extra-plugins/attachwarner-*/INSTALL %__rm %{buildroot}%{_defaultdocdir}/claws-mail-extra-plugins/gtkhtml2_viewer-*/INSTALL %__rm %{buildroot}%{_defaultdocdir}/claws-mail-extra-plugins/rssyl-*/INSTALL %__rm %{buildroot}%{_defaultdocdir}/claws-mail-extra-plugins/spam_report-*/INSTALL %__rm %{buildroot}%{_defaultdocdir}/claws-mail-extra-plugins/tnef_parse-*/INSTALL # remove *.a and *.la files %__rm %{buildroot}%{_libdir}/claws-mail/plugins/{*.a,*.la} %__rm %{buildroot}%{_libdir}/libytnef{*.a,*.la} %find_lang acpi_notifier plugins.lang %find_lang archive plugins.lang %find_lang attachwarner plugins.lang %find_lang gtkhtml2_viewer plugins.lang %find_lang rssyl plugins.lang %find_lang vcalendar plugins.lang %find_lang notification_plugin plugins.lang %find_lang spam_report plugins.lang %find_lang tnef_parse plugins.lang %if %suse_version > 1020 %fdupes %{buildroot}%{_defaultdocdir}/claws-mail-extra-plugins %endif %clean %__rm -rf %{buildroot} %files -f plugins.lang %defattr(-, root, root) %doc %{_docdir}/%{name} %{_libdir}/claws-mail/plugins/*.so %post -n libytnef0 -p /sbin/ldconfig %postun -n libytnef0 -p /sbin/ldconfig %files devel %defattr(-, root, root) %dir %{_includedir}/claws-mail/plugins %dir %{_includedir}/claws-mail/plugins/archive %dir %{_includedir}/claws-mail/plugins/vcalendar %{_includedir}/ical.h %{_includedir}/claws-mail/plugins/vcalendar/vcal_interface.h %{_includedir}/claws-mail/plugins/archive/archiver*.h %files -n libytnef0 %defattr(-, root, root) %{_libdir}/libytnef.so.0 %{_libdir}/libytnef.so.0.0.0 %files -n libytnef-devel %defattr(-, root, root) %{_libdir}/libytnef.so %{_includedir}/mapi*h %{_includedir}/tnef-*.h %{_includedir}/ytnef.h %changelog -n sylpheed-claws-extra-plugins
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