Compare commits

...

35 Commits
f33 ... rawhide

Author SHA1 Message Date
Pete Walter
72ca171031 Rebuild for xerces-c 3.3 2024-10-21 15:56:59 +01:00
Pete Walter
4622587ad6 Rebuild for xerces-c 3.3 2024-10-18 13:06:20 +01:00
Remi Collet
bc4b3fd00a rebuild for https://fedoraproject.org/wiki/Changes/php84 2024-10-14 09:02:28 +02:00
Fedora Release Engineering
2575f80d5d Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 14:17:01 +00:00
Miroslav Suchý
2b813b1fdc convert LGPLv3+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-17 09:36:27 +02:00
Python Maint
f0f7e4d703 Rebuilt for Python 3.13 2024-06-08 22:32:13 +02:00
Remi Collet
16288ac4b6 disable PHP extension on 32-bit 2024-04-09 17:01:36 +02:00
Fedora Release Engineering
dfadf1c557 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 02:41:05 +00:00
Fedora Release Engineering
c9ed75741b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 04:30:02 +00:00
Jonathan Wakely
9bbf3cd5e4 Rebuilt for Boost 1.83 2024-01-17 23:38:34 +00:00
Remi Collet
c0281cb301 rebuild for https://fedoraproject.org/wiki/Changes/php83 2023-10-03 08:21:50 +02:00
Fedora Release Engineering
fc3b93ac36 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 11:17:53 +00:00
Python Maint
755e78695e Rebuilt for Python 3.12 2023-06-13 23:28:13 +02:00
Jonathan Wakely
277913a56b Rebuilt for Boost 1.81 2023-02-20 22:02:39 +00:00
Fedora Release Engineering
e1e1c328d1 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 16:43:05 +00:00
Timotheus Pokorra
c983366fbd fix previous commit: drop references to kolabformat.php 2022-11-07 13:57:27 +01:00
Timotheus Pokorra
b2e600778b add a patch for Swig 4.1 (bug 2137815) 2022-11-03 09:27:00 +01:00
Remi Collet
ae91284e47 rebuild for https://fedoraproject.org/wiki/Changes/php82 2022-10-05 09:27:03 +02:00
Fedora Release Engineering
b08f16478c Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 18:12:46 +00:00
Python Maint
e18ac7c10a Rebuilt for Python 3.11 2022-06-13 19:53:40 +02:00
Thomas Rodgers
4d6c31e4fb Rebuilt for Boost 1.78 2022-05-04 11:39:43 +02:00
Fedora Release Engineering
ad489e96a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 16:34:13 +00:00
Remi Collet
dbba9f6d44 rebuild for https://fedoraproject.org/wiki/Changes/php81 2021-10-28 15:05:51 +02:00
Jonathan Wakely
77ea25c62c Rebuilt for Boost 1.76 2021-08-07 00:34:05 +01:00
Fedora Release Engineering
59d73f9804 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 11:43:00 +00:00
Rex Dieter
e123a991b6 make compat for epel 2021-07-14 15:47:40 -05:00
Rex Dieter
09cef6251e drop depredated qt4 dep
-DBUILD_TESTS=OFF (tests require qt4)
use %autosetup
2021-07-14 14:19:22 -05:00
Python Maint
c09841bdd6 Rebuilt for Python 3.10 2021-06-04 20:09:28 +02:00
Fedora Release Engineering
6cac8af8e6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 17:23:19 +00:00
Jonathan Wakely
6850871514 Rebuilt for Boost 1.75 2021-01-22 21:02:38 +00:00
Jeff Law
7ec547d46c Re-enable LTO 2020-09-28 15:59:53 -06:00
Timotheus Pokorra
811cd080af Upgrade to libkolabxml 1.2.0 2020-08-17 06:16:49 +02:00
Timotheus Pokorra
798e760279 tidy up the spec: always set with_php 1 2020-08-15 23:14:03 +02:00
Timotheus Pokorra
3b5bab43c4 Revert "trying to fix the description for the package in Pagure"
This reverts commit 7ee4559527.
2020-08-15 23:13:18 +02:00
Timotheus Pokorra
7ee4559527 trying to fix the description for the package in Pagure 2020-08-15 22:58:59 +02:00
4 changed files with 123 additions and 29 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/libkolabxml-1.0.3.tar.gz
/libkolabxml-1.1.4.tar.gz
/libkolabxml-1.1.6.tar.gz
/libkolabxml-1.2.0.tar.gz

