From ea4636cc1a61df89c5b942b303fd79a3b5999201 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:15:27 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.3.1-1mamba;Tue Feb 02 2016] --- README.md | 7 +++++ libfilezilla.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 libfilezilla.spec diff --git a/README.md b/README.md index 8e371d3..61706ff 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # libfilezilla +libfilezilla is a free, open source C++ library, offering some basic functionality to build high-performing, platform-independent programs. +Some of the highlights include: +- A typesafe, multi-threaded event system that's very simple to use yet extremely efficient +- 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 + diff --git a/libfilezilla.spec b/libfilezilla.spec new file mode 100644 index 0000000..0831514 --- /dev/null +++ b/libfilezilla.spec @@ -0,0 +1,72 @@ +Name: libfilezilla +Version: 0.3.1 +Release: 1mamba +Summary: A C++ library offering some basic functionality to build high-performing, platform-independent programs +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://lib.filezilla-project.org +Source: http://downloads.sourceforge.net/project/filezilla/libfilezilla/%{version}/libfilezilla-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libfilezilla is a free, open source C++ library, offering some basic functionality to build high-performing, platform-independent programs. +Some of the highlights include: +- A typesafe, multi-threaded event system that's very simple to use yet extremely efficient +- 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 devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libfilezilla.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libfilezilla +%{_includedir}/libfilezilla/* +%{_libdir}/libfilezilla.a +%{_libdir}/libfilezilla.la +%{_libdir}/libfilezilla.so +%{_libdir}/pkgconfig/libfilezilla.pc +%doc ChangeLog NEWS README + +%changelog +* Tue Feb 02 2016 Silvan Calarco 0.3.1-1mamba +- package created using the webbuild interface