]>
Commit | Line | Data |
---|---|---|
822f3701 MB |
1 | Summary: A GNOME cookbook |
2 | Summary(pl.UTF-8): Książka kucharska GNOME | |
3 | Name: recipes | |
3fb6fdb2 | 4 | Version: 0.12.0 |
822f3701 | 5 | Release: 1 |
a76eba53 | 6 | License: GPL v3+ |
822f3701 | 7 | Group: X11/Applications |
3fb6fdb2 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/recipes/0.12/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 98631dc477520f2d402e4da183395cd0 | |
822f3701 MB |
10 | URL: https://wiki.gnome.org/Apps/Recipes |
11 | BuildRequires: appstream-glib | |
12 | BuildRequires: autoconf >= 2.69 | |
13 | BuildRequires: automake >= 1:1.11 | |
a76eba53 JB |
14 | # C11 (-std=gnu11) |
15 | BuildRequires: gcc >= 6:4.7 | |
822f3701 MB |
16 | BuildRequires: gettext-tools >= 0.19.7 |
17 | BuildRequires: glib2-devel >= 1:2.42.0 | |
18 | BuildRequires: gnome-autoar-devel | |
19 | BuildRequires: gobject-introspection-devel >= 1.42.0 | |
20 | BuildRequires: gspell-devel | |
21 | BuildRequires: gtk+3-devel >= 3.20.0 | |
22 | BuildRequires: json-glib-devel | |
23 | BuildRequires: libtool >= 2:2.2 | |
24 | BuildRequires: pkgconfig >= 1:0.22 | |
a76eba53 | 25 | BuildRequires: tar >= 1:1.22 |
822f3701 MB |
26 | BuildRequires: xz |
27 | Requires(post,postun): gtk-update-icon-cache | |
28 | Requires: hicolor-icon-theme | |
29 | Requires: glib2 >= 1:2.42.0 | |
30 | Requires: gtk+3 >= 3.20.0 | |
3fb6fdb2 | 31 | Requires: shared-mime-info |
822f3701 MB |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | GNOME Recipes is an easy-to-use application that will help you to | |
36 | discover what to cook today, tomorrow, rest of the week and for your | |
37 | special occasions. | |
38 | ||
39 | Recipes comes with a collection of recipes that have been collected by | |
40 | GNOME contributors from all over the world. It also lets you store | |
41 | your own recipes, and share them with your friends. | |
42 | ||
43 | %description -l pl.UTF-8 | |
44 | Przepisy GNOME to łatwy w obsłudze program pomagający odkrywać | |
45 | przepisy na dzisiaj, jutro i resztę tygodnia, a także na specjalne | |
46 | okazje. | |
47 | ||
48 | Program zawiera kolekcję przepisów zebranych przez współtwórców GNOME | |
49 | z całego świata. Umożliwia także dodawanie własnych przepisów | |
50 | i udostępnianie ich znajomym. | |
51 | ||
822f3701 MB |
52 | %prep |
53 | %setup -q | |
54 | ||
55 | %build | |
56 | %{__libtoolize} | |
57 | %{__aclocal} -I m4 -I libgd | |
58 | %{__autoheader} | |
59 | %{__autoconf} | |
60 | %{__automake} | |
61 | %configure \ | |
3fb6fdb2 JB |
62 | --disable-silent-rules \ |
63 | --disable-static | |
822f3701 MB |
64 | %{__make} |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
3fb6fdb2 | 72 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/recipes/*.la |
822f3701 MB |
73 | |
74 | %find_lang %{name} | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post | |
80 | %update_icon_cache hicolor | |
3fb6fdb2 | 81 | %update_mime_database |
822f3701 MB |
82 | |
83 | %postun | |
84 | %update_icon_cache hicolor | |
3fb6fdb2 | 85 | %update_mime_database |
822f3701 MB |
86 | |
87 | %files -f %{name}.lang | |
88 | %defattr(644,root,root,755) | |
89 | %doc AUTHORS ChangeLog NEWS | |
90 | %attr(755,root,root) %{_bindir}/recipes | |
91 | %dir %{_libdir}/recipes | |
92 | %attr(755,root,root) %{_libdir}/recipes/libgd.so | |
93 | %{_datadir}/appdata/org.gnome.Recipes.appdata.xml | |
94 | %{_datadir}/dbus-1/services/org.gnome.Recipes.service | |
95 | %{_datadir}/gnome-shell/search-providers/org.gnome.Recipes-search-provider.ini | |
3fb6fdb2 | 96 | %{_datadir}/mime/packages/org.gnome.Recipes-mime.xml |
822f3701 MB |
97 | %{_datadir}/recipes |
98 | %{_desktopdir}/org.gnome.Recipes.desktop | |
a76eba53 JB |
99 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.Recipes*.png |
100 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Recipes-symbolic.svg |