]>
Commit | Line | Data |
---|---|---|
b82cf785 JB |
1 | # |
2 | # Conditional build: | |
6391704d | 3 | %bcond_without libdmapsharing4 # libdmapsharing 4 (3.9.x) instead of 3 (2.9.x) |
b82cf785 JB |
4 | |
5 | %if %{with libdmapsharing4} | |
49bb98c3 | 6 | %define libdmapsharing_ver 3.9.9 |
b82cf785 JB |
7 | %else |
8 | %define libdmapsharing_ver 2.9.12 | |
9 | %endif | |
0ed7c9e7 | 10 | Summary: Collection of plugins for Grilo |
16795590 | 11 | Summary(pl.UTF-8): Zestaw wtyczek dla Grilo |
4b823a53 | 12 | Name: grilo-plugins |
beab8fd9 | 13 | Version: 0.3.13 |
d400f0e7 | 14 | Release: 2 |
4b823a53 | 15 | License: LGPL v2.1+ |
16795590 | 16 | Group: Applications/Multimedia |
beab8fd9 JB |
17 | Source0: https://download.gnome.org/sources/grilo-plugins/0.3/%{name}-%{version}.tar.xz |
18 | # Source0-md5: 4c33227c77a821b704a003e4a374a380 | |
5d180b42 | 19 | URL: https://wiki.gnome.org/Projects/Grilo |
8c95063d JB |
20 | BuildRequires: avahi-glib-devel |
21 | BuildRequires: avahi-gobject-devel | |
7c5851a5 | 22 | BuildRequires: gettext-tools |
2876af36 | 23 | BuildRequires: glib2-devel >= 1:2.44 |
31a8c7d1 | 24 | BuildRequires: gnome-online-accounts-devel >= 3.18.0 |
49bb98c3 | 25 | BuildRequires: gom-devel >= 0.4 |
cd6c443b | 26 | BuildRequires: gperf |
b82cf785 | 27 | BuildRequires: grilo-devel >= 0.3.8 |
5d180b42 | 28 | BuildRequires: gstreamer-devel >= 1.0 |
3efc1abf | 29 | BuildRequires: json-glib-devel |
2876af36 | 30 | BuildRequires: libarchive-devel |
b82cf785 JB |
31 | BuildRequires: libdmapsharing-devel >= %{libdmapsharing_ver} |
32 | %if %{with libdmapsharing4} | |
33 | BuildRequires: libdmapsharing-devel < 4.9 | |
34 | %else | |
35 | BuildRequires: libdmapsharing-devel < 3.9 | |
36 | %endif | |
4b823a53 | 37 | BuildRequires: libgdata-devel >= 0.9.1 |
31a8c7d1 | 38 | BuildRequires: libmediaart2-devel >= 1.9 |
59d01ab3 | 39 | BuildRequires: liboauth-devel |
4b823a53 | 40 | BuildRequires: libsoup-devel >= 2.4 |
667ae9a7 | 41 | BuildRequires: libtool >= 2:2.2.6 |
59d01ab3 | 42 | BuildRequires: libxml2-devel >= 2.0 |
31a8c7d1 | 43 | BuildRequires: lua53-devel >= 5.3.0 |
beab8fd9 | 44 | BuildRequires: meson >= 0.44.0 |
5d180b42 | 45 | BuildRequires: ninja >= 1.5 |
88721bf5 | 46 | BuildRequires: pkgconfig |
5d180b42 | 47 | BuildRequires: rpmbuild(macros) >= 1.736 |
fd639553 | 48 | BuildRequires: sqlite3-devel >= 3 |
4b823a53 | 49 | BuildRequires: tar >= 1:1.22 |
667ae9a7 | 50 | BuildRequires: totem-pl-parser-devel >= 3.4.1 |
beab8fd9 | 51 | BuildRequires: tracker3-devel >= 3.0 |
4b823a53 | 52 | BuildRequires: xz |
fd639553 | 53 | BuildRequires: yelp-tools |
2876af36 | 54 | Requires: glib2 >= 1:2.44 |
31a8c7d1 | 55 | Requires: gnome-online-accounts-libs >= 3.18.0 |
49bb98c3 | 56 | Requires: gom >= 0.4 |
b82cf785 JB |
57 | Requires: grilo >= 0.3.8 |
58 | Requires: libdmapsharing >= %{libdmapsharing_ver} | |
8c95063d | 59 | Requires: libgdata >= 0.9.1 |
8c95063d | 60 | Requires: totem-pl-parser >= 3.4.1 |
beab8fd9 | 61 | Requires: tracker3 >= 3.0 |
26d727cd | 62 | Suggests: dleyna-server |
beab8fd9 JB |
63 | Obsoletes: totem-tracker < 3.2 |
64 | Obsoletes: totem-upnp < 3.2 | |
4b823a53 AF |
65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
66 | ||
67 | %description | |
68 | Collection of plugins for Grilo implementing Grilo's API for various | |
69 | multimedia content providers. | |
70 | ||
16795590 JB |
71 | %description -l pl.UTF-8 |
72 | Zestaw wtyczek dla Grilo, zawierających implementuje API Grilo dla | |
73 | różnych dostawców treści multimedialnych. | |
74 | ||
4b823a53 AF |
75 | %prep |
76 | %setup -q | |
4b823a53 AF |
77 | |
78 | %build | |
beab8fd9 JB |
79 | %meson build \ |
80 | -Denable-tracker=no | |
5d180b42 | 81 | |
29767bab | 82 | %ninja_build -C build |
4b823a53 AF |
83 | |
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
29767bab | 87 | %ninja_install -C build |
4b823a53 | 88 | |
0ed7c9e7 ŁK |
89 | %find_lang %{name} --with-gnome |
90 | ||
4b823a53 AF |
91 | %clean |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
0ed7c9e7 | 94 | %files -f %{name}.lang |
4b823a53 | 95 | %defattr(644,root,root,755) |
519fb690 | 96 | %doc AUTHORS NEWS README.md |
a9aafd09 | 97 | %dir %{_libdir}/grilo-0.3 |
2876af36 | 98 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlbookmarks.so |
29767bab | 99 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlchromaprint.so |
2876af36 | 100 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrldaap.so |
29767bab | 101 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrldleyna.so |
2876af36 MB |
102 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrldpap.so |
103 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlfilesystem.so | |
104 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlflickr.so | |
105 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlfreebox.so | |
106 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlgravatar.so | |
2876af36 MB |
107 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrllocalmetadata.so |
108 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlluafactory.so | |
109 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlmagnatune.so | |
110 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlmetadatastore.so | |
111 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlopensubtitles.so | |
510ee90b | 112 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlopticalmedia.so |
2876af36 MB |
113 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlpodcasts.so |
114 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlraitv.so | |
115 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlshoutcast.so | |
116 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlthetvdb.so | |
2876af36 | 117 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrltmdb.so |
beab8fd9 | 118 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrltracker3.so |
2876af36 | 119 | %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlyoutube.so |
0994d4b3 JB |
120 | %dir %{_datadir}/grilo-plugins |
121 | %dir %{_datadir}/grilo-plugins/grl-lua-factory | |
714e2174 | 122 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-acoustid.lua |
31a8c7d1 JB |
123 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-appletrailers.gresource |
124 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-appletrailers.lua | |
125 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-euronews.gresource | |
0994d4b3 | 126 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-euronews.lua |
31a8c7d1 | 127 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-guardianvideos.gresource |
0994d4b3 | 128 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-guardianvideos.lua |
714e2174 MB |
129 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-itunes-podcast.gresource |
130 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-itunes-podcast.lua | |
2312d15d | 131 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-lastfm-cover.lua |
b82cf785 | 132 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-musicbrainz-coverart.lua |
31a8c7d1 | 133 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-radiofrance.gresource |
0994d4b3 | 134 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-radiofrance.lua |
b82cf785 | 135 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-steam-store.lua |
29767bab | 136 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-theaudiodb-cover.lua |
714e2174 | 137 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-thegamesdb.lua |
31a8c7d1 | 138 | %{_datadir}/grilo-plugins/grl-lua-factory/grl-video-title-parsing.lua |
88721bf5 | 139 | |
fd639553 | 140 | %dir %{_datadir}/help/C/examples |
1d98ab48 JB |
141 | %{_datadir}/help/C/examples/example-tmdb.c |
142 | %lang(cs) %dir %{_datadir}/help/cs/examples | |
143 | %lang(cs) %{_datadir}/help/cs/examples/example-tmdb.c | |
144 | %lang(da) %dir %{_datadir}/help/da/examples | |
145 | %lang(da) %{_datadir}/help/da/examples/example-tmdb.c | |
146 | %lang(de) %dir %{_datadir}/help/de/examples | |
147 | %lang(de) %{_datadir}/help/de/examples/example-tmdb.c | |
148 | %lang(es) %dir %{_datadir}/help/es/examples | |
149 | %lang(es) %{_datadir}/help/es/examples/example-tmdb.c | |
150 | %lang(pl) %dir %{_datadir}/help/pl/examples | |
151 | %lang(pl) %{_datadir}/help/pl/examples/example-tmdb.c | |
152 | %lang(pt_BR) %dir %{_datadir}/help/pt_BR/examples | |
153 | %lang(pt_BR) %{_datadir}/help/pt_BR/examples/example-tmdb.c | |
154 | %lang(sv) %dir %{_datadir}/help/sv/examples | |
155 | %lang(sv) %{_datadir}/help/sv/examples/example-tmdb.c | |
156 | %lang(uk) %dir %{_datadir}/help/uk/examples | |
157 | %lang(uk) %{_datadir}/help/uk/examples/example-tmdb.c | |
29767bab | 158 | %{_pkgconfigdir}/grilo-plugins-0.3.pc |