commit c8a1ca296844310a24c5f798d51d7804710eefde Author: Sofia Boldyreva Date: Wed Mar 15 22:13:49 2023 +0100 Import elementary-photos-2.7.5-2.el9 diff --git a/.elementary-photos.metadata b/.elementary-photos.metadata new file mode 100644 index 0000000..4044692 --- /dev/null +++ b/.elementary-photos.metadata @@ -0,0 +1 @@ +0c0febd03839b1fadf65220e304aba6afc743c8e SOURCES/photos-2.7.5.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0020519 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/photos-2.7.5.tar.gz diff --git a/SPECS/elementary-photos.spec b/SPECS/elementary-photos.spec new file mode 100644 index 0000000..33c6329 --- /dev/null +++ b/SPECS/elementary-photos.spec @@ -0,0 +1,202 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.2.6) +%define autorelease(e:s:pb:) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} +## END: Set by rpmautospec + +%global srcname photos +%global appname io.elementary.%{srcname} + +%global __provides_exclude_from ^%{_libdir}/%{appname}/.*\\.so$ + +Name: elementary-photos +Summary: Photo manager and viewer from elementary +Version: 2.7.5 +Release: %autorelease +License: LGPLv2+ + +URL: https://github.com/elementary/photos +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.46.0 +BuildRequires: vala + +BuildRequires: pkgconfig(gee-0.8) >= 0.8.5 +BuildRequires: pkgconfig(geocode-glib-1.0) +BuildRequires: pkgconfig(gexiv2) >= 0.4.90 +BuildRequires: pkgconfig(gio-2.0) >= 2.20 +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.20 +BuildRequires: pkgconfig(glib-2.0) >= 2.30.0 +BuildRequires: pkgconfig(gmodule-2.0) >= 2.24.0 +BuildRequires: pkgconfig(granite) >= 6.0.0 +BuildRequires: pkgconfig(gstreamer-1.0) >= 1.0.0 +BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.0.0 +BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.0.0 +BuildRequires: pkgconfig(gstreamer-pbutils-1.0) >= 1.0.0 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0 +BuildRequires: pkgconfig(gudev-1.0) >= 145 +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libexif) >= 0.6.16 +BuildRequires: pkgconfig(libgphoto2) >= 2.4.2 +BuildRequires: pkgconfig(libhandy-1) +BuildRequires: pkgconfig(libraw) >= 0.13.2 +BuildRequires: pkgconfig(libsoup-2.4) >= 2.26.0 +BuildRequires: pkgconfig(libwebp) >= 0.4.4 +BuildRequires: pkgconfig(libxml-2.0) >= 2.6.32 +BuildRequires: pkgconfig(rest-0.7) >= 0.7 +BuildRequires: pkgconfig(sqlite3) >= 3.5.9 +BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.0.0 + +Requires: hicolor-icon-theme + +%description +The elementary continuation of Shotwell, originally written by Yorba +Foundation. + + +%prep +%autosetup -n %{srcname}-%{version} -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %{appname} + + +%check +desktop-file-validate \ + %{buildroot}/%{_datadir}/applications/%{appname}.desktop + +desktop-file-validate \ + %{buildroot}/%{_datadir}/applications/%{appname}-viewer.desktop + +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml + + +%files -f %{appname}.lang +%doc README.md +%license COPYING + +%{_bindir}/%{appname} + +%{_libdir}/%{appname}/ + +%{_libexecdir}/%{appname}/ + +%{_datadir}/applications/%{appname}.desktop +%{_datadir}/applications/%{appname}-viewer.desktop +%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml +%{_datadir}/glib-2.0/schemas/%{appname}-extras.gschema.xml +%{_datadir}/icons/hicolor/*/apps/%{appname}.svg +%{_datadir}/metainfo/%{appname}.appdata.xml + + +%changelog +* Thu Jul 21 2022 Fedora Release Engineering 2.7.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 07 2022 Fabio Valentini 2.7.5-1 +- Update to version 2.7.5; Fixes RHBZ#2087714 + +* Sat Apr 02 2022 Fabio Valentini 2.7.4-2 +- Include upstream patch to fix building with Vala 0.56 + +* Wed Mar 02 2022 Fabio Valentini 2.7.4-1 +- Update to version 2.7.4; Fixes RHBZ#2049497 + +* Thu Jan 20 2022 Fedora Release Engineering 2.7.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Oct 30 2021 Fabio Valentini 2.7.3-1 +- Update to version 2.7.3; Fixes RHBZ#2007225 + +* Mon Oct 11 2021 Fabio Valentini 2.7.1-3 +- Include upstream patch to fix compiling with Vala 0.54 + +* Wed Jul 21 2021 Fedora Release Engineering 2.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jul 15 2021 Fabio Valentini 2.7.1-1 +- Update to version 2.7.1 + +* Thu Feb 18 2021 Fabio Valentini - 2.7.0-6.20210218git3dfc70d +- Bump to commit 3dfc70d. Rebuilt for granite 6 soname bump. + +* Tue Jan 26 2021 Fedora Release Engineering - 2.7.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 2.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 02 2020 Fabio Valentini - 2.7.0-3 +- Drop useless dependency on libunity. + +* Mon May 11 2020 Gwyn Ciesla - 2.7.0-2 +- Rebuild for new LibRaw + +* Wed Apr 08 2020 Fabio Valentini - 2.7.0-1 +- Update to version 2.7.0. + +* Tue Jan 28 2020 Fedora Release Engineering - 2.6.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Nov 16 2019 Fabio Valentini - 2.6.5-1 +- Update to version 2.6.5. + +* Wed Jul 24 2019 Fedora Release Engineering - 2.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 17 2019 Fabio Valentini - 2.6.4-1 +- Update to version 2.6.4. + +* Tue Apr 16 2019 Adam Williamson - 2.6.3-2 +- Rebuild with Meson fix for #1699099 + +* Tue Apr 16 2019 Fabio Valentini - 2.6.3-1 +- Update to version 2.6.3. + +* Mon Mar 18 2019 Fabio Valentini - 2.6.2-3 +- Add backported upstream patch to fix building with gexiv2 >= 0.11. + +* Thu Jan 31 2019 Fedora Release Engineering - 2.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 28 2019 Fabio Valentini - 2.6.2-1 +- Update to version 2.6.2. + +* Mon Oct 29 2018 Fabio Valentini - 2.6.1-1 +- Update to version 2.6.1. +- Remove upstreamed patch. + +* Fri Oct 19 2018 Fabio Valentini - 2.6.0-1 +- Update to version 2.6.0. +- Add patch to fix appdata markup. + +* Mon Aug 27 2018 Fabio Valentini - 0.2.5-5 +- Fix FTBFS issue with vala 0.42. + +* Thu Jul 19 2018 Adam Williamson - 0.2.5-4 +- Rebuild for new libraw + +* Thu Jul 12 2018 Fedora Release Engineering - 0.2.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jul 11 2018 Fabio Valentini - 0.2.5-2 +- Add missing BR: gcc, gcc-c++. + +* Fri Jul 06 2018 Fabio Valentini - 0.2.5-1 +- Initial package renamed from pantheon-photos. +