Compare commits
10 Commits
e2aa8e7b03
...
384baf1bba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
384baf1bba | ||
|
|
8fb7db81f4 | ||
|
|
ad60a44909 | ||
|
|
c2e85dbdf3 | ||
|
|
fea8b4b5ef | ||
|
|
1397e09f47 | ||
|
|
87d4e2100a | ||
|
|
c7c59c4aea | ||
|
|
faaf2cfff1 | ||
|
|
3feeec8074 |
36
gphoto2-2.5.17-sw.patch
Normal file
36
gphoto2-2.5.17-sw.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
diff -Naur gphoto2-2.5.17.org/gphoto-m4/gp-stdint.m4 gphoto2-2.5.17.sw/gphoto-m4/gp-stdint.m4
|
||||||
|
--- gphoto2-2.5.17.org/gphoto-m4/gp-stdint.m4 2022-02-26 06:48:19.750000000 +0000
|
||||||
|
+++ gphoto2-2.5.17.sw/gphoto-m4/gp-stdint.m4 2022-02-26 06:49:11.080000000 +0000
|
||||||
|
@@ -449,7 +449,7 @@
|
||||||
|
typedef unsigned long long uint64_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#elif defined __alpha || (defined __mips && defined _ABIN32)
|
||||||
|
+#elif defined __alpha || defined __sw_64 || (defined __mips && defined _ABIN32)
|
||||||
|
#if !defined _NO_LONGLONG
|
||||||
|
typedef long int64_t;
|
||||||
|
typedef unsigned long uint64_t;
|
||||||
|
diff -Naur gphoto2-2.5.17.org/packaging/rpm/Makefile.am gphoto2-2.5.17.sw/packaging/rpm/Makefile.am
|
||||||
|
--- gphoto2-2.5.17.org/packaging/rpm/Makefile.am 2022-02-26 06:48:19.780000000 +0000
|
||||||
|
+++ gphoto2-2.5.17.sw/packaging/rpm/Makefile.am 2022-02-26 06:50:54.610000000 +0000
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
rpm: Makefile package.spec
|
||||||
|
$(MAKE) clean
|
||||||
|
mkdir -p BUILD SPECS SOURCES SRPMS
|
||||||
|
- for arch in i386 i486 i586 i686 alpha noarch; do \
|
||||||
|
+ for arch in i386 i486 i586 i686 sw_64 alpha noarch; do \
|
||||||
|
mkdir -p "RPMS/$${arch}"; \
|
||||||
|
done
|
||||||
|
ln -f "$(top_srcdir)/@PACKAGE@-@VERSION@.tar.gz" SOURCES/
|
||||||
|
diff -Naur gphoto2-2.5.17.org/packaging/rpm/Makefile.in gphoto2-2.5.17.sw/packaging/rpm/Makefile.in
|
||||||
|
--- gphoto2-2.5.17.org/packaging/rpm/Makefile.in 2022-02-26 06:48:19.780000000 +0000
|
||||||
|
+++ gphoto2-2.5.17.sw/packaging/rpm/Makefile.in 2022-02-26 06:50:47.590000000 +0000
|
||||||
|
@@ -511,7 +511,7 @@
|
||||||
|
rpm: Makefile package.spec
|
||||||
|
$(MAKE) clean
|
||||||
|
mkdir -p BUILD SPECS SOURCES SRPMS
|
||||||
|
- for arch in i386 i486 i586 i686 alpha noarch; do \
|
||||||
|
+ for arch in i386 i486 i586 i686 sw_64 alpha noarch; do \
|
||||||
|
mkdir -p "RPMS/$${arch}"; \
|
||||||
|
done
|
||||||
|
ln -f "$(top_srcdir)/@PACKAGE@-@VERSION@.tar.gz" SOURCES/
|
||||||
Binary file not shown.
BIN
gphoto2-2.5.28.tar.bz2
Normal file
BIN
gphoto2-2.5.28.tar.bz2
Normal file
Binary file not shown.
24
gphoto2.spec
24
gphoto2.spec
@ -1,13 +1,14 @@
|
|||||||
Name: gphoto2
|
Name: gphoto2
|
||||||
Version: 2.5.17
|
Version: 2.5.28
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Access software for digital cameras
|
Summary: Access software for digital cameras
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: http://www.gphoto.org/
|
Url: http://www.gphoto.org/
|
||||||
Source0: http://downloads.sourceforge.net/gphoto/gphoto2-%{version}.tar.bz2
|
Source0: https://sourceforge.net/projects/gphoto/files/gphoto/%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
Patch1: gphoto2-2.5.17-sw.patch
|
||||||
|
|
||||||
BuildRequires: make pkgconfig(libgphoto2) >= %{version} libjpeg-devel
|
BuildRequires: make pkgconfig(libgphoto2) >= %{version} libjpeg-devel
|
||||||
BuildRequires: pkgconfig(libexif) popt-devel readline-devel
|
BuildRequires: pkgconfig(libexif) popt-devel readline-devel gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The gPhoto2 project is a universal free application and library framework that allows you to download
|
The gPhoto2 project is a universal free application and library framework that allows you to download
|
||||||
@ -20,7 +21,7 @@ Summary: Documentation for gphoto2
|
|||||||
This package provides documentation for gphoto2.
|
This package provides documentation for gphoto2.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n gphoto2-2.5.17 -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -39,5 +40,18 @@ This package provides documentation for gphoto2.
|
|||||||
%{_mandir}/man1/gphoto2.1*
|
%{_mandir}/man1/gphoto2.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 1 2024 liyanan <liyanan61@h-partners.com> - 2.5.28-1
|
||||||
|
- Update to version 2.5.28
|
||||||
|
|
||||||
|
* Fri Dec 08 2023 Ge Wang <wang__ge@126.com> - 2.5.27-1
|
||||||
|
- Update to version 2.5.27
|
||||||
|
|
||||||
|
* Thu Oct 20 2022 wuzx<wuzx1226@qq.com> - 2.5.17-5
|
||||||
|
- add sw64 patch
|
||||||
|
|
||||||
|
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 2.5.17-4
|
||||||
|
- Fix building error: configure: error: no acceptable C compiler found in $PATH
|
||||||
|
- Add gcc in BuildRequires
|
||||||
|
|
||||||
* Tue Dec 31 2019 fengbing <fengbing7@huawei.com> - 2.5.17-3
|
* Tue Dec 31 2019 fengbing <fengbing7@huawei.com> - 2.5.17-3
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
4
gphoto2.yaml
Normal file
4
gphoto2.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: gphoto/gphoto2
|
||||||
|
tag_prefix: gphoto2-
|
||||||
|
seperator: _
|
||||||
Loading…
x
Reference in New Issue
Block a user