summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-05-27 03:55:09 +0000
committerCoprDistGit <infra@openeuler.org>2024-05-27 03:55:09 +0000
commit1f4dccadca30ad8a68460a246c494e760152c57b (patch)
treec81c9e898f342b3675345e9ae017139fe873a659
parentdc8bc5472e42dacfddd359c45ec56ce1d8a0e2c4 (diff)
automatic import of libfilezillaopeneuler23.09openeuler22.03_LTS_SP3
-rw-r--r--.gitignore1
-rw-r--r--libfilezilla.spec58
-rw-r--r--sources1
3 files changed, 60 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4b55ae2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libfilezilla-0.47.0.tar.xz
diff --git a/libfilezilla.spec b/libfilezilla.spec
new file mode 100644
index 0000000..375d700
--- /dev/null
+++ b/libfilezilla.spec
@@ -0,0 +1,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
diff --git a/sources b/sources
new file mode 100644
index 0000000..eeadfda
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b8fcecd37d95c903410f016ef3edb0e2 libfilezilla-0.47.0.tar.xz