forked from pool/libvmime
- Wrap a number of build dependencies into %{?with_pdf}
OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=29
This commit is contained in:
parent
b46d8167cc
commit
733cb13ca1
5
debian.changelog
Normal file
5
debian.changelog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
libvmime (0.9.2.165-0) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial package.
|
||||||
|
|
||||||
|
-- openSUSE <opensuse@opensuse.org> Mon, 29 Nov 2021 10:00:00 +0100
|
18
debian.control
Normal file
18
debian.control
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Source: libvmime
|
||||||
|
Priority: optional
|
||||||
|
Section: mail
|
||||||
|
Maintainer: openSUSE <opensuse@opensuse.org>
|
||||||
|
Standards-Version: 4.5.0
|
||||||
|
Build-Depends: debhelper-compat (= 12)
|
||||||
|
|
||||||
|
Package: libvmime-suse4
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
|
Description: Library for working with MIME messages and IMAP/POP/SMTP
|
||||||
|
.
|
||||||
|
|
||||||
|
Package: libvmime-dev
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${misc:Depends}, libvmime-suse4 (= ${binary:Version})
|
||||||
|
Description: Development files for vmime, an e-mail message library
|
||||||
|
.
|
1
debian.libvmime-dev.install
Normal file
1
debian.libvmime-dev.install
Normal file
@ -0,0 +1 @@
|
|||||||
|
usr/include/*
|
1
debian.libvmime-suse4.install
Normal file
1
debian.libvmime-suse4.install
Normal file
@ -0,0 +1 @@
|
|||||||
|
usr/lib/*/libvmime*.so.*
|
21
debian.rules
Normal file
21
debian.rules
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
include /usr/share/dpkg/buildflags.mk
|
||||||
|
export DH_VERBOSE=1
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --parallel
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
cmake \
|
||||||
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR:PATH="/usr/lib/${DEB_HOST_MULTIARCH}" \
|
||||||
|
-DVMIME_SENDMAIL_PATH:STRING="/usr/sbin/sendmail"
|
||||||
|
-DVMIME_BUILD_SAMPLES:BOOL=OFF \
|
||||||
|
-DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \
|
||||||
|
-DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \
|
||||||
|
-DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \
|
||||||
|
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="${CPPFLAGS} ${CXXFLAGS}" \
|
||||||
|
-DCMAKE_CXX_FLAGS:STRING=" " \
|
||||||
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="${CPPFLAGS} ${CFLAGS}" \
|
||||||
|
-DCMAKE_C_FLAGS:STRING=" " \
|
||||||
|
-DCMAKE_SHARED_LINKER_FLAGS_RELEASE="${LDFLAGS}"
|
2
debian.series
Normal file
2
debian.series
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
libvmime-nodatetime.diff
|
||||||
|
libvmime-soname.diff
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 4 16:08:42 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Wrap a number of build dependencies into %{?with_pdf}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 24 09:49:33 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Wed Nov 24 09:49:33 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
13
libvmime.dsc
Normal file
13
libvmime.dsc
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Format: 1.0
|
||||||
|
Source: libvmime
|
||||||
|
Architecture: any
|
||||||
|
Version: 0.9.2.165
|
||||||
|
DEBTRANSFORM-RELEASE: 1
|
||||||
|
Maintainer: openSUSE <opensuse@opensuse.org>
|
||||||
|
Homepage: https://opensuse.org/
|
||||||
|
Standards-Version: 4.5.0
|
||||||
|
Build-Depends:
|
||||||
|
cmake (>= 2.8.3), debhelper-compat (>= 12), devscripts, fakeroot, g++,
|
||||||
|
libgnutls28-dev, libgsasl7-dev, g++ (>= 7), make, m4, openssl,
|
||||||
|
pkg-config (>= 0.23)
|
||||||
|
Files:
|
@ -29,9 +29,7 @@ URL: http://vmime.org/
|
|||||||
Source: vmime-%version.tar.xz
|
Source: vmime-%version.tar.xz
|
||||||
Patch1: libvmime-nodatetime.diff
|
Patch1: libvmime-nodatetime.diff
|
||||||
Patch2: libvmime-soname.diff
|
Patch2: libvmime-soname.diff
|
||||||
BuildRequires: ImageMagick
|
|
||||||
BuildRequires: cmake >= 2.8.3
|
BuildRequires: cmake >= 2.8.3
|
||||||
BuildRequires: doxygen
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: inkscape
|
BuildRequires: inkscape
|
||||||
BuildRequires: libgnutls-devel
|
BuildRequires: libgnutls-devel
|
||||||
@ -39,13 +37,17 @@ BuildRequires: libgnutls-devel
|
|||||||
BuildRequires: libgsasl-devel
|
BuildRequires: libgsasl-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: xz
|
||||||
|
%if 0%{?with_pdf}
|
||||||
|
BuildRequires: ImageMagick
|
||||||
|
BuildRequires: doxygen
|
||||||
BuildRequires: texlive-latex
|
BuildRequires: texlive-latex
|
||||||
BuildRequires: texlive-collection-fontsrecommended
|
BuildRequires: texlive-collection-fontsrecommended
|
||||||
BuildRequires: tex(courier.sty)
|
BuildRequires: tex(courier.sty)
|
||||||
BuildRequires: tex(fancyheadings.sty)
|
BuildRequires: tex(fancyheadings.sty)
|
||||||
BuildRequires: tex(pcrr7t.tfm)
|
BuildRequires: tex(pcrr7t.tfm)
|
||||||
BuildRequires: tex(ucs.sty)
|
BuildRequires: tex(ucs.sty)
|
||||||
BuildRequires: xz
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
VMime is a C++ class library for working with RFC5322 and
|
VMime is a C++ class library for working with RFC5322 and
|
||||||
@ -94,7 +96,6 @@ popd
|
|||||||
%cmake \
|
%cmake \
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
|
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
|
||||||
-DINCLUDE_INSTALL_DIR:PATH="%_includedir" \
|
-DINCLUDE_INSTALL_DIR:PATH="%_includedir" \
|
||||||
-DLIB_INSTALL_DIR:PATH="%_libdir" \
|
|
||||||
-DSYSCONF_INSTALL_DIR:PATH="%_sysconfdir" \
|
-DSYSCONF_INSTALL_DIR:PATH="%_sysconfdir" \
|
||||||
-DSHARE_INSTALL_PREFIX:PATH="%_datadir" \
|
-DSHARE_INSTALL_PREFIX:PATH="%_datadir" \
|
||||||
-DCMAKE_INSTALL_LIBDIR:PATH="%_libdir" \
|
-DCMAKE_INSTALL_LIBDIR:PATH="%_libdir" \
|
||||||
|
Loading…
Reference in New Issue
Block a user