## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec Name: objfw Version: 1.0 Release: 1%{?dist} Summary: Portable, lightweight framework for the Objective-C language %if 0%{?suse_version} License: QPL-1.0 or GPL-3.0 or GPL-2.0 Group: Development/Languages/C and C++ %else License: QPL or GPLv3 or GPLv2 %endif URL: https://objfw.nil.im Source0: https://objfw.nil.im/downloads/objfw-%{version}.tar.gz Source1: https://objfw.nil.im/downloads/objfw-%{version}.tar.gz.sig # gpg2 --export --export-options export-minimal 6D1EC2269BC0B5459C8BA920CFDAB41F8292CEEE >gpgkey-objfw.gpg Source2: gpgkey-%{name}.gpg BuildRequires: autoconf BuildRequires: automake BuildRequires: clang BuildRequires: make BuildRequires: pkgconfig(openssl) Requires: libobjfw%{_isa} = %{version}-%{release} Requires: libobjfw-devel%{_isa} = %{version}-%{release} Requires: libobjfwrt%{_isa} = %{version}-%{release} Requires: libobjfwrt-devel%{_isa} = %{version}-%{release} Requires: ofarc%{_isa} = %{version}-%{release} Requires: ofdns%{_isa} = %{version}-%{release} Requires: ofhash%{_isa} = %{version}-%{release} Requires: ofhttp%{_isa} = %{version}-%{release} %description ObjFW is a portable, lightweight framework for the Objective-C language. It enables you to write an application in Objective-C that will run on any platform supported by ObjFW without having to worry about differences between operating systems or various frameworks you would otherwise need if you want to be portable. It supports all modern Objective-C features when using Clang, but is also compatible with GCC ≥ 4.6 to allow maximum portability. ObjFW also comes with its own lightweight and extremely fast Objective-C runtime, which in real world use cases was found to be significantly faster than both GNU's and Apple's runtime. %package -n libobjfw Summary: ObjFW library Requires: libobjfwrt%{_isa} = %{version}-%{release} %description -n libobjfw The libobjfw package contains the library needed by programs using ObjFW. %package -n libobjfw-devel Summary: Header files, libraries and tools for libobjfw Requires: libobjfw%{_isa} = %{version}-%{release} Requires: libobjfwrt-devel%{_isa} = %{version}-%{release} %description -n libobjfw-devel The libobjfw-devel package contains the header files, libraries and tools to develop programs using ObjFW. %package -n libobjfwrt Summary: ObjFW Objective-C runtime library %description -n libobjfwrt The libobjfwrt package contains ObjFW's Objective-C runtime library. %package -n libobjfwrt-devel Summary: Header files and libraries for libobjfwrt Requires: libobjfwrt%{_isa} = %{version}-%{release} %description -n libobjfwrt-devel The libobjfwrt-devel package contains header files and libraries for ObjFW's Objective-C runtime library. %package -n libobjfwtls Summary: TLS support for ObjFW Requires: openssl%{_isa} >= 1.1.1 %description -n libobjfwtls The libobjfwtls package contains TLS support for ObjFW. %package -n libobjfwtls-devel Summary: Header files and libraries for libobjfwtls Requires: libobjfwtls%{_isa} = %{version}-%{release} Requires: libobjfw-devel%{_isa} = %{version}-%{release} Requires: libobjfwrt-devel%{_isa} = %{version}-%{release} %description -n libobjfwtls-devel The libobjfwtls-devel package contains header files and libraries for TLS support for ObjFW. %package -n ofarc Summary: Utility for handling ZIP, Tar and LHA archives Requires: libobjfw%{_isa} = %{version}-%{release} Requires: libobjfwrt%{_isa} = %{version}-%{release} %description -n ofarc ofarc is a multi-format archive utility that allows creating, listing, extracting and modifying ZIP, Tar and LHA archives using ObjFW's classes for various archive types. %package -n ofdns Summary: Utility for performing DNS requests on the command line Requires: libobjfw%{_isa} = %{version}-%{release} Requires: libobjfwrt%{_isa} = %{version}-%{release} %description -n ofdns ofdns is an utility for performing DNS requests on the command line using ObjFW's DNS resolver. %package -n ofhash Summary: Utility to hash files with various cryptographic hash functions Requires: libobjfw%{_isa} = %{version}-%{release} Requires: libobjfwrt%{_isa} = %{version}-%{release} %description -n ofhash ofhash is an utility to hash files with various cryptographic hash functions (even using different algorithms at once) using ObjFW's classes for various cryptographic hashes. %package -n ofhttp Summary: Command line downloader for HTTP(S) Requires: libobjfw%{_isa} = %{version}-%{release} Requires: libobjfwrt%{_isa} = %{version}-%{release} Requires: libobjfwtls%{_isa} = %{version}-%{release} %description -n ofhttp ofhttp is a command line downloader for HTTP and HTTPS using ObjFW's OFHTTPClient class. It supports all features one would expect from a modern command line downloader such as resuming of downloads, using a SOCKS5 proxy, a modern terminal-based UI, etc. %prep %autosetup ./autogen.sh %build %configure OBJC=clang --disable-rpath %make_build %install %make_install %check make -C tests run %files %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %files -n libobjfw %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_libdir}/libobjfw.so.* %files -n libobjfw-devel %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_bindir}/objfw-compile %{_bindir}/objfw-config %{_bindir}/objfw-embed %{_bindir}/objfw-new %{_includedir}/ObjFW %{_libdir}/libobjfw.so %files -n libobjfwrt %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_libdir}/libobjfwrt.so.* %files -n libobjfwrt-devel %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_includedir}/ObjFWRT %{_libdir}/libobjfwrt.so %files -n libobjfwtls %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_libdir}/libobjfwtls.so.* %files -n libobjfwtls-devel %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_includedir}/ObjFWTLS %{_libdir}/libobjfwtls.so %files -n ofarc %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_bindir}/ofarc %{_datadir}/ofarc %files -n ofdns %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_bindir}/ofdns %{_datadir}/ofdns %files -n ofhash %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_bindir}/ofhash %{_datadir}/ofhash %files -n ofhttp %license LICENSE.GPLv2 %license LICENSE.GPLv3 %license LICENSE.QPL %{_bindir}/ofhttp %{_datadir}/ofhttp %changelog * Tue Aug 29 2023 John Doe - 1.0-1 - Uncommitted changes