summaryrefslogtreecommitdiff
path: root/libfilezilla.spec
blob: 375d700fbfd8cad8bf9280d0060ee25b27197703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Name:               libfilezilla
Version:            0.47.0
Release:            1%{?dist}
URL:                https://lib.filezilla-project.org/
Summary:            C++ Library for FileZilla
License:            GPL-2.0-or-later

Source0:            https://download.filezilla-project.org/%{name}/%{name}-%{version}.tar.xz

BuildRequires:      gcc-c++
BuildRequires:      gettext
BuildRequires:      gnutls-devel
BuildRequires:      nettle-devel
BuildRequires:      make

%description
libfilezilla is a small and modern C++ library, offering some basic
functionality to build high-performing, platform-independent programs.

%package devel
Summary: Development files for C++ Library for FileZilla
Requires: %{name}%{?_isa} = %{version}-%{release}

%description devel
libfilezilla is a small and modern C++ library, offering some basic
functionality to build high-performing, platform-independent programs.

This package contains files needed to compile code using libfilezilla.

%prep
%autosetup -p1

%build
%configure --disable-static
%make_build

%install
%make_install

%ldconfig_scriptlets

%find_lang %{name}

%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/libfilezilla.so.43*

%files devel
%doc doc/*
%{_includedir}/*
%{_libdir}/libfilezilla.so
%{_libdir}/libfilezilla.la
%{_libdir}/pkgconfig/libfilezilla.pc

%changelog
* Mon May 27 2024 binshuo <binshuozu@gmail.com> - 1.14-1
- Initial Release