Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
libfilezilla
libfilezilla.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libfilezilla.spec of Package libfilezilla
# # spec file for package libfilezilla # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define major 46 %define libname %{name}%{major} %define develname %{name}-devel Name: libfilezilla Version: 0.49.0 Release: 0 Summary: C++ library for filezilla License: GPL-2.0-or-later Group: Development/Libraries/C and C++ URL: https://lib.filezilla-project.org/ #Source0: https://download.filezilla-project.org/libfilezilla/%%{name}-%%{version}.tar.xz Source0: %{name}-%{version}.tar.xz Patch0: %{name}-date-time.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen BuildRequires: fdupes %if 0%{?suse_version} > 1500 BuildRequires: gcc-c++ %else BuildRequires: gcc8-c++ %endif BuildRequires: graphviz BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(cppunit) BuildRequires: pkgconfig(gmp) BuildRequires: pkgconfig(gnutls) >= 3.7.0 BuildRequires: pkgconfig(hogweed) >= 3.1 BuildRequires: pkgconfig(nettle) >= 3.1 Recommends: %{name}-lang %description libfilezilla is C++ library, offering some basic functionality to build high-performing, platform-independent programs. libfilezilla is needed for filezilla (an FTP client and server) to build. %package -n %{libname} Summary: C++ library for filezilla # Provide basename, required for the (unversioned) -lang package. Group: System/Libraries Provides: %{name} = %{version} %description -n %{libname} libfilezilla is C++ library, offering some basic functionality to build high-performing, platform-independent programs. libfilezilla is needed for filezilla (an FTP client and server) to build. Some of the highlights include: * A typesafe, multi-threaded event system. * Timers for periodic events. * A datetime class that not only tracks timestamp but also their accuracy, which simplifies dealing with timestamps originating from different sources. * Simple process handling for spawning child processes with redirected I/O. %package -n %{develname} Summary: Development package for %{name} Group: Development/Libraries/C and C++ Requires: %{libname} = %{version}-%{release} %description -n %{develname} Files needed for development with %{name}. # Need %%lang_package expanded for an extra conflict with an old library package %package lang # FIXME: consider using %%lang_package macro Summary: Translations for package %{name} # in libfilezilla 0.18.x, we wrongly shipped the languages files directly in the library package Group: System/Localization Requires: %{name} = %{version} Conflicts: libfilezilla0 < 0.19 Provides: %{name}-lang-all = %{version} BuildArch: noarch %description lang Provides translations for the "%{name}" package. %prep %autosetup -p1 %build %if 0%{?suse_version} <= 1500 export CC="%{_bindir}/gcc-8" export CXX="%{_bindir}/g++-8" %endif autoreconf -fi %configure --disable-static %make_build pushd doc %make_build html popd %install %make_install # we don't want this find %{buildroot} -type f -name "*.la" -delete -print mkdir -p %{buildroot}%{_docdir}/%{develname} cp -r doc/doxygen-doc/* %{buildroot}%{_docdir}/%{develname}/ rm -f %{buildroot}%{_docdir}/%{develname}/latex/refman.tex %fdupes -s %{buildroot}%{_docdir}/%{develname} %find_lang %{name} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %license COPYING %doc AUTHORS ChangeLog NEWS README %{_libdir}/%{name}.so.%{major}* %files lang -f %{name}.lang %files -n %{develname} %dir %{_docdir}/%{develname} %{_docdir}/%{develname}/* %{_includedir}/%{name}/ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor