add package
This commit is contained in:
parent
40c00b9511
commit
60e012d45d
BIN
gphoto2-2.5.17.tar.bz2
Normal file
BIN
gphoto2-2.5.17.tar.bz2
Normal file
Binary file not shown.
43
gphoto2.spec
Normal file
43
gphoto2.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
Name: gphoto2
|
||||||
|
Version: 2.5.17
|
||||||
|
Release: 3
|
||||||
|
Summary: Access software for digital cameras
|
||||||
|
License: GPLv2+
|
||||||
|
Url: http://www.gphoto.org/
|
||||||
|
Source0: http://downloads.sourceforge.net/gphoto/gphoto2-%{version}.tar.bz2
|
||||||
|
|
||||||
|
BuildRequires: make pkgconfig(libgphoto2) >= %{version} libjpeg-devel
|
||||||
|
BuildRequires: pkgconfig(libexif) popt-devel readline-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
The gPhoto2 project is a universal free application and library framework that allows you to download
|
||||||
|
images from several different digital camera models, including newer models with USB connections.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Documentation for gphoto2
|
||||||
|
|
||||||
|
%description help
|
||||||
|
This package provides documentation for gphoto2.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n gphoto2-2.5.17 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install INSTALL="install -p"
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%doc NEWS README TODO COPYING
|
||||||
|
%{_bindir}/gphoto2
|
||||||
|
%exclude %{_docdir}/%{name}/test-hook.sh
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man1/gphoto2.1*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Dec 31 2019 fengbing <fengbing7@huawei.com> - 2.5.17-3
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user