]> git.pld-linux.org Git - packages/openchange.git/blobdiff - openchange.spec
- unconditional noarch subpackages
[packages/openchange.git] / openchange.spec
index 83f4714c5163e968f8d802363c156840e6fb91cc..fb6a3fde40d53d72b14b4e6cc19b3d7bc046d163 100644 (file)
@@ -12,7 +12,7 @@ Summary:      OpenChange - portable implementation of MS Exchange Server and Exchange
 Summary(pl.UTF-8):     OpenChange - przenośna implementacja serwera oraz protokołów MS Exchange
 Name:          openchange
 Version:       2.3
-Release:       47
+Release:       53
 License:       GPL v3+
 Group:         Libraries
 #Source0Download: https://github.com/openchange/openchange/releases
@@ -28,6 +28,8 @@ Patch6:               %{name}-covscan.patch
 Patch7:                %{name}-samba-4.10-macros.patch
 Patch8:                %{name}-libical.patch
 Patch9:                samba-4.11.patch
+Patch10:       samba-4.12.patch
+Patch11:       %{name}-nanomsg.patch
 URL:           https://github.com/openchange
 BuildRequires: QtCore-devel >= 4.3.0
 BuildRequires: QtGui-devel >= 4.3.0
@@ -42,7 +44,7 @@ BuildRequires:        libmemcached-devel >= 1.0.18
 BuildRequires: libpcap-devel
 BuildRequires: libstdc++-devel
 BuildRequires: mysql-devel
-BuildRequires: nanomsg-devel >= 0.5
+BuildRequires: nanomsg-devel >= 1.0.0
 BuildRequires: perl-base
 BuildRequires: pkgconfig >= 1:0.20
 BuildRequires: popt-devel
@@ -50,7 +52,7 @@ BuildRequires:        popt-devel
 BuildRequires: python-devel >= 1:2.7
 BuildRequires: python-samba >= 4.2.2
 %endif
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.752
 # with DCERCP multiplex and pending call support (upstream 4.1.18+ or 4.2.2+)
 # samba-4.10-macros patch requires samba-pidl 4.10+
 BuildRequires: samba-devel >= 4.10
@@ -176,9 +178,7 @@ Pliki nagłówkowe interfejsu Qt do biblioteki OpenChange MAPI.
 Summary:       API documentation for OpenChange libraries
 Summary(pl.UTF-8):     Dokumentacja API bibliotek OpenChange
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description apidocs
 API documentation for OpenChange libraries.
@@ -223,6 +223,8 @@ Wtyczka Nagiosa do sprawdzania usług Exchange/OpenChange.
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%patch11 -p1
 
 # no switch for verbose mode, enable manually :/
 %{__sed} -i -e 's/^    @\(\$(\(PIDL\|CC\|CXX\|MOC\)\)/ \1/' Makefile
@@ -231,6 +233,8 @@ Wtyczka Nagiosa do sprawdzania usług Exchange/OpenChange.
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
+# instead of calling automake (there is no Makefile.am)
+cp -f /usr/share/automake/{compile,missing} .
 %configure \
        --datadir=%{_datadir}/openchange \
        --enable-openchange-qt4 \
This page took 0.039425 seconds and 4 git commands to generate.