]>
Commit | Line | Data |
---|---|---|
f2694f37 JB |
1 | Summary: MATE utility programs |
2 | Summary(pl.UTF-8): Programy użytkowe dla środowiska MATE | |
3 | Name: mate-utils | |
cfb3510e | 4 | Version: 1.18.0 |
5f322ea8 | 5 | Release: 1 |
f2694f37 JB |
6 | License: LGPL v2+ (libmatedict), GPL v2+ (programs), FDL (documentation) |
7 | Group: X11/Applications/Multimedia | |
cfb3510e JP |
8 | Source0: http://pub.mate-desktop.org/releases/1.18/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 0ba5c416e59338f633ac3a7d092823bd | |
f2694f37 JB |
10 | URL: https://github.com/mate-desktop/mate-utils |
11 | BuildRequires: autoconf >= 2.53 | |
04eb86c2 | 12 | BuildRequires: automake >= 1:1.11 |
f2694f37 | 13 | BuildRequires: docbook-dtd412-xml |
22efb5e7 | 14 | BuildRequires: glib2-devel >= 1:2.36.0 |
cfb3510e | 15 | BuildRequires: gtk+3-devel >= 3.14 |
f2694f37 | 16 | BuildRequires: gtk-doc >= 1.10 |
04eb86c2 | 17 | BuildRequires: intltool >= 0.50.1 |
cfb3510e | 18 | BuildRequires: libcanberra-gtk3-devel >= 0.4 |
f2694f37 JB |
19 | BuildRequires: libgtop-devel >= 1:2.12.0 |
20 | BuildRequires: libtool >= 1:1.4.3 | |
21 | BuildRequires: mate-common | |
cfb3510e | 22 | BuildRequires: mate-panel-devel >= 1.17.0 |
f2694f37 JB |
23 | BuildRequires: rpmbuild(find_lang) >= 1.36 |
24 | BuildRequires: tar >= 1:1.22 | |
22efb5e7 JB |
25 | BuildRequires: xorg-lib-libX11-devel |
26 | BuildRequires: xorg-lib-libXext-devel | |
f2694f37 | 27 | BuildRequires: xz |
66e8fcd2 | 28 | BuildRequires: yelp-tools |
f2694f37 JB |
29 | BuildRequires: zlib-devel |
30 | Requires(post,postun): desktop-file-utils | |
22efb5e7 | 31 | Requires(post,postun): glib2 >= 1:2.36.0 |
f2694f37 | 32 | Requires(post,postun): gtk-update-icon-cache |
22efb5e7 | 33 | Requires: glib2 >= 1:2.36.0 |
cfb3510e | 34 | Requires: gtk+3 >= 3.14 |
35729751 | 35 | Requires: hicolor-icon-theme |
cfb3510e | 36 | Requires: libcanberra-gtk3 >= 0.4 |
62ec9867 | 37 | Requires: libgtop >= 1:2.12.0 |
855cd23f | 38 | Requires: libmatedict = %{version}-%{release} |
cfb3510e | 39 | Requires: mate-panel >= 1.17.0 |
f2694f37 JB |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41 | ||
42 | %define _libexecdir %{_libdir}/mate-panel | |
43 | ||
44 | %description | |
45 | MATE utility programs. | |
46 | ||
47 | %description -l pl.UTF-8 | |
48 | Programy użytkowe dla środowiska MATE. | |
49 | ||
50 | %package -n libmatedict | |
51 | Summary: MATE Dictionary Protocol client library | |
52 | Summary(pl.UTF-8): Biblioteka kliencka protokołu słownika MATE | |
53 | License: LGPL v2+ | |
54 | Group: X11/Libraries | |
22efb5e7 | 55 | Requires: glib2 >= 1:2.36.0 |
cfb3510e | 56 | Requires: gtk+3 >= 3.14 |
f2694f37 JB |
57 | |
58 | %description -n libmatedict | |
59 | MATE Dictionary Protocol client library. | |
60 | ||
61 | %description -n libmatedict -l pl.UTF-8 | |
62 | Biblioteka kliencka protokołu słownika MATE. | |
63 | ||
64 | %package -n libmatedict-devel | |
65 | Summary: Header files for libmatedict library | |
66 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libmatedict | |
67 | License: LGPL v2+ | |
68 | Group: X11/Development/Libraries | |
22efb5e7 | 69 | Requires: glib2-devel >= 1:2.36.0 |
cfb3510e | 70 | Requires: gtk+3 >= 3.14 |
55bee479 | 71 | Requires: libmatedict = %{version}-%{release} |
f2694f37 JB |
72 | |
73 | %description -n libmatedict-devel | |
74 | Header files for libmatedict library. | |
75 | ||
76 | %description -n libmatedict-devel -l pl.UTF-8 | |
77 | Pliki nagłówkowe biblioteki libmatedict. | |
78 | ||
79 | %package -n libmatedict-apidocs | |
80 | Summary: API documentation for libmatedict library | |
81 | Summary(pl.UTF-8): Dokumentacja API biblioteki libmatedict | |
82 | Group: Documentation | |
55bee479 ER |
83 | %if "%{_rpmversion}" >= "5" |
84 | BuildArch: noarch | |
85 | %endif | |
f2694f37 JB |
86 | |
87 | %description -n libmatedict-apidocs | |
88 | API documentation for libmatedict library. | |
89 | ||
90 | %description -n libmatedict-apidocs -l pl.UTF-8 | |
91 | Dokumentacja API biblioteki libmatedict. | |
92 | ||
9ba7e926 ER |
93 | %package -n mate-screenshot |
94 | Summary: Screenshot utility | |
95 | Summary(pl.UTF-8): Narzędzie do robienia zrzutów ekranu | |
96 | Group: X11/Applications | |
22efb5e7 | 97 | Requires(post,postun): glib2 >= 1:2.36.0 |
9ba7e926 ER |
98 | Requires: glib2 >= 1:2.36.0 |
99 | Conflicts: mate-utils < 1.8.0-2.1 | |
100 | ||
101 | %description -n mate-screenshot | |
2d1a155f | 102 | This utility allows to make a desktop screenshot. |
9ba7e926 ER |
103 | |
104 | %description -n mate-screenshot -l pl.UTF-8 | |
2d1a155f | 105 | To narzędzie pozwala na zrobienie zrzutu ekranu biurka. |
9ba7e926 | 106 | |
f2694f37 JB |
107 | %prep |
108 | %setup -q | |
109 | ||
110 | %build | |
f2694f37 JB |
111 | %{__gtkdocize} |
112 | %{__intltoolize} | |
113 | %{__libtoolize} | |
114 | %{__aclocal} -I m4 | |
115 | %{__autoconf} | |
116 | %{__autoheader} | |
117 | %{__automake} | |
118 | %configure \ | |
119 | --enable-gtk-doc \ | |
22efb5e7 | 120 | --disable-silent-rules \ |
f2694f37 JB |
121 | --disable-static \ |
122 | --with-html-dir=%{_gtkdocdir} | |
123 | ||
d63ee59b | 124 | %{__make} -j1 |
f2694f37 JB |
125 | |
126 | %install | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | %{__make} install \ | |
129 | DESTDIR=$RPM_BUILD_ROOT | |
130 | ||
131 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmatedict.la | |
132 | ||
7bddb15c | 133 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,jv,ku_IQ,pms} |
f2694f37 | 134 | |
e3c1736e JB |
135 | # mate-utils gettext domain, mate-{dictionary,disk-usage,analyzer,search-tool,system-log} mate dirs |
136 | %find_lang %{name} --with-mate --all-name | |
f2694f37 JB |
137 | |
138 | %clean | |
139 | rm -rf $RPM_BUILD_ROOT | |
140 | ||
141 | %post | |
142 | %update_desktop_database | |
35729751 | 143 | %update_icon_cache hicolor |
f2694f37 JB |
144 | %glib_compile_schemas |
145 | ||
146 | %postun | |
147 | %update_desktop_database | |
35729751 | 148 | %update_icon_cache hicolor |
f2694f37 JB |
149 | %glib_compile_schemas |
150 | ||
151 | %post -n libmatedict -p /sbin/ldconfig | |
152 | %postun -n libmatedict -p /sbin/ldconfig | |
153 | ||
9ba7e926 ER |
154 | %post -n mate-screenshot |
155 | %update_desktop_database | |
156 | %glib_compile_schemas | |
157 | ||
158 | %postun -n mate-screenshot | |
159 | %update_desktop_database | |
160 | %glib_compile_schemas | |
161 | ||
f2694f37 JB |
162 | %files -f %{name}.lang |
163 | %defattr(644,root,root,755) | |
164 | %doc AUTHORS ChangeLog NEWS README | |
165 | %attr(755,root,root) %{_bindir}/mate-dictionary | |
166 | %attr(755,root,root) %{_bindir}/mate-disk-usage-analyzer | |
f2694f37 JB |
167 | %attr(755,root,root) %{_bindir}/mate-search-tool |
168 | %attr(755,root,root) %{_bindir}/mate-system-log | |
f2694f37 | 169 | %attr(755,root,root) %{_libexecdir}/mate-dictionary-applet |
22efb5e7 JB |
170 | %{_datadir}/appdata/mate-dictionary.appdata.xml |
171 | %{_datadir}/appdata/mate-disk-usage-analyzer.appdata.xml | |
172 | %{_datadir}/appdata/mate-search-tool.appdata.xml | |
f2694f37 JB |
173 | %{_datadir}/dbus-1/services/org.mate.panel.applet.DictionaryAppletFactory.service |
174 | %{_datadir}/glib-2.0/schemas/org.mate.dictionary.gschema.xml | |
175 | %{_datadir}/glib-2.0/schemas/org.mate.disk-usage-analyzer.gschema.xml | |
f2694f37 JB |
176 | %{_datadir}/glib-2.0/schemas/org.mate.search-tool.gschema.xml |
177 | %{_datadir}/glib-2.0/schemas/org.mate.system-log.gschema.xml | |
178 | %{_datadir}/mate-dict | |
179 | %{_datadir}/mate-dictionary | |
180 | %{_datadir}/mate-disk-usage-analyzer | |
181 | %{_datadir}/mate-panel/applets/org.mate.DictionaryApplet.mate-panel-applet | |
f2694f37 JB |
182 | %{_datadir}/mate-utils |
183 | %{_desktopdir}/mate-dictionary.desktop | |
184 | %{_desktopdir}/mate-disk-usage-analyzer.desktop | |
f2694f37 JB |
185 | %{_desktopdir}/mate-search-tool.desktop |
186 | %{_desktopdir}/mate-system-log.desktop | |
35729751 | 187 | %{_iconsdir}/hicolor/*/apps/mate-disk-usage-analyzer.* |
04eb86c2 JP |
188 | %{_iconsdir}/hicolor/*/apps/mate-system-log.png |
189 | %{_iconsdir}/hicolor/scalable/apps/mate-system-log-symbolic.svg | |
f2694f37 JB |
190 | %{_pixmapsdir}/mate-search-tool |
191 | %{_mandir}/man1/mate-dictionary.1* | |
192 | %{_mandir}/man1/mate-disk-usage-analyzer.1* | |
f2694f37 JB |
193 | %{_mandir}/man1/mate-search-tool.1* |
194 | %{_mandir}/man1/mate-system-log.1* | |
195 | ||
196 | %files -n libmatedict | |
197 | %defattr(644,root,root,755) | |
198 | %attr(755,root,root) %{_libdir}/libmatedict.so.*.*.* | |
199 | %attr(755,root,root) %ghost %{_libdir}/libmatedict.so.6 | |
200 | ||
201 | %files -n libmatedict-devel | |
202 | %defattr(644,root,root,755) | |
203 | %attr(755,root,root) %{_libdir}/libmatedict.so | |
204 | %{_includedir}/mate-dict | |
205 | %{_pkgconfigdir}/mate-dict.pc | |
206 | ||
207 | %files -n libmatedict-apidocs | |
208 | %defattr(644,root,root,755) | |
209 | %{_gtkdocdir}/mate-dict | |
9ba7e926 ER |
210 | |
211 | %files -n mate-screenshot | |
212 | %defattr(644,root,root,755) | |
213 | %attr(755,root,root) %{_bindir}/mate-panel-screenshot | |
214 | %attr(755,root,root) %{_bindir}/mate-screenshot | |
22efb5e7 | 215 | %{_datadir}/appdata/mate-screenshot.appdata.xml |
9ba7e926 ER |
216 | %{_datadir}/glib-2.0/schemas/org.mate.screenshot.gschema.xml |
217 | %{_datadir}/mate-screenshot | |
218 | %{_desktopdir}/mate-screenshot.desktop | |
31fb1fc2 | 219 | %{_mandir}/man1/mate-panel-screenshot.1* |
9ba7e926 | 220 | %{_mandir}/man1/mate-screenshot.1* |