View File

@ -0,0 +1,12 @@
diff -up libkolabxml-1.2.0/src/php/CMakeLists.txt.swig libkolabxml-1.2.0/src/php/CMakeLists.txt
--- libkolabxml-1.2.0/src/php/CMakeLists.txt.swig 2022-09-19 21:22:05.943413603 +0200
+++ libkolabxml-1.2.0/src/php/CMakeLists.txt 2022-09-19 21:22:54.036485986 +0200
@@ -66,7 +66,7 @@ if(NOT PHP_VERSION_ID VERSION_LESS ${PHP
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/kolabformat.php
- DESTINATION ${PHP_INSTALL_DIR}
+ DESTINATION ${PHP_INSTALL_DIR} OPTIONAL
)
else()

View File

@ -1,4 +1,6 @@
%undefine __cmake_in_source_build
%{?!mono_arches: %global mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} alpha s390x ppc ppc64}
%ifarch %{mono_arches}
@ -6,24 +8,20 @@
%global with_csharp 0
%endif
%global with_java 1
%if 0%{?fedora} > 24
# FTBFS on rawhide -- rex
%if 0%{?fedora} >= 41
%ifarch %{ix86}
%global with_php 0
%else
%global with_php 1
%endif
%else
%global with_php 1
%endif
%global with_python 1
%if 0%{?with_php} > 0
%{!?php_extdir: %global php_extdir %{_libdir}/php/modules}
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d/}
%{!?php_apiver: %global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)}
%if "%{php_version}" < "5.6"
%global ini_name kolabformat.ini
%else
%global ini_name 40-kolabformat.ini
%endif
%endif
# Filter out private python and php libs. Does not work on EPEL5,
# therefor we use it conditionally
@ -50,22 +48,21 @@
%endif
Name: libkolabxml
Version: 1.1.6
Release: 19%{?dist}
Version: 1.2.0
Release: 29%{?dist}
Summary: Kolab XML format collection parser library
License: LGPLv3+
License: LGPL-3.0-or-later
URL: http://www.kolab.org
Source0: https://cgit.kolab.org/libkolabxml/snapshot/libkolabxml-%{version}.tar.gz
Patch0: libkolabxml-1.2.0-fix-for-swig4.patch
BuildRequires: boost-devel
BuildRequires: cmake >= 2.6
BuildRequires: e2fsprogs-devel
BuildRequires: gcc-c++
BuildRequires: libcurl-devel
# only used in tests
BuildRequires: qt4-devel
BuildRequires: swig
BuildRequires: uuid-devel
BuildRequires: xerces-c-devel
@ -136,12 +133,8 @@ Java bindings for libkolabxml
%package -n php-kolabformat
Summary: PHP bindings for libkolabxml
Requires: %{name}%{?_isa} = %{version}-%{release}
%if 0%{?rhel} > 5 || 0%{?fedora} > 15
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
%else
Requires: php-api = %{php_apiver}
%endif
BuildRequires: php >= 5.3
BuildRequires: php-devel >= 5.3
%description -n php-kolabformat
@ -163,12 +156,14 @@ bindings provided through libkolabxml.
%prep
%setup -q -n libkolabxml-%{version}
%autosetup -p1
sed -i "s/-php/-php7/g" src/php/CMakeLists.txt
%build
%cmake .. \
%cmake \
-DBUILD_TESTS:BOOL=OFF \
%if 0%{?with_csharp} > 0
-DCSHARP_BINDINGS=ON \
-DCSHARP_INSTALL_DIR=%{_datadir}/%{name}/csharp/ \
@ -188,6 +183,7 @@ sed -i "s/-php/-php7/g" src/php/CMakeLists.txt
%cmake_build
%install
%cmake_install
@ -195,7 +191,6 @@ sed -i "s/-php/-php7/g" src/php/CMakeLists.txt
mkdir -p \
%{buildroot}/%{_datadir}/php \
%{buildroot}/%{php_inidir}/
mv %{buildroot}/%{php_extdir}/kolabformat.php %{buildroot}/%{_datadir}/php/kolabformat.php
cat > %{buildroot}/%{php_inidir}/%{ini_name} << EOF
extension=kolabformat.so
EOF
@ -204,13 +199,7 @@ EOF
%check
pushd %{_vpath_builddir}
# Make sure libkolabxml.so.* is found, otherwise the tests fail
export LD_LIBRARY_PATH=$( pwd )/src/
pushd tests
./bindingstest ||:
./conversiontest ||:
./parsingtest ||:
popd
%if 0%{?with_php} > 0
php -d enable_dl=On -dextension=src/php/kolabformat.so src/php/test.php ||:
%endif
@ -246,7 +235,6 @@ popd
%if 0%{?with_php} > 0
%files -n php-kolabformat
%{_datadir}/php/kolabformat.php
%{php_extdir}/kolabformat.so
%config(noreplace) %{php_inidir}/%{ini_name}
%endif
@ -260,6 +248,99 @@ popd
%changelog
* Mon Oct 21 2024 Pete Walter <pwalter@fedoraproject.org> - 1.2.0-29
- Rebuild for xerces-c 3.3
* Fri Oct 18 2024 Pete Walter <pwalter@fedoraproject.org> - 1.2.0-28
- Rebuild for xerces-c 3.3
* Mon Oct 14 2024 Remi Collet <remi@fedoraproject.org> - 1.2.0-27
- rebuild for https://fedoraproject.org/wiki/Changes/php84
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jul 17 2024 Miroslav Suchý <msuchy@redhat.com> - 1.2.0-25
- convert license to SPDX
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 1.2.0-24
- Rebuilt for Python 3.13
* Tue Apr 9 2024 Remi Collet <remi@fedoraproject.org> - 8.0.1-14
- disable PHP extension on 32-bit
https://fedoraproject.org/wiki/Changes/php_no_32_bit
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 17 2024 Jonathan Wakely <jwakely@redhat.com> - 1.2.0-20
- Rebuilt for Boost 1.83
* Tue Oct 03 2023 Remi Collet <remi@remirepo.net> - 1.2.0-19
- rebuild for https://fedoraproject.org/wiki/Changes/php83
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.2.0-17
- Rebuilt for Python 3.12
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 1.2.0-16
- Rebuilt for Boost 1.81
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Nov 03 2022 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 1.2.0-14
- add a patch for Swig 4.1 (bug 2137815)
* Wed Oct 05 2022 Remi Collet <remi@remirepo.net> - 1.2.0-13
- rebuild for https://fedoraproject.org/wiki/Changes/php82
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.0-11
- Rebuilt for Python 3.11
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 1.2.0-10
- Rebuilt for Boost 1.78
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Oct 28 2021 Remi Collet <remi@remirepo.net> - 1.2.0-8
- rebuild for https://fedoraproject.org/wiki/Changes/php81
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 1.2.0-7
- Rebuilt for Boost 1.76
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 14 2021 Rex Dieter <rdieter@fedoraproject.org> - 1.2.0-5
- drop depredated qt4 dep
- -DBUILD_TESTS=OFF (tests require qt4)
- use %%autosetup
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.0-4
- Rebuilt for Python 3.10
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 1.2.0-2
- Rebuilt for Boost 1.75
* Mon Sep 28 2020 Jeff Law <law@redhat.com> - 1.2.0-1
- Re-enable LTO
* Sat Aug 15 2020 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 1.2.0-0
- Upgrade to libkolabxml 1.2.0
* Mon Aug 10 2020 Timotheus Pokorra <timotheus.pokorra@solidcharity.com> - 1.1.6-19
- Adjusted for new cmake macros (out of source builds)

View File

@ -1 +1 @@
SHA512 (libkolabxml-1.1.6.tar.gz) = 38543610b3cba48c211132b21ba2f64cd8b84250abd6d42881e0c7d64d9d9014b084cc586ca3f84c0a1573ffc0da64f3d0dad782ccd8ff908cc09937bd2bda2e
SHA512 (libkolabxml-1.2.0.tar.gz) = f3defe1cec6b925a10bd713c5c4b48805696a4d849f080bbfa855fa9815fef30ecbcae1e494ad449fc58f350681857c8d6645ce844458eb378c51e1382491bb5