Request 1807 (accepted)
move from tarball to chum packaging repo
Submit package sailfishos:chum:testing / neon (revision 16) to package sailfishos:chum / neon
[-] [+] | Deleted | libneon.spec |
@@ -1,109 +0,0 @@ -# -# Do NOT Edit the Auto-generated Part! -# Generated by: spectacle version 0.32 -# - -Name: libneon - -# >> macros -# << macros - -Summary: HTTP and WebDAV client library -Version: 0.32.1 -Release: 0 -Group: Applications/Internet -License: GPLv2 -URL: https://notroj.github.io/neon -Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz -Source100: libneon.yaml -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig -BuildRequires: pkgconfig(zlib) -BuildRequires: pkgconfig(openssl) -BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(libproxy-1.0) - -%description -neon is an HTTP/1.1 and WebDAV client library, with a C interface. - -Features: - - High-level wrappers for common HTTP and WebDAV operations (GET, MOVE, DELETE, etc) Low-level interface to the HTTP request/response engine, allowing the use of arbitrary HTTP methods, headers, etc. - - Authentication support including Basic and Digest support, along with GSSAPI-based Negotiate on Unix, and SSPI-based Negotiate/NTLM on Win32 - - SSL/TLS support using OpenSSL or GnuTLS; exposing an abstraction layer for verifying server certificates, handling client certificates, and examining certificate properties. - - Smartcard-based client certificates are also supported via a PKCS#11 wrapper interface - - Abstract interface to parsing XML using libxml2 or expat, and wrappers for simplifying handling XML HTTP response bodies - - WebDAV metadata support; wrappers for PROPFIND and PROPPATCH to simplify property manipulation - -%if "%{?vendor}" == "chum" -PackageName: Neon -PackagerName: nephros -Categories: - - Network - - Libraries -%endif - - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -Development files for %{name}. - -%prep -%setup -q -n neon-%{version} - -# >> setup -# Fix compatibility with OpenSSL >=1.1. -sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c -# << setup - -%build -# >> build pre -# << build pre - -%configure --disable-static \ - --disable-nls \ - --enable-shared \ - --enable-threadsafe-ssl=posix \ - --with-ssl=openssl \ - --with-libproxy \ - --with-libxml2 \ - --with-zlib - - -# >> build post -#%%make %%{?_smp_mflags} -%make_build -# << build post - -%install -rm -rf %{buildroot} -# >> install pre -# << install pre - -# >> install post -# default make install contains -docs which needs xmlto which fails to run correctly in OBS build environment -%{__make} DESTDIR=%{?buildroot} INSTALL="%{__install} -p" install-lib install-headers install-config -# << install post - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root,-) -%{_libdir}/*.so.* -# >> files -# << files - -%files devel -%defattr(-,root,root,-) -# >> files devel -%{_bindir}/neon-config -%{_includedir}/neon -%{_libdir}/%{name}.so -%{_libdir}/%{name}.la -%{_libdir}/pkgconfig/neon.pc -# << files devel | ||
[-] [+] | Deleted | libneon-xmlto.patch ^ |
@@ -1,13 +0,0 @@ -diff --git a/Makefile.in b/Makefile.in -index 6272892..373b93a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -45,7 +45,7 @@ INSTALL = @INSTALL@ - transform = @program_transform_name@ - - LIBTOOL = @LIBTOOL@ --XMLTO = xmlto -+XMLTO = xmlto --skip-validation - GCOV = gcov - XGETTEXT_OPTS = --keyword=_ --keyword=N_ --msgid-bugs-address=neon@lists.manyfish.co.uk \ - --default-domain=neon --flag ne_print_request_header:3:c-format \ | ||
[-] [+] | Added | _service ^ |
@@ -0,0 +1,10 @@ +<services> + <service name="tar_git"> + <param name="url">https://github.com/sailfishos-chum/libneon</param> + <param name="branch"></param> + <param name="revision">0.32.1</param> + <param name="token"/> + <param name="debian">N</param> + <param name="dumb">N</param> + </service> +</services> | ||
[-] [+] | Deleted | libneon.yaml ^ |
@@ -1,66 +0,0 @@ -Name: libneon -Summary: HTTP and WebDAV client library -Version: 0.32.1 -Release: 0 -Group: Applications/Internet -License: GPLv2 -URL: 'https://notroj.github.io/neon' -Sources: - - 'https://notroj.github.io/neon/neon-%{version}.tar.gz' -Description: | - neon is an HTTP/1.1 and WebDAV client library, with a C interface. - - Features: - - High-level wrappers for common HTTP and WebDAV operations (GET, MOVE, DELETE, etc) Low-level interface to the HTTP request/response engine, allowing the use of arbitrary HTTP methods, headers, etc. - - Authentication support including Basic and Digest support, along with GSSAPI-based Negotiate on Unix, and SSPI-based Negotiate/NTLM on Win32 - - SSL/TLS support using OpenSSL or GnuTLS; exposing an abstraction layer for verifying server certificates, handling client certificates, and examining certificate properties. - - Smartcard-based client certificates are also supported via a PKCS#11 wrapper interface - - Abstract interface to parsing XML using libxml2 or expat, and wrappers for simplifying handling XML HTTP response bodies - - WebDAV metadata support; wrappers for PROPFIND and PROPPATCH to simplify property manipulation - - %if "%{?vendor}" == "chum" - PackageName: Neon - PackagerName: nephros - Categories: - - Network - - Libraries - %endif - - -#Patches: -# - 'libneon-xmlto.patch' - -#PkgBR: -# # needed for -docs but doesn't work in this version on OBS -# - xmlto -PkgConfigBR: - - zlib - - openssl - - libxml-2.0 - - libproxy-1.0 -SetupOptions: -q -n neon-%{version} -ConfigOptions: - - '--disable-nls' - - '--enable-shared' - - '--enable-threadsafe-ssl=posix' - - '--with-ssl=openssl' - - '--with-libproxy' - - '--with-libxml2' - - '--with-zlib' -# it is make but we want to do it custom so we don't need docs -Builder: none -Files: - - '%{_libdir}/*.so.*' - -AutoSubPackages: - - devel -#SubPackages: -# - Name: doc -# Summary: Documentation for %{name} -# Group: Documentation -# BuildArch: noarch -# AutoDepend: false -# Files: -# - '%{_mandir}/*/*' -# - '%{_docdir}/*' - | ||
Deleted | neon-0.32.1.tar.gz ^ |