Compare commits

..

No commits in common. "384baf1bbaf3257f39445d6ae0179b1acfe7b68a" and "e2aa8e7b030ef5f49a0e9eda7b68964d518bf46c" have entirely different histories.

5 changed files with 5 additions and 59 deletions

View File

@ -1,36 +0,0 @@
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/

BIN
gphoto2-2.5.17.tar.bz2 Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,13 @@
Name: gphoto2
Version: 2.5.28
Release: 1
Version: 2.5.17
Release: 3
Summary: Access software for digital cameras
License: GPLv2+
Url: http://www.gphoto.org/
Source0: https://sourceforge.net/projects/gphoto/files/gphoto/%{version}/%{name}-%{version}.tar.bz2
Patch1: gphoto2-2.5.17-sw.patch
Source0: http://downloads.sourceforge.net/gphoto/gphoto2-%{version}.tar.bz2
BuildRequires: make pkgconfig(libgphoto2) >= %{version} libjpeg-devel
BuildRequires: pkgconfig(libexif) popt-devel readline-devel gcc
BuildRequires: pkgconfig(libexif) popt-devel readline-devel
%description
The gPhoto2 project is a universal free application and library framework that allows you to download
@ -21,7 +20,7 @@ Summary: Documentation for gphoto2
This package provides documentation for gphoto2.
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -n gphoto2-2.5.17 -p1
%build
%configure
@ -40,18 +39,5 @@ This package provides documentation for gphoto2.
%{_mandir}/man1/gphoto2.1*
%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
- Package init

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: gphoto/gphoto2
tag_prefix: gphoto2-
seperator: _