From 9d5153794c978b411d1a2645860ddda127b34d23 Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Mon, 4 Apr 2016 12:34:34 -0400 Subject: [PATCH] Initial import. --- .gitignore | 1 + libfilezilla.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+) create mode 100644 libfilezilla.spec diff --git a/.gitignore b/.gitignore index e69de29..9d21536 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libfilezilla-0.4.0.1.tar.bz2 diff --git a/libfilezilla.spec b/libfilezilla.spec new file mode 100644 index 0000000..daf21b9 --- /dev/null +++ b/libfilezilla.spec @@ -0,0 +1,56 @@ +Name: libfilezilla +Version: 0.4.0.1 +Release: 2%{?dist} +URL: http://lib.filezilla-project.org/ +Summary: C++ Library for FileZilla +License: GPLv2+ +Source0: http://download.sourceforge.net/sourceforge/filezilla/%{name}-%{version}.tar.bz2 + +%package devel +Summary: Development files for C++ Library for FileZilla +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description +libfilezilla is a small and modern C++ library, offering some basic +functionality to build high-performing, platform-independent programs. + +%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 +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +make DESTDIR=$RPM_BUILD_ROOT install +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%license COPYING +%doc AUTHORS ChangeLog NEWS README +%{_libdir}/*.so.* + +%files devel +%doc doc/* +%{_libdir}/*.so +%{_includedir}/* +%{_libdir}/pkgconfig/libfilezilla.pc + +%changelog +* Mon Apr 04 2016 Jon Ciesla - 0.4.0.1-2 +- Dropped buildroot, Group, buildroot scrup, and added --disable-static and +- isa-specific Requires. + +* Tue Mar 15 2016 Jon Ciesla - 0.4.0.1-1 +- Initial package creation. diff --git a/sources b/sources index e69de29..d7555d4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5ac7c3b59079ef369ba2a8b89859c6af libfilezilla-0.4.0.1.tar.bz2