]> git.pld-linux.org Git - packages/cinnamon-nemo-extensions.git/blob - cinnamon-nemo-extensions.spec
- unconditional noarch subpackages
[packages/cinnamon-nemo-extensions.git] / cinnamon-nemo-extensions.spec
1 # TODO: make gtkhash.spec with https://github.com/tristanheaven/gtkhash
2 %define         nemo_ver        4.6.0
3 Summary:        Extensions for Nemo file manager
4 Summary(pl.UTF-8):      Rozszerzenia zarządcy plików Nemo
5 Name:           cinnamon-nemo-extensions
6 Version:        4.6.0
7 Release:        3
8 License:        GPL v2+, GPL v3+, LGPL v2
9 Group:          X11/Applications
10 #Source0Download: https://github.com/linuxmint/nemo-extensions/releases
11 Source0:        https://github.com/linuxmint/nemo-extensions/archive/%{version}/nemo-extensions-%{version}.tar.gz
12 # Source0-md5:  9e923e27b402940735b81d39e07e99e4
13 #Source1Download: https://github.com/linuxmint/cinnamon-translations/releases
14 Source1:        https://github.com/linuxmint/cinnamon-translations/archive/%{version}/cinnamon-translations-%{version}.tar.gz
15 # Source1-md5:  2a7f336ad50c2ec8ec4e80a7acf5f899
16 Patch0:         %{name}-pc.patch
17 Patch1:         %{name}-ac.patch
18 URL:            https://github.com/linuxmint/nemo-extensions
19 BuildRequires:  autoconf >= 2.63
20 BuildRequires:  automake >= 1:1.11
21 BuildRequires:  cinnamon-desktop-devel >= 3.0.0
22 BuildRequires:  cinnamon-nemo-devel >= %{nemo_ver}
23 BuildRequires:  cjs-devel >= 4.6.0
24 BuildRequires:  clutter-devel >= 1.11.4
25 BuildRequires:  clutter-gst-devel >= 3.0
26 BuildRequires:  clutter-gtk-devel >= 1.0.1
27 BuildRequires:  dbus-glib-devel >= 0.78
28 BuildRequires:  freetype-devel >= 2
29 BuildRequires:  gcr-ui-devel >= 3.4.0
30 BuildRequires:  gdk-pixbuf2-devel >= 2.23.0
31 BuildRequires:  gettext-tools
32 BuildRequires:  glib2-devel >= 1:2.38
33 BuildRequires:  gnome-common
34 BuildRequires:  gobject-introspection-devel >= 0.9.2
35 BuildRequires:  gpgme-devel >= 1.2.0
36 BuildRequires:  gstreamer-devel >= 1.0
37 BuildRequires:  gstreamer-plugins-base-devel >= 1.0
38 BuildRequires:  gtk+3-devel >= 3.6
39 BuildRequires:  gtk-doc
40 BuildRequires:  gtk-webkit4-devel
41 BuildRequires:  gtksourceview3-devel >= 3.0
42 BuildRequires:  intltool >= 0.40.6
43 BuildRequires:  libcryptui-devel
44 BuildRequires:  libgnome-keyring-devel
45 BuildRequires:  libmusicbrainz5-devel
46 BuildRequires:  libnotify-devel >= 0.7.0
47 BuildRequires:  libtool >= 2:2
48 BuildRequires:  linux-libc-headers >= 7:2.6.38
49 BuildRequires:  meson
50 BuildRequires:  ninja >= 1.5
51 BuildRequires:  perl-XML-Parser
52 BuildRequires:  pkgconfig >= 1:0.22
53 BuildRequires:  python-pygobject3-common-devel
54 BuildRequires:  python3-devel >= 1:3.2
55 BuildRequires:  python3-distutils-extra
56 BuildRequires:  python3-pygobject3-devel >= 3.0
57 BuildRequires:  python3-setuptools
58 BuildRequires:  rpmbuild(macros) >= 1.736
59 BuildRequires:  xreader-devel
60 BuildRequires:  zlib-devel
61 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
63 %description
64 Extensions for Nemo file manager (used in Cinnamon desktop
65 environment).
66
67 %description -l pl.UTF-8
68 Rozszerzenia zarządcy plików Nemo (używanego w środowisku graficznym
69 Cinnamon).
70
71 %package common
72 Summary:        Common files for Nemo file manager extensions
73 Summary(pl.UTF-8):      Wspólne pliki rozszerzeń zarządcy plików Nemo
74 Group:          X11/Applications
75
76 %description common
77 Common files for Nemo file manager extensions.
78
79 %description common -l pl.UTF-8
80 Wspólne pliki rozszerzeń zarządcy plików Nemo.
81
82 %package -n cinnamon-nemo-python
83 Summary:        Python scripting extension for Nemo
84 Summary(pl.UTF-8):      Rozszerzenie Nemo o obsługę skryptów Pythona
85 License:        GPL v2+
86 Group:          X11/Libraries
87 Requires:       cinnamon-nemo >= %{nemo_ver}
88 Requires:       python3-pygobject3 >= 3
89
90 %description -n cinnamon-nemo-python
91 Python scripting extension for Nemo.
92
93 %description -n cinnamon-nemo-python -l pl.UTF-8
94 Rozszerzenie Nemo o obsługę skryptów Pythona.
95
96 %package -n cinnamon-nemo-python-devel
97 Summary:        Development files for Python scripting extension for Nemo
98 Summary(pl.UTF-8):      Pliki programistyczne dla rozszerzenia Nemo o obsługę skryptów w Pythonie
99 License:        GPL v2+
100 Group:          X11/Development/Libraries
101 Requires:       cinnamon-nemo-python = %{version}-%{release}
102 Requires:       pkgconfig
103
104 %description -n cinnamon-nemo-python-devel
105 Development files for Python scripting extension for Nemo.
106
107 %description -n cinnamon-nemo-python-devel -l pl.UTF-8
108 Pliki programistyczne dla rozszerzenia Nemo o obsługę skryptów w
109 Pythonie.
110
111 %package -n cinnamon-nemo-python-apidocs
112 Summary:        API documentation for Nemo Python scripting extension
113 Summary(pl.UTF-8):      Dokumentacja API rozszerzenia Nemo do obsługi skryptów Pythona
114 Group:          Documentation
115
116 %description -n cinnamon-nemo-python-apidocs
117 API documentation for Nemo Python scripting extension.
118
119 %description -n cinnamon-nemo-python-apidocs -l pl.UTF-8
120 Dokumentacja API rozszerzenia Nemo do obsługi skryptów Pythona.
121
122 %package -n cinnamon-nemo-extension-audio-tab
123 Summary:        Audio tag information extension for Nemo
124 Summary(pl.UTF-8):      Rozszerzenie Nemo z informacjami o znacznikach w plikach dźwiękowych
125 License:        GPL v3+
126 Group:          X11/Applications
127 Requires:       %{name}-common = %{version}-%{release}
128 Requires:       cinnamon-nemo-python = %{version}-%{release}
129 Requires:       python3-mutagen
130 Requires:       python3-pygobject3 >= 3.0
131 BuildArch:      noarch
132
133 %description -n cinnamon-nemo-extension-audio-tab
134 audio-tab is Nemo extension to view audio tag information from the
135 properties tab.
136
137 %description -n cinnamon-nemo-extension-audio-tab -l pl.UTF-8
138 audio-tab to rozszerzenie Nemo do oglądania informacji o znacznikach w
139 plikach dźwiękowych z poziomu zakładki właściwości.
140
141 %package -n cinnamon-nemo-extension-compare
142 Summary:        Context menu comparison extension for Nemo file manager
143 Summary(pl.UTF-8):      Rozszerzenie zarządcy plików Nemo o porównywanie z menu kontekstowego
144 License:        GPL v3+
145 Group:          X11/Applications
146 Requires:       %{name}-common = %{version}-%{release}
147 Requires:       cinnamon-nemo-python = %{version}-%{release}
148 Requires:       meld
149 Requires:       python3-pygobject3 >= 3.0
150 BuildArch:      noarch
151
152 %description -n cinnamon-nemo-extension-compare
153 Simple Nemo file manager extension, inspired by the discontinued
154 diff-ext extension. It extends context menu by providing "Compare ..."
155 actions. Compare tool for different situations (one-on-one, three-way,
156 multi-compare) can be chosen by configurator tool.
157
158 %description -n cinnamon-nemo-extension-compare -l pl.UTF-8
159 Proste rozszerzenie zarządcy plików Nemo, zainspirowane porzuconym już
160 rozszerzeniem diff-ext. Rozszerza menu kontekstowe udostępniając akcje
161 "Porównaj ...". Narzędzie do porównywania w różnych sytuacjach (jeden
162 do jednego, trzech wersji, wielokrotnego) można wybrać w
163 konfiguratorze.
164
165 %package -n cinnamon-nemo-extension-dropbox
166 Summary:        Dropbox extension for Nemo file manager
167 Summary(pl.UTF-8):      Rozszerzenie Dropbox do zarządcy plików Nemo
168 License:        GPL v3+
169 Group:          X11/Applications
170 Requires(post,postun):  gtk-update-icon-cache
171 Requires:       cinnamon-nemo >= %{nemo_ver}
172 Requires:       glib2 >= 1:2.38
173 Requires:       hicolor-icon-theme
174
175 %description -n cinnamon-nemo-extension-dropbox
176 Dropbox extension for Nemo file manager.
177
178 %description -n cinnamon-nemo-extension-dropbox -l pl.UTF-8
179 Rozszerzenie Dropbox do zarządcy plików Nemo.
180
181 %package -n cinnamon-nemo-extension-emblems
182 Summary:        Emblem support for Nemo
183 Summary(pl.UTF-8):      Obsługa emblematów dla Nemo
184 License:        GPL v3+
185 Group:          X11/Applications
186 Requires:       %{name}-common = %{version}-%{release}
187 Requires:       cinnamon-nemo-python = %{version}-%{release}
188 Requires:       python3-pygobject3 >= 3.0
189 BuildArch:      noarch
190
191 %description -n cinnamon-nemo-extension-emblems
192 Restores the emblems functionality that used to be in GNOME 2.
193
194 %description -n cinnamon-nemo-extension-emblems -l pl.UTF-8
195 To rozszerzenie przywraca funkcjonalność emblematów, obecną w GNOME 2.
196
197 %package -n cinnamon-nemo-extension-fileroller
198 Summary:        File Roller extension for Nemo
199 Summary(pl.UTF-8):      Rozszerzenie File Roller dla Nemo
200 License:        GPL v2+
201 Group:          X11/Applications
202 Requires:       %{name}-common = %{version}-%{release}
203 Requires:       cinnamon-nemo >= %{nemo_ver}
204 Requires:       file-roller
205
206 %description -n cinnamon-nemo-extension-fileroller
207 This extension adds entries to the context menu in Nemo, which allow
208 you to make use of the compress and extract functions of the File
209 Roller archive manager.
210
211 %description -n cinnamon-nemo-extension-fileroller -l pl.UTF-8
212 To rozszerzenie dodane do menu kontekstowego w Nemo pozycje
213 pozwalające na wykorzystanie funkcji kompresji i rozpakowywania
214 zarządcy archiwów File Roller.
215
216 %package -n cinnamon-nemo-extension-gtkhash
217 Summary:        GtkHash extension for Nemo
218 Summary(pl.UTF-8):      Rozszerzenie GtkHash dla Nemo
219 License:        GPL v2+
220 Group:          X11/Applications
221 Requires(post,postun):  glib2 >= 1:2.38
222 Requires:       %{name}-common = %{version}-%{release}
223 Requires:       cinnamon-nemo >= %{nemo_ver}
224 Requires:       glib2 >= 1:2.38
225
226 %description -n cinnamon-nemo-extension-gtkhash
227 Nemo GtkHash extension for computing message digests or checksums.
228
229 %description -n cinnamon-nemo-extension-gtkhash -l pl.UTF-8
230 Rozszerzenie Nemo GtkHash do obliczania skrótów lub sum kontrolnych.
231
232 %package -n cinnamon-nemo-extension-image-converter
233 Summary:        Nemo extension to mass resize images
234 Summary(pl.UTF-8):      Rozszerzenie Nemo do masowej zmiany rozmiarów obrazów
235 License:        GPL v2+
236 Group:          X11/Applications
237 Requires:       %{name}-common = %{version}-%{release}
238 Requires:       cinnamon-nemo >= %{nemo_ver}
239 Requires:       ImageMagick
240
241 %description -n cinnamon-nemo-extension-image-converter
242 Adds a "Resize Images..." menu item to the context menu. This opens a
243 dialog where you set the desired image size and file name.
244
245 %description -n cinnamon-nemo-extension-image-converter -l pl.UTF-8
246 To rozszerzenie dodaje element menu kontekstowego "Zmień rozmiar
247 zdjęć...", otwierający okno dialogowe, gdzie można ustawić pożądany
248 rozmiar obrazu i nazwę pliku.
249
250 %package -n cinnamon-nemo-extension-media-columns
251 Summary:        Nemo Media Columns extension
252 Summary(pl.UTF-8):      Rozszerzenie Nemo Media Columns
253 License:        GPL v3
254 Group:          X11/Applications
255 Requires:       %{name}-common = %{version}-%{release}
256 Requires:       cinnamon-nemo-python = %{version}-%{release}
257 Requires:       gdk-pixbuf2 >= 2
258 Requires:       gexiv2 >= 0.10
259 Requires:       python3-PyPDF2
260 Requires:       python3-pygobject3 >= 3.0
261 Requires:       python3-mutagen
262 Requires:       python3-pillow
263 Requires:       python3-pymediainfo
264
265 %description -n cinnamon-nemo-extension-media-columns
266 This Nemo File Manager extension provides additional columns for the
267 List View related to media-type files.
268
269 %description -n cinnamon-nemo-extension-media-columns -l pl.UTF-8
270 To rozszerzenie zarządcy plików Nemo zapewnia na widoku listy
271 dodatkowe kolumny związane z plikami multimedialnymi.
272
273 %package -n cinnamon-nemo-extension-pastebin
274 Summary:        Pastebin extension for Nemo
275 Summary(pl.UTF-8):      Rozszerzenie Pastebin dla Nemo
276 License:        GPL v2+
277 Group:          X11/Applications
278 Requires(post,postun):  glib2 >= 1:2.38
279 Requires(post,postun):  gtk-update-icon-cache
280 Requires:       %{name}-common = %{version}-%{release}
281 Requires:       cinnamon-nemo-python = %{version}-%{release}
282 Requires:       hicolor-icon-theme
283 Requires:       libnotify >= 0.7
284 Requires:       pastebinit
285 Requires:       python3-pygobject3 >= 3.0
286 BuildArch:      noarch
287
288 %description -n cinnamon-nemo-extension-pastebin
289 nemo-pastebin is an extension for the Nemo file manager, which allows
290 users to send files to pastebins just a right-click away.
291
292 %description -n cinnamon-nemo-extension-pastebin -l pl.UTF-8
293 nemo-pastebin to rozszerzenie zarządcy plików Nemo, pozwalające
294 użytkownikom wysyłać pliki do pastebinów zwykłym kliknięciem prawym
295 przyciskiem.
296
297 %package -n cinnamon-nemo-extension-preview
298 Summary:        A quick previewer for Nemo
299 Summary(pl.UTF-8):      Szybki podgląd dla Nemo
300 License:        GPL v2+
301 Group:          X11/Applications
302 Requires:       %{name}-common = %{version}-%{release}
303 Requires:       cinnamon-nemo >= %{nemo_ver}
304
305 %description -n cinnamon-nemo-extension-preview
306 Nemo Preview is a GtkClutter and Javascript-based quick previewer for
307 Nemo. It is capable of previewing documents, PDFs, sound and video
308 files, some text files, and possibly others in the future.
309
310 %description -n cinnamon-nemo-extension-preview -l pl.UTF-8
311 Nemo Preview to oparty na bibliotece GtkClutter i JavaScripcie szybki
312 podgląd dla Nemo. Potrafi podglądać dokumenty, pliki PDF, dźwiękowe i
313 filmowe, niektóre pliki tekstowe, a w przyszłości inne.
314
315 %package -n cinnamon-nemo-extension-repairer
316 Summary:        Nemo extension for filename encoding repair
317 Summary(pl.UTF-8):      Rozszerzenie Nemo do naprawy kodowania nazw plików
318 License:        GPL v2+
319 Group:          X11/Applications
320 Requires:       %{name}-common = %{version}-%{release}
321 Requires:       cinnamon-nemo >= %{nemo_ver}
322
323 %description -n cinnamon-nemo-extension-repairer
324 nemo-filename-repairer is a Nemo extension which repairs filename
325 which uses wrong encoding in Nemo. This extension provides the context
326 menu for any file whose filename uses wrong encoding, so that you
327 cannot read the filename in Nemo. You can find a candidate for
328 filename in context menu or submenu. This extension also provides a
329 decoded name for URL encoded filename.
330
331 %description -n cinnamon-nemo-extension-repairer -l pl.UTF-8
332 nemo-filename-repairer to rozszerzenie Nemo służące do naprawiania
333 nazw plików, które w Nemo używają złego kodowania. Rozszerzenie
334 udostępnia menu kontekstowe dla każdego pliku ze złym kodowaniem,
335 pozwalając wybrać kandydata dla właściwej nazwy. Rozszerzenie
336 pozwala także dekodować nazwy z kodowania URL.
337
338 %package -n cinnamon-nemo-extension-seahorse
339 Summary:        PGP encryption and signing for Nemo
340 Summary(pl.UTF-8):      Szyfrowanie i podpisy PGP dla Nemo
341 License:        GPL v2+
342 Group:          X11/Applications
343 Requires(post,postun):  glib2 >= 1:2.38
344 Requires:       %{name}-common = %{version}-%{release}
345 Requires:       cinnamon-nemo >= %{nemo_ver}
346 Requires:       dbus-glib >= 0.78
347 Requires:       gcr >= 3.4.0
348 Requires:       glib2 >= 1:2.38
349 Requires:       gnupg2 >= 2.2
350 Requires:       gpgme >= 1.2.0
351 Requires:       libnotify >= 0.7.0
352 Requires:       seahorse
353
354 %description -n cinnamon-nemo-extension-seahorse
355 Seahorse Nemo is an extension for Nemo which allows encryption and
356 decryption of OpenPGP files using GnuPG.
357
358 %description -n cinnamon-nemo-extension-seahorse -l pl.UTF-8
359 Seahorse Nemo to rozszerzenie Nemo pozwalające na szyfrowanie i
360 odszyfrowywanie plików OpenPGP przy użyciu GnuPG.
361
362 %package -n cinnamon-nemo-extension-share
363 Summary:        Nemo extension to share folder using Samba
364 Summary(pl.UTF-8):      Rozszerzenie Nemo do współdzielenia folderów przy użyciu Samby
365 License:        GPL v2+
366 Group:          X11/Applications
367 Requires:       %{name}-common = %{version}-%{release}
368 Requires:       cinnamon-desktop >= 3.0.0
369 Requires:       cinnamon-nemo >= %{nemo_ver}
370 Requires:       glib2 >= 1:2.38
371 Requires:       samba-client
372
373 %description -n cinnamon-nemo-extension-share
374 Nemo Share allows you to quickly share a folder from the Nemo file
375 manager without requiring root access.
376
377 %description -n cinnamon-nemo-extension-share -l pl.UTF-8
378 Nemo Share pozwala na szybkie udostępnienie folderu z zarządcy plików
379 Nemo bez wymagania dostępu administratora.
380
381 %package -n cinnamon-nemo-extension-terminal
382 Summary:        Embedded terminal window for Nemo
383 Summary(pl.UTF-8):      Osadzone okno terminala dla Nemo
384 License:        GPL v3+
385 Group:          X11/Applications
386 Requires(post,postun):  glib2 >= 1:2.38
387 Requires:       %{name}-common = %{version}-%{release}
388 Requires:       cinnamon-nemo-python = %{version}-%{release}
389 Requires:       gtk+3 >= 3.6
390 Requires:       python3-pygobject3 >= 3.0
391 Requires:       vte >= 0.38
392 Requires:       xapps >= 1.0
393 BuildArch:      noarch
394
395 %description -n cinnamon-nemo-extension-terminal
396 Embedded terminal window for Nemo.
397
398 %description -n cinnamon-nemo-extension-terminal -l pl.UTF-8
399 Osadzone okno terminala dla Nemo.
400
401 %prep
402 %setup -q -n nemo-extensions-%{version} -a1
403 %patch0 -p1
404 %patch1 -p1
405
406 %build
407 cd nemo-python
408 %meson build \
409         -Dgtk_doc=true
410 %ninja_build -C build
411
412 cd ../nemo-audio-tab
413 %py3_build
414
415 cd ../nemo-compare
416 %py3_build
417
418 cd ../nemo-dropbox
419 %{__libtoolize}
420 %{__aclocal}
421 %{__autoconf}
422 %{__autoheader}
423 %{__automake}
424 %configure \
425         --disable-static
426 %{__make}
427
428 cd ../nemo-emblems
429 %py3_build
430
431 cd ../nemo-fileroller
432 %{__libtoolize}
433 %{__aclocal}
434 %{__autoconf}
435 %{__autoheader}
436 %{__automake}
437 %configure \
438         --disable-static
439 %{__make}
440
441 cd ../nemo-gtkhash
442 install -d m4
443 %{__glib_gettextize}
444 %{__intltoolize}
445 %{__libtoolize}
446 %{__aclocal} -I m4
447 %{__autoconf}
448 %{__autoheader}
449 %{__automake}
450 %configure \
451         --enable-linux-crypto \
452         --enable-nemo \
453         --disable-silent-rules \
454         --with-gtk=3.0
455 %{__make}
456
457 cd ../nemo-image-converter
458 install -d m4
459 %{__glib_gettextize}
460 %{__intltoolize}
461 %{__libtoolize}
462 %{__aclocal} -I m4
463 %{__autoconf}
464 %{__autoheader}
465 %{__automake}
466 %configure \
467         --disable-silent-rules
468 %{__make}
469
470 cd ../nemo-media-columns
471 %py3_build
472
473 cd ../nemo-pastebin
474 %py3_build
475
476 cd ../nemo-preview
477 install -d m4
478 %{__intltoolize}
479 %{__libtoolize}
480 %{__aclocal} -I m4
481 %{__autoconf}
482 %{__autoheader}
483 %{__automake}
484 %configure \
485         --disable-silent-rules
486 %{__make}
487
488 cd ../nemo-repairer
489 install -d m4
490 %{__glib_gettextize}
491 %{__intltoolize}
492 %{__libtoolize}
493 %{__aclocal} -I m4
494 %{__autoconf}
495 %{__autoheader}
496 %{__automake}
497 %configure \
498         --disable-static
499 %{__make}
500
501 cd ../nemo-seahorse
502 %{__glib_gettextize}
503 %{__intltoolize}
504 %{__libtoolize}
505 %{__aclocal} -I m4
506 %{__autoconf}
507 %{__autoheader}
508 %{__automake}
509 %configure \
510         GNUPG=/usr/bin/gpg \
511         --disable-gpg-check \
512         --disable-silent-rules
513 %{__make}
514
515 cd ../nemo-share
516 install -d m4
517 %{__glib_gettextize}
518 %{__intltoolize}
519 %{__libtoolize}
520 %{__aclocal} -I m4
521 %{__autoconf}
522 %{__autoheader}
523 %{__automake}
524 %configure \
525         --disable-static
526 %{__make}
527
528 cd ../nemo-terminal
529 %py3_build
530 cd ..
531
532 %{__make} -C cinnamon-translations-%{version}
533
534 %install
535 rm -rf $RPM_BUILD_ROOT
536
537 %ninja_install -C nemo-python/build
538
539 install -d $RPM_BUILD_ROOT%{_examplesdir}/cinnamon-nemo-python-%{version}
540 cp -p nemo-python/examples/* $RPM_BUILD_ROOT%{_examplesdir}/cinnamon-nemo-python-%{version}
541
542 cd nemo-audio-tab
543 %py3_install
544
545 cd ../nemo-compare
546 %py3_install
547 cd ..
548
549 %{__make} -C nemo-dropbox install \
550         DESTDIR=$RPM_BUILD_ROOT
551
552 cd nemo-emblems
553 %py3_install
554 cd ..
555
556 %{__make} -C nemo-fileroller install \
557         DESTDIR=$RPM_BUILD_ROOT
558
559 %{__make} -C nemo-gtkhash install \
560         DESTDIR=$RPM_BUILD_ROOT
561
562 %{__make} -C nemo-image-converter install \
563         DESTDIR=$RPM_BUILD_ROOT
564
565 cd nemo-media-columns
566 %py3_install
567
568 cd ../nemo-pastebin
569 %py3_install
570 cd ..
571
572 %{__make} -C nemo-preview install \
573         DESTDIR=$RPM_BUILD_ROOT
574
575 %{__make} -C nemo-repairer install \
576         DESTDIR=$RPM_BUILD_ROOT
577
578 %{__make} -C nemo-seahorse install \
579         DESTDIR=$RPM_BUILD_ROOT
580
581 %{__make} -C nemo-share install \
582         DESTDIR=$RPM_BUILD_ROOT
583
584 cd nemo-terminal
585 %py3_install
586 cd ..
587
588 # drop useless .la
589 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nemo/extensions-3.0/libnemo-*.la
590 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nemo/extensions-3.0/libgtkhash-properties.la
591 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nemo-preview/libnemo-preview-1.0.la
592
593 #%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/nemo-python/
594
595 cd cinnamon-translations-%{version}
596 for f in usr/share/locale/*/LC_MESSAGES/nemo-extensions.mo ; do
597         install -D "$f" "$RPM_BUILD_ROOT/$f"
598 done
599 cd ..
600
601 # not supported by glibc 2.31
602 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
603
604 # common for nemo-audio-tab[py],nemo-compare[py],nemo-emblems[py],nemo-fileroller[so],nemo-gtkhash[so],nemo-image-converter[so],nemo-media-columns[py],nemo-pastebin[py],nemo-preview[so],nemo-repairer[so],nemo-seahorse[so],nemo-share[so],nemo-terminal[py]
605 %find_lang nemo-extensions
606 # not used(?), C part doesn't have defined domain, JS part uses "nemo-extensions" domain
607 %find_lang nemo-preview
608 # not used actually(?), sources have "nemo-extensions" domain hardcoded
609 %find_lang nemo-share
610
611 %clean
612 rm -rf $RPM_BUILD_ROOT
613
614 %post   -n cinnamon-nemo-extension-dropbox
615 %update_icon_cache hicolor
616
617 %postun -n cinnamon-nemo-extension-dropbox
618 %update_icon_cache hicolor
619
620 %post   -n cinnamon-nemo-extension-gtkhash
621 %glib_compile_schemas
622
623 %postun -n cinnamon-nemo-extension-gtkhash
624 %glib_compile_schemas
625
626 %post   -n cinnamon-nemo-extension-pastebin
627 %glib_compile_schemas
628 %update_icon_cache hicolor
629
630 %postun -n cinnamon-nemo-extension-pastebin
631 %glib_compile_schemas
632 %update_icon_cache hicolor
633
634 %post   -n cinnamon-nemo-extension-seahorse
635 %glib_compile_schemas
636
637 %postun -n cinnamon-nemo-extension-seahorse
638 %glib_compile_schemas
639
640 %post   -n cinnamon-nemo-extension-terminal
641 %glib_compile_schemas
642
643 %postun -n cinnamon-nemo-extension-terminal
644 %glib_compile_schemas
645
646 %files common -f nemo-extensions.lang
647 %defattr(644,root,root,755)
648 %doc README
649
650 %files -n cinnamon-nemo-python
651 %defattr(644,root,root,755)
652 %doc nemo-python/{AUTHORS,README}
653 %attr(755,root,root) %{_libdir}/nemo/extensions-3.0/libnemo-python.so
654 %dir %{_datadir}/nemo-python
655 %dir %{_datadir}/nemo-python/extensions
656
657 %files -n cinnamon-nemo-python-devel
658 %defattr(644,root,root,755)
659 %{_pkgconfigdir}/nemo-python.pc
660
661 %files -n cinnamon-nemo-python-apidocs
662 %defattr(644,root,root,755)
663 %{_gtkdocdir}/nemo-python
664 %{_examplesdir}/cinnamon-nemo-python-%{version}
665
666 %files -n cinnamon-nemo-extension-audio-tab
667 %defattr(644,root,root,755)
668 %{_datadir}/nemo-python/extensions/nemo-audio-tab.py
669 %dir %{_datadir}/nemo-audio-tab
670 %{_datadir}/nemo-audio-tab/nemo-audio-tab.glade
671 %{py3_sitescriptdir}/nemo_audio_tab-%{version}-py*.egg-info
672
673 %files -n cinnamon-nemo-extension-compare
674 %defattr(644,root,root,755)
675 %attr(755,root,root) %{_bindir}/nemo-compare-preferences
676 %{_datadir}/nemo-python/extensions/nemo-compare.py
677 %dir %{_datadir}/nemo-compare
678 %{_datadir}/nemo-compare/nemo-compare-preferences.py
679 %{_datadir}/nemo-compare/utils.py*
680 %{py3_sitescriptdir}/nemo_compare-%{version}-py?.?.egg-info/
681
682 %files -n cinnamon-nemo-extension-dropbox
683 %defattr(644,root,root,755)
684 %doc nemo-dropbox/{AUTHORS,README}
685 %attr(755,root,root) %{_libdir}/nemo/extensions-3.0/libnemo-dropbox.so
686 %{_datadir}/nemo-dropbox
687 %{_iconsdir}/hicolor/*x*/apps/dropbox.png
688
689 %files -n cinnamon-nemo-extension-emblems
690 %defattr(644,root,root,755)
691 %{_datadir}/nemo-python/extensions/nemo-emblems.py
692 %{py3_sitescriptdir}/nemo_emblems-%{version}-py?.?.egg-info/
693
694 %files -n cinnamon-nemo-extension-fileroller
695 %defattr(644,root,root,755)
696 %doc nemo-fileroller/README
697 %attr(755,root,root) %{_libdir}/nemo/extensions-3.0/libnemo-fileroller.so
698
699 %files -n cinnamon-nemo-extension-gtkhash
700 %defattr(644,root,root,755)
701 %doc nemo-gtkhash/{AUTHORS,NEWS,README}
702 %attr(755,root,root) %{_bindir}/gtkhash
703 %attr(755,root,root) %{_libdir}/nemo/extensions-3.0/libgtkhash-properties.so
704 %{_datadir}/glib-2.0/schemas/app.gtkhash.gschema.xml
705 %{_datadir}/glib-2.0/schemas/org.nemo.extensions.gtkhash.gschema.xml
706 %{_datadir}/nemo-gtkhash
707
708 %files -n cinnamon-nemo-extension-image-converter
709 %defattr(644,root,root,755)
710 %doc nemo-image-converter/{AUTHORS,NEWS,README}
711 %attr(755,root,root) %{_libdir}/nemo/extensions-3.0/libnemo-image-converter.so
712 %{_datadir}/nemo-image-converter
713
714 %files -n cinnamon-nemo-extension-media-columns
715 %defattr(644,root,root,755)
716 %doc nemo-media-columns/{AUTHORS,MAINTAINERS,README}
717 %{_datadir}/nemo-python/extensions/nemo-media-columns.py
718 %{py3_sitescriptdir}/nemo_media_columns-%{version}-py*.egg-info
719
720 %files -n cinnamon-nemo-extension-pastebin
721 %defattr(644,root,root,755)
722 %doc nemo-pastebin/{NEWS,README}
723 %attr(755,root,root) %{_bindir}/nemo-pastebin-configurator
724 %{_datadir}/nemo-python/extensions/nemo-pastebin.py
725 %{_datadir}/glib-2.0/schemas/nemo-pastebin.gschema.xml
726 %{_datadir}/nemo-pastebin
727 %{py3_sitescriptdir}/nemo_pastebin-%{version}-py*.egg-info
728 %{_iconsdir}/hicolor/48x48/apps/nemo-pastebin.png
729 %{_iconsdir}/hicolor/scalable/apps/nemo-pastebin.svg
730
731 %files -n cinnamon-nemo-extension-preview -f nemo-preview.lang
732 %defattr(644,root,root,755)
733 %doc nemo-preview/{AUTHORS,README,TODO}
734 %attr(755,root,root) %{_bindir}/nemo-preview
735 %attr(755,root,root) %{_libexecdir}/nemo-preview-start
736 %dir %{_libdir}/nemo-preview
737 %attr(755,root,root) %{_libdir}/nemo-preview/libnemo-preview-1.0.so
738 %{_libdir}/nemo-preview/girepository-1.0
739 %dir %{_datadir}/nemo-preview
740 %{_datadir}/nemo-preview/gir-1.0
741 %{_datadir}/nemo-preview/js
742 %{_datadir}/nemo-preview/style
743 %{_datadir}/dbus-1/services/org.nemo.Preview.service
744
745 %files -n cinnamon-nemo-extension-repairer
746 %defattr(644,root,root,755)
747 %doc nemo-repairer/{AUTHORS,NEWS,README}
748 %attr(755,root,root) %{_bindir}/nemo-filename-repairer
749 %attr(755,root,root) %{_libdir}/nemo/extensions-3.0/libnemo-filename-repairer.so
750 %{_datadir}/nemo-filename-repairer
751
752 %files -n cinnamon-nemo-extension-seahorse
753 %defattr(644,root,root,755)
754 %doc nemo-seahorse/{AUTHORS,MAINTAINERS,NEWS,README}
755 %attr(755,root,root) %{_bindir}/nemo-seahorse-tool
756 %attr(755,root,root) %{_libdir}/nemo/extensions-3.0/libnemo-seahorse.so
757 %{_desktopdir}/nemo-seahorse-pgp-*.desktop
758 %{_datadir}/glib-2.0/schemas/org.nemo.plugins.seahorse*gschema.xml
759 %{_datadir}/nemo-seahorse
760 %{_mandir}/man1/nemo-seahorse-tool.1*
761
762 %files -n cinnamon-nemo-extension-share -f nemo-share.lang
763 %defattr(644,root,root,755)
764 %doc nemo-share/AUTHORS
765 %{_libdir}/nemo/extensions-3.0/libnemo-share.so
766 %{_datadir}/nemo-share
767 %{_datadir}/polkit-1/actions/org.nemo.share.samba_install.policy
768
769 %files -n cinnamon-nemo-extension-terminal
770 %defattr(644,root,root,755)
771 %doc nemo-terminal/{AUTHORS,README}
772 %attr(755,root,root) %{_bindir}/nemo-terminal-prefs
773 %{_datadir}/nemo-python/extensions/nemo_terminal.py
774 %{_datadir}/nemo-terminal
775 %{_datadir}/glib-2.0/schemas/org.nemo.extensions.nemo-terminal.gschema.xml
776 %{py3_sitescriptdir}/nemo_terminal-%{version}-py*.egg-info
This page took 0.123182 seconds and 3 git commands to generate.