SHA256
1
0
forked from pool/libvmime

Accepting request 405535 from server:mail

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/405535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvmime?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2016-07-01 08:00:46 +00:00 committed by Git OBS Bridge
commit 0222d608f9
6 changed files with 48 additions and 26 deletions

13
_service Normal file
View File

@ -0,0 +1,13 @@
<services>
<service name="tar_scm" mode="localonly">
<param name="scm">git</param>
<param name="url">git://github.com/kisli/vmime</param>
<param name="parent-tag">bdbccdd64d139366210e4bd30e2fd1715edefa32</param>
<param name="versionformat">0.9.2~g@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="localonly">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="localonly"/>
</services>

BIN
libvmime-0.9.1+git432.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -4,23 +4,24 @@ Date: Wed, 27 Mar 2013 17:50:08 +0100
Subject: [PATCH] build: Subject: [PATCH] build:
AFAICS, VMIME broke its API between 0.4.x and 0.8.x without updating AFAICS, VMIME broke its API between 0.4.x and 0.8.x without updating
soversions, hence no trust that it is correct now. Add some suffix soversions, hence no trust that it is correct now. This changed again
that is unique within our distro and distinguishes itself from after 0.9.1; since we are also packaging up a git snapshot currently,
upstream. make sure it has a unique SONAME. Do the same as we do for wxWidgets-3_0,
and use an unambiguous "suse" suffix.
--- ---
CMakeLists.txt | 4 ++-- CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-) 1 file changed, 2 insertions(+), 2 deletions(-)
Index: vmime/CMakeLists.txt Index: vmime-0.9.2~g490/CMakeLists.txt
=================================================================== ===================================================================
--- vmime.orig/CMakeLists.txt --- vmime-0.9.2~g490.orig/CMakeLists.txt
+++ vmime/CMakeLists.txt +++ vmime-0.9.2~g490/CMakeLists.txt
@@ -52,7 +52,7 @@ SET(VMIME_VERSION_MICRO 2) @@ -52,7 +52,7 @@ SET(VMIME_VERSION_MICRO 2)
# . Interfaces added/removed/changed: CURRENT++, REVISION=0 # . Interfaces added/removed/changed: CURRENT++, REVISION=0
# . Interfaces added (upward-compatible changes): AGE++ # . Interfaces added (upward-compatible changes): AGE++
# . Interfaces removed: AGE=0 # . Interfaces removed: AGE=0
-SET(VMIME_API_VERSION_CURRENT 0) -SET(VMIME_API_VERSION_CURRENT 0)
+SET(VMIME_API_VERSION_CURRENT 2) +SET(VMIME_API_VERSION_CURRENT 3)
SET(VMIME_API_VERSION_REVISION 0) SET(VMIME_API_VERSION_REVISION 0)
SET(VMIME_API_VERSION_AGE 0) SET(VMIME_API_VERSION_AGE 0)
@ -29,7 +30,7 @@ Index: vmime/CMakeLists.txt
# Set base name # Set base name
-SET(VMIME_LIBRARY_NAME vmime) -SET(VMIME_LIBRARY_NAME vmime)
+SET(VMIME_LIBRARY_NAME vmime-0.9.2) +SET(VMIME_LIBRARY_NAME vmime-suse)
# Source files # Source files
FILE( FILE(

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jun 22 17:05:17 UTC 2016 - jengelh@inai.de
- Update to new git snapshot
4d1a6ad2f267e3b83f7c04122af8d8e7ee9a2113 [0.9.2~g490]
* handle "x-uuencode" type
* Skip word on unexpected error when fixing broken words.
* XOAUTH2 auth mechanism support
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 13 07:33:44 UTC 2015 - jengelh@inai.de Wed May 13 07:33:44 UTC 2015 - jengelh@inai.de

View File

@ -16,20 +16,19 @@
# #
%define version_unconverted 0.9.2~g490
Name: libvmime Name: libvmime
%define lname libvmime-0_9_2-2 %define lname libvmime-suse3
Summary: Library for working with MIME messages and IMAP/POP/SMTP Summary: Library for working with MIME messages and IMAP/POP/SMTP
License: GPL-3.0+ License: GPL-3.0+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Version: 0.9.2 Version: 0.9.2~g490
Release: 0 Release: 0
Url: http://vmime.org/ Url: http://vmime.org/
#Git-Clone: git://github.com/kisli/vmime
#Git-Web: https://github.com/kisli/vmime
#Snapshot: v0.9.1-432-g674c369
#Source: http://downloads.sf.net/vmime/%name-%version.tar.bz2 #Source: http://downloads.sf.net/vmime/%name-%version.tar.bz2
Source: %name-0.9.1+git432.tar.xz Source: vmime-%version.tar.xz
Patch1: libvmime-nodatetime.diff Patch1: libvmime-nodatetime.diff
Patch2: libvmime-sotag.diff Patch2: libvmime-sotag.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -44,7 +43,7 @@ BuildRequires: inkscape
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
BuildRequires: libgsasl-devel BuildRequires: libgsasl-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: pkgconfig BuildRequires: pkg-config
BuildRequires: postfix BuildRequires: postfix
%if 0%{?suse_version} >= 1130 %if 0%{?suse_version} >= 1130
%define with_pdf 1 %define with_pdf 1
@ -99,7 +98,7 @@ over the Internet. The library offers all the features to build a
complete mail client. complete mail client.
%prep %prep
%setup -qn vmime %setup -qn vmime-%version
%patch -P 1 -P 2 -p1 %patch -P 1 -P 2 -p1
%build %build
@ -111,7 +110,7 @@ popd
cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1" cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1"
# sendmail's awesome location. # sendmail's awesome location.
export PATH="$PATH:/usr/sbin"; export PATH="$PATH:/usr/sbin"
cmake . \ cmake . \
-DVMIME_BUILD_SAMPLES:BOOL=OFF \ -DVMIME_BUILD_SAMPLES:BOOL=OFF \
-DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \ -DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \
@ -123,20 +122,20 @@ cmake . \
%if 0%{?suse_version} >= 1310 %if 0%{?suse_version} >= 1310
-DCMAKE_CXX_FLAGS:STRING="$cf -std=gnu++11" \ -DCMAKE_CXX_FLAGS:STRING="$cf -std=gnu++11" \
%else %else
-DCMAKE_CXX_FLAGS:STRING="$cf" \ -DCMAKE_CXX_FLAGS:STRING="$cf -std=gnu++0x" \
%endif %endif
-DCMAKE_C_FLAGS:STRING="$cf" -DCMAKE_C_FLAGS:STRING="$cf"
make %{?_smp_mflags} VERBOSE=1 make %{?_smp_mflags} VERBOSE=1
%install %install
b="%buildroot"; b="%buildroot"
%if 0%{?with_pdf} %if 0%{?with_pdf}
mkdir -p "$b/%_docdir/%name" mkdir -p "$b/%_docdir/%name"
cp -a doc/book/book.pdf "$b/%_docdir/%name/" cp -a doc/book/book.pdf "$b/%_docdir/%name/"
%endif %endif
make install DESTDIR="$b" make install DESTDIR="$b"
ln -s libvmime-%version.so "$b/%_libdir/libvmime.so" ln -s libvmime-suse.so "$b/%_libdir/libvmime.so"
find "$b" -type f -name "*.la" -delete; find "$b" -type f -name "*.la" -delete
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
@ -144,12 +143,12 @@ find "$b" -type f -name "*.la" -delete;
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %doc COPYING
%_libdir/%name-%version.so.2* %_libdir/%name-suse.so.3*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%_includedir/vmime %_includedir/vmime
%_libdir/libvmime-%version.so %_libdir/libvmime-suse.so
%_libdir/libvmime.so %_libdir/libvmime.so
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%if 0%{?with_pdf} %if 0%{?with_pdf}

BIN
vmime-0.9.2~g490.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.