- Update to Kopano branch of vmime, 0.9.2k2

OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=26
This commit is contained in:
Jan Engelhardt 2019-05-28 11:58:22 +00:00 committed by Git OBS Bridge
parent 83f0793565
commit b181520485
5 changed files with 27 additions and 17 deletions

View File

@ -1,8 +1,8 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/kisli/vmime</param>
<param name="revision">a9b822140bf8926620fd21b880893d4c214dd8c0</param>
<param name="url">https://github.com/kopano-dev/vmime</param>
<param name="revision">v0.9.2k2</param>
<param name="parent-tag">v0.9.2</param>
<param name="versionformat">0.9.2.@TAG_OFFSET@</param>
</service>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 28 10:38:46 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to Kopano branch of vmime, 0.9.2k2
* Unbreak own hostname qualification on POSIX systems
-------------------------------------------------------------------
Mon Jun 25 12:21:09 UTC 2018 - jengelh@inai.de

View File

@ -17,11 +17,11 @@
Name: libvmime
%define lname libvmime1
Summary: Library for working with RFC 2822, MIME messages and IMAP/POP/SMTP
%define lname libvmime-kopano2
Summary: Library for working with RFC 5322, MIME messages and IMAP/POP/SMTP
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Version: 0.9.2.50
Version: 0.9.2.85
Release: 0
Url: http://vmime.org/
@ -59,7 +59,7 @@ BuildRequires: tex(ucs.sty)
BuildRequires: xz
%description
VMime is a C++ class library for working with RFC2822 and
VMime is a C++ class library for working with RFC5322 and
MIME-conforming messages (RFC20452049), as well as Internet
messaging services like IMAP, POP or SMTP.
@ -72,7 +72,7 @@ Summary: Library for working with MIME messages and IMAP/POP/SMTP
Group: System/Libraries
%description -n %lname
VMime is a C++ class library for working with RFC2822 and
VMime is a C++ class library for working with RFC5322 and
MIME-conforming messages (RFC20452049), as well as Internet
messaging services like IMAP, POP or SMTP.
@ -86,7 +86,7 @@ Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
VMime is a C++ class library for working with RFC2822 and
VMime is a C++ class library for working with RFC5322 and
MIME-conforming messages (RFC20452049), as well as Internet
messaging services like IMAP, POP or SMTP.
@ -105,6 +105,12 @@ popd
cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1"
%cmake \
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-DINCLUDE_INSTALL_DIR:PATH="%_includedir" \
-DLIB_INSTALL_DIR:PATH="%_libdir" \
-DSYSCONF_INSTALL_DIR:PATH="%_sysconfdir" \
-DSHARE_INSTALL_PREFIX:PATH="%_datadir" \
-DCMAKE_INSTALL_LIBDIR:PATH="%_libdir" \
-DVMIME_SENDMAIL_PATH:STRING="%_sbindir/sendmail" \
-DVMIME_BUILD_SAMPLES:BOOL=OFF \
%if 0%{?sle_version}
@ -126,12 +132,9 @@ mkdir -p "$b/%_docdir/%name"
cp -a doc/book/book.pdf "$b/%_docdir/%name/"
%endif
%cmake_install
# https://github.com/kisli/vmime/issues/200
mv "$b/usr/%_libdir" "$b/usr/"
mv "$b/usr/cmake" "$b/%_datadir/"
find "$b" -type f -name "*.la" -delete
mkdir -p "$b/%_datadir"
mv "$b/%_prefix/cmake" "$b/%_datadir/"
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
@ -139,12 +142,13 @@ find "$b" -type f -name "*.la" -delete
%files -n %lname
%defattr(-,root,root)
%doc COPYING
%_libdir/%name.so.1*
%_libdir/libvmime-kopano.so.2*
%files devel
%defattr(-,root,root)
%_includedir/vmime
%_libdir/libvmime.so
%_libdir/libvmime-kopano.so
%_libdir/pkgconfig/*.pc
%_datadir/cmake/
%if 0%{?with_pdf}

BIN
vmime-0.9.2.50.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
vmime-0.9.2.85.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.