- updated to 0.3.13
[packages/grilo-plugins.git] / grilo-plugins.spec
1 #
2 # Conditional build:
3 %bcond_without  libdmapsharing4         # libdmapsharing 4 (3.9.x) instead of 3 (2.9.x)
4
5 %if %{with libdmapsharing4}
6 %define         libdmapsharing_ver      3.9.9
7 %else
8 %define         libdmapsharing_ver      2.9.12
9 %endif
10 Summary:        Collection of plugins for Grilo
11 Summary(pl.UTF-8):      Zestaw wtyczek dla Grilo
12 Name:           grilo-plugins
13 Version:        0.3.13
14 Release:        1
15 License:        LGPL v2.1+
16 Group:          Applications/Multimedia
17 Source0:        https://download.gnome.org/sources/grilo-plugins/0.3/%{name}-%{version}.tar.xz
18 # Source0-md5:  4c33227c77a821b704a003e4a374a380
19 URL:            https://wiki.gnome.org/Projects/Grilo
20 BuildRequires:  avahi-glib-devel
21 BuildRequires:  avahi-gobject-devel
22 BuildRequires:  gettext-tools
23 BuildRequires:  glib2-devel >= 1:2.44
24 BuildRequires:  gnome-online-accounts-devel >= 3.18.0
25 BuildRequires:  gom-devel >= 0.4
26 BuildRequires:  gperf
27 BuildRequires:  grilo-devel >= 0.3.8
28 BuildRequires:  gstreamer-devel >= 1.0
29 BuildRequires:  json-glib-devel
30 BuildRequires:  libarchive-devel
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
37 BuildRequires:  libgdata-devel >= 0.9.1
38 BuildRequires:  libmediaart2-devel >= 1.9
39 BuildRequires:  liboauth-devel
40 BuildRequires:  libsoup-devel >= 2.4
41 BuildRequires:  libtool >= 2:2.2.6
42 BuildRequires:  libxml2-devel >= 2.0
43 BuildRequires:  lua53-devel >= 5.3.0
44 BuildRequires:  meson >= 0.44.0
45 BuildRequires:  ninja >= 1.5
46 BuildRequires:  pkgconfig
47 BuildRequires:  rpmbuild(macros) >= 1.736
48 BuildRequires:  sqlite3-devel >= 3
49 BuildRequires:  tar >= 1:1.22
50 BuildRequires:  totem-pl-parser-devel >= 3.4.1
51 BuildRequires:  tracker3-devel >= 3.0
52 BuildRequires:  xz
53 BuildRequires:  yelp-tools
54 Requires:       glib2 >= 1:2.44
55 Requires:       gnome-online-accounts-libs >= 3.18.0
56 Requires:       gom >= 0.4
57 Requires:       grilo >= 0.3.8
58 Requires:       libdmapsharing >= %{libdmapsharing_ver}
59 Requires:       libgdata >= 0.9.1
60 Requires:       totem-pl-parser >= 3.4.1
61 Requires:       tracker3 >= 3.0
62 Suggests:       dleyna-server
63 Obsoletes:      totem-tracker < 3.2
64 Obsoletes:      totem-upnp < 3.2
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
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
75 %prep
76 %setup -q
77
78 %build
79 %meson build \
80         -Denable-tracker=no
81
82 %ninja_build -C build
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %ninja_install -C build
88
89 %find_lang %{name} --with-gnome
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS NEWS README.md
97 %dir %{_libdir}/grilo-0.3
98 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlbookmarks.so
99 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlchromaprint.so
100 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrldaap.so
101 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrldleyna.so
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
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
112 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlopticalmedia.so
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
117 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrltmdb.so
118 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrltracker3.so
119 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlyoutube.so
120 %dir %{_datadir}/grilo-plugins
121 %dir %{_datadir}/grilo-plugins/grl-lua-factory
122 %{_datadir}/grilo-plugins/grl-lua-factory/grl-acoustid.lua
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
126 %{_datadir}/grilo-plugins/grl-lua-factory/grl-euronews.lua
127 %{_datadir}/grilo-plugins/grl-lua-factory/grl-guardianvideos.gresource
128 %{_datadir}/grilo-plugins/grl-lua-factory/grl-guardianvideos.lua
129 %{_datadir}/grilo-plugins/grl-lua-factory/grl-itunes-podcast.gresource
130 %{_datadir}/grilo-plugins/grl-lua-factory/grl-itunes-podcast.lua
131 %{_datadir}/grilo-plugins/grl-lua-factory/grl-lastfm-cover.lua
132 %{_datadir}/grilo-plugins/grl-lua-factory/grl-musicbrainz-coverart.lua
133 %{_datadir}/grilo-plugins/grl-lua-factory/grl-radiofrance.gresource
134 %{_datadir}/grilo-plugins/grl-lua-factory/grl-radiofrance.lua
135 %{_datadir}/grilo-plugins/grl-lua-factory/grl-steam-store.lua
136 %{_datadir}/grilo-plugins/grl-lua-factory/grl-theaudiodb-cover.lua
137 %{_datadir}/grilo-plugins/grl-lua-factory/grl-thegamesdb.lua
138 %{_datadir}/grilo-plugins/grl-lua-factory/grl-video-title-parsing.lua
139
140 %dir %{_datadir}/help/C/examples
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
158 %{_pkgconfigdir}/grilo-plugins-0.3.pc
This page took 0.146473 seconds and 3 git commands to generate.