]>
Commit | Line | Data |
---|---|---|
93a9cf19 JB |
1 | Summary: GNOME To Do - application to manage your personal tasks |
2 | Summary(pl.UTF-8): GNOME To Do - aplikacja do zarządzania osobistymi zadaniami | |
3 | Name: gnome-todo | |
ed9b6253 | 4 | Version: 3.22.1 |
93a9cf19 JB |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: X11/Applications | |
ed9b6253 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-todo/3.22/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 05efe297566bd7bcd76da9ceb29d52af | |
8a9c09bb | 10 | Patch0: link.patch |
93a9cf19 JB |
11 | URL: https://wiki.gnome.org/Apps/Todo |
12 | BuildRequires: appstream-glib-devel | |
13 | BuildRequires: autoconf >= 2.69 | |
14 | BuildRequires: automake >= 1:1.11.1 | |
15 | BuildRequires: evolution-data-server-devel >= 3.18.0 | |
16 | BuildRequires: gettext-tools | |
17 | BuildRequires: glib2-devel >= 1:2.44.0 | |
18 | BuildRequires: gnome-online-accounts-devel >= 3.2.0 | |
ed9b6253 MB |
19 | BuildRequires: gobject-introspection-devel >= 1.42.0 |
20 | BuildRequires: gtk+3-devel >= 3.22.0 | |
93a9cf19 JB |
21 | BuildRequires: intltool >= 0.40.6 |
22 | BuildRequires: libical-devel >= 0.43 | |
ed9b6253 | 23 | BuildRequires: libpeas-devel >= 1.17 |
93a9cf19 JB |
24 | BuildRequires: libtool >= 2:2.2.6 |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: tar >= 1:1.22 | |
27 | BuildRequires: xz | |
28 | Requires(post,postun): gtk-update-icon-cache | |
29 | Requires(post,postun): glib2 >= 1:2.44.0 | |
30 | Requires: evolution-data-server >= 3.18.0 | |
31 | Requires: glib2 >= 1:2.44.0 | |
32 | Requires: gnome-online-accounts >= 3.2.0 | |
ed9b6253 | 33 | Requires: gtk+3 >= 3.22.0 |
93a9cf19 JB |
34 | Requires: hicolor-icon-theme |
35 | Requires: libical >= 0.43 | |
ed9b6253 MB |
36 | Requires: libpeas >= 1.17 |
37 | Suggests: libpeas-loader-python3 | |
38 | Suggests: python3-pygobject3 | |
93a9cf19 JB |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | GNOME To Do is a small application to manage your personal tasks. It | |
43 | uses GNOME technologies, and so it has complete integration with the | |
44 | GNOME desktop environment. | |
45 | ||
46 | %description -l pl.UTF-8 | |
47 | GNOME To Do to mała aplikacja do zarządzania osobistymi zadaniami. | |
48 | Wykorzystuje mechanizmy GNOME, więc całkowicie integruje się ze | |
49 | środowiskiem graficznym GNOME. | |
50 | ||
ed9b6253 MB |
51 | %package devel |
52 | Summary: Header files for GNOME To Do | |
53 | Summary(pl.UTF-8): Pliki nagłówkowe GNOME To Do | |
54 | Group: X11/Development/Libraries | |
55 | Requires: evolution-data-server-devel >= 3.18.0 | |
56 | Requires: glib2-devel >= 1:2.44.0 | |
57 | Requires: gtk+3-devel >= 3.22.0 | |
58 | Requires: libpeas-devel >= 1.17 | |
59 | ||
60 | %description devel | |
61 | This package provides header files required for GNOME To Do plugins | |
62 | development. | |
63 | ||
64 | %description devel -l pl.UTF-8 | |
65 | Pakiet dostarcza pliki nagłówkowe potrzebne do tworzenia wtyczek do | |
66 | GNOME To Do. | |
67 | ||
68 | %package apidocs | |
69 | Summary: GNOME To Do API documentation | |
70 | Summary(pl.UTF-8): Dokumentacja API GNOME To Do | |
71 | Group: Documentation | |
72 | %if "%{_rpmversion}" >= "5" | |
73 | BuildArch: noarch | |
74 | %endif | |
75 | ||
76 | %description apidocs | |
77 | API documentation for GNOME To Do. | |
78 | ||
79 | %description apidocs -l pl.UTF-8 | |
80 | Dokumentacja API GNOME To Do. | |
81 | ||
93a9cf19 JB |
82 | %prep |
83 | %setup -q | |
8a9c09bb | 84 | %patch0 -p1 |
93a9cf19 JB |
85 | |
86 | %build | |
87 | %{__intltoolize} | |
88 | %{__libtoolize} | |
89 | %{__aclocal} | |
90 | %{__autoconf} | |
91 | %{__autoheader} | |
92 | %{__automake} | |
93 | %configure \ | |
ed9b6253 MB |
94 | --disable-silent-rules \ |
95 | --with-html-dir=%{_gtkdocdir} | |
93a9cf19 JB |
96 | |
97 | %{__make} | |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %{__make} install \ | |
103 | DESTDIR=$RPM_BUILD_ROOT | |
104 | ||
105 | %find_lang %{name} | |
106 | ||
107 | %clean | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
110 | %post | |
111 | %glib_compile_schemas | |
112 | %update_icon_cache hicolor | |
113 | ||
114 | %postun | |
115 | %glib_compile_schemas | |
116 | %update_icon_cache hicolor | |
117 | ||
118 | %files -f %{name}.lang | |
119 | %defattr(644,root,root,755) | |
120 | %doc AUTHORS NEWS README | |
121 | %attr(755,root,root) %{_bindir}/gnome-todo | |
ed9b6253 MB |
122 | %dir %{_libdir}/gnome-todo |
123 | %dir %{_libdir}/gnome-todo/plugins | |
124 | %dir %{_libdir}/gnome-todo/plugins/score | |
125 | %{_libdir}/gnome-todo/plugins/score/score.plugin | |
126 | %dir %{_libdir}/gnome-todo/plugins/score/score | |
127 | %{_libdir}/gnome-todo/plugins/score/score/*.py | |
128 | %dir %{_libdir}/gnome-todo/plugins/unscheduled-panel | |
129 | %{_libdir}/gnome-todo/plugins/unscheduled-panel/unscheduled-panel.plugin | |
130 | %dir %{_libdir}/gnome-todo/plugins/unscheduled-panel/unscheduled-panel | |
131 | %{_libdir}/gnome-todo/plugins/unscheduled-panel/unscheduled-panel/*.py | |
8a9c09bb | 132 | %{_libdir}/girepository-1.0/Gtd-1.0.typelib |
93a9cf19 JB |
133 | %{_datadir}/appdata/org.gnome.Todo.appdata.xml |
134 | %{_datadir}/dbus-1/services/org.gnome.Todo.service | |
135 | %{_datadir}/glib-2.0/schemas/org.gnome.todo.gschema.xml | |
8a9c09bb | 136 | %{_datadir}/glib-2.0/schemas/org.gnome.todo.enums.xml |
93a9cf19 | 137 | %{_desktopdir}/org.gnome.Todo.desktop |
8a9c09bb JR |
138 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.Todo.png |
139 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Todo-symbolic.svg | |
ed9b6253 MB |
140 | |
141 | %files devel | |
142 | %defattr(644,root,root,755) | |
143 | %{_includedir}/gnome-todo | |
144 | %{_pkgconfigdir}/gnome-todo.pc | |
145 | %{_datadir}/gir-1.0/Gtd-1.0.gir | |
146 | ||
147 | %files apidocs | |
148 | %defattr(644,root,root,755) | |
149 | %{_gtkdocdir}/gnome-todo | |
150 |