]> git.pld-linux.org Git - packages/frogr.git/blob - frogr.spec
- updated to 1.8.1 (supports libsoup3 now)
[packages/frogr.git] / frogr.spec
1 #
2 # Conditional build:
3 %bcond_without  libsoup2        # libsoup 2.x instead of libsoup3
4
5 Summary:        Frogr - Flickr Remote Organizer for GNOME
6 Summary(pl.UTF-8):      Frogr - zdalny organizator Flickra dla GNOME
7 Name:           frogr
8 Version:        1.8.1
9 Release:        1
10 License:        GPL v3
11 Group:          X11/Applications/Graphics
12 Source0:        https://download.gnome.org/sources/frogr/1.8/%{name}-%{version}.tar.xz
13 # Source0-md5:  907498b2d9d6c4f5e593fd00416695f4
14 URL:            https://wiki.gnome.org/Apps/Frogr
15 BuildRequires:  gettext-tools >= 0.19.7
16 BuildRequires:  glib2-devel >= 1:2.56
17 BuildRequires:  gstreamer-devel >= 1.0
18 BuildRequires:  gtk+3-devel >= 3.16
19 BuildRequires:  json-glib-devel >= 1.2
20 BuildRequires:  libexif-devel >= 1:0.6.14
21 BuildRequires:  libgcrypt-devel >= 1.5.0
22 %{?with_libsoup2:BuildRequires: libsoup-devel >= 2.42}
23 %{!?with_libsoup2:BuildRequires:        libsoup3-devel >= 3.0}
24 BuildRequires:  libxml2-devel >= 1:2.6.8
25 BuildRequires:  meson
26 BuildRequires:  ninja >= 1.5
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(macros) >= 1.736
29 BuildRequires:  sed >= 4.0
30 BuildRequires:  tar >= 1:1.22
31 BuildRequires:  xz
32 BuildRequires:  yelp-tools
33 Requires(post,postun):  gtk-update-icon-cache
34 Requires(post,postun):  hicolor-icon-theme
35 Requires:       glib2 >= 1:2.56
36 Requires:       gtk+3 >= 3.16
37 Requires:       hicolor-icon-theme
38 Requires:       json-glib >= 1.2
39 Requires:       libexif >= 1:0.6.14
40 Requires:       libgcrypt >= 1.5.0
41 %{?with_libsoup2:Requires:      libsoup >= 2.42}
42 %{!?with_libsoup2:Requires:     libsoup3 >= 3.0}
43 Requires:       libxml2 >= 1:2.6.8
44 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46 %description
47 Frogr is a small application for the GNOME desktop that allows users
48 to manage their accounts in the Flickr image hosting website.
49
50 %description -l pl.UTF-8
51 Frogr to mały program dla środowiska GNOME, umożliwiający użytkownikom
52 zarządzanie swoimi kontami w serwisie zdjęciowym Flickr.
53
54 %prep
55 %setup -q
56
57 # build fails on deprecated glib functions, disable -Werror
58 #%{__sed} -i -e "/'werror=true'/d" meson.build
59
60 %build
61 %meson build \
62         %{?with_libsoup2:-Dwith-libsoup2=true}
63
64 %ninja_build -C build
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %ninja_install -C build
70
71 %find_lang %{name} --with-gnome
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %update_icon_cache hicolor
78
79 %postun
80 %update_icon_cache hicolor
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS MAINTAINERS NEWS README THANKS TRANSLATORS
85 %attr(755,root,root) %{_bindir}/frogr
86 %{_datadir}/frogr
87 %{_datadir}/metainfo/org.gnome.frogr.appdata.xml
88 %{_desktopdir}/org.gnome.frogr.desktop
89 %{_iconsdir}/hicolor/*x*/apps/org.gnome.frogr.png
90 %{_iconsdir}/hicolor/scalable/apps/org.gnome.frogr.svg
91 %{_iconsdir}/hicolor/scalable/apps/org.gnome.frogr-symbolic.svg
92 %{_mandir}/man1/frogr.1*
This page took 0.091273 seconds and 3 git commands to generate.