6f7ebf6694345f7c6ca2766d22900d8b12301f66
[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.12
14 Release:        2
15 License:        LGPL v2.1+
16 Group:          Applications/Multimedia
17 Source0:        http://ftp.gnome.org/pub/GNOME/sources/grilo-plugins/0.3/%{name}-%{version}.tar.xz
18 # Source0-md5:  194957f6d0124ac77d4733b5c9191c7a
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:  gmime-devel >= 2.6.0
25 BuildRequires:  gnome-online-accounts-devel >= 3.18.0
26 BuildRequires:  gom-devel >= 0.4
27 BuildRequires:  gperf
28 BuildRequires:  grilo-devel >= 0.3.8
29 BuildRequires:  gstreamer-devel >= 1.0
30 BuildRequires:  json-glib-devel
31 BuildRequires:  libarchive-devel
32 BuildRequires:  libdmapsharing-devel >= %{libdmapsharing_ver}
33 %if %{with libdmapsharing4}
34 BuildRequires:  libdmapsharing-devel < 4.9
35 %else
36 BuildRequires:  libdmapsharing-devel < 3.9
37 %endif
38 BuildRequires:  libgcrypt-devel
39 BuildRequires:  libgdata-devel >= 0.9.1
40 BuildRequires:  libmediaart2-devel >= 1.9
41 BuildRequires:  liboauth-devel
42 BuildRequires:  libsoup-devel >= 2.4
43 BuildRequires:  libtool >= 2:2.2.6
44 BuildRequires:  libxml2-devel >= 2.0
45 BuildRequires:  lua53-devel >= 5.3.0
46 BuildRequires:  meson >= 0.37.0
47 BuildRequires:  ninja >= 1.5
48 BuildRequires:  pkgconfig
49 BuildRequires:  rpmbuild(macros) >= 1.736
50 BuildRequires:  sqlite3-devel >= 3
51 BuildRequires:  tar >= 1:1.22
52 BuildRequires:  totem-pl-parser-devel >= 3.4.1
53 BuildRequires:  tracker-devel >= 2.3.0
54 BuildRequires:  xz
55 BuildRequires:  yelp-tools
56 Requires:       glib2 >= 1:2.44
57 Requires:       gmime >= 2.6.0
58 Requires:       gnome-online-accounts-libs >= 3.18.0
59 Requires:       gom >= 0.4
60 Requires:       grilo >= 0.3.8
61 Requires:       libdmapsharing >= %{libdmapsharing_ver}
62 Requires:       libgdata >= 0.9.1
63 Requires:       totem-pl-parser >= 3.4.1
64 Requires:       tracker >= 2.3.0
65 Suggests:       dleyna-server
66 Obsoletes:      totem-jamendo
67 Obsoletes:      totem-tracker
68 Obsoletes:      totem-upnp
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 %description
72 Collection of plugins for Grilo implementing Grilo's API for various
73 multimedia content providers.
74
75 %description -l pl.UTF-8
76 Zestaw wtyczek dla Grilo, zawierających implementuje API Grilo dla
77 różnych dostawców treści multimedialnych.
78
79 %prep
80 %setup -q
81
82 %build
83 %meson build
84
85 %ninja_build -C build
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %ninja_install -C build
91
92 %find_lang %{name} --with-gnome
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc AUTHORS NEWS README.md
100 %dir %{_libdir}/grilo-0.3
101 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlbookmarks.so
102 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlchromaprint.so
103 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrldaap.so
104 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrldleyna.so
105 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrldpap.so
106 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlfilesystem.so
107 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlflickr.so
108 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlfreebox.so
109 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlgravatar.so
110 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrljamendo.so
111 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrllocalmetadata.so
112 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlluafactory.so
113 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlmagnatune.so
114 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlmetadatastore.so
115 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlopensubtitles.so
116 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlopticalmedia.so
117 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlpodcasts.so
118 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlraitv.so
119 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlshoutcast.so
120 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlthetvdb.so
121 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrltmdb.so
122 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrltracker.so
123 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlvimeo.so
124 %attr(755,root,root) %{_libdir}/grilo-0.3/libgrlyoutube.so
125 %dir %{_datadir}/grilo-plugins
126 %dir %{_datadir}/grilo-plugins/grl-lua-factory
127 %{_datadir}/grilo-plugins/grl-lua-factory/grl-acoustid.lua
128 %{_datadir}/grilo-plugins/grl-lua-factory/grl-appletrailers.gresource
129 %{_datadir}/grilo-plugins/grl-lua-factory/grl-appletrailers.lua
130 %{_datadir}/grilo-plugins/grl-lua-factory/grl-euronews.gresource
131 %{_datadir}/grilo-plugins/grl-lua-factory/grl-euronews.lua
132 %{_datadir}/grilo-plugins/grl-lua-factory/grl-guardianvideos.gresource
133 %{_datadir}/grilo-plugins/grl-lua-factory/grl-guardianvideos.lua
134 %{_datadir}/grilo-plugins/grl-lua-factory/grl-itunes-podcast.gresource
135 %{_datadir}/grilo-plugins/grl-lua-factory/grl-itunes-podcast.lua
136 %{_datadir}/grilo-plugins/grl-lua-factory/grl-lastfm-cover.lua
137 %{_datadir}/grilo-plugins/grl-lua-factory/grl-musicbrainz-coverart.lua
138 %{_datadir}/grilo-plugins/grl-lua-factory/grl-radiofrance.gresource
139 %{_datadir}/grilo-plugins/grl-lua-factory/grl-radiofrance.lua
140 %{_datadir}/grilo-plugins/grl-lua-factory/grl-steam-store.lua
141 %{_datadir}/grilo-plugins/grl-lua-factory/grl-theaudiodb-cover.lua
142 %{_datadir}/grilo-plugins/grl-lua-factory/grl-thegamesdb.lua
143 %{_datadir}/grilo-plugins/grl-lua-factory/grl-video-title-parsing.lua
144
145 %dir %{_datadir}/help/C/examples
146 %{_datadir}/help/C/examples/example-tmdb.c
147 %lang(cs) %dir %{_datadir}/help/cs/examples
148 %lang(cs) %{_datadir}/help/cs/examples/example-tmdb.c
149 %lang(da) %dir %{_datadir}/help/da/examples
150 %lang(da) %{_datadir}/help/da/examples/example-tmdb.c
151 %lang(de) %dir %{_datadir}/help/de/examples
152 %lang(de) %{_datadir}/help/de/examples/example-tmdb.c
153 %lang(es) %dir %{_datadir}/help/es/examples
154 %lang(es) %{_datadir}/help/es/examples/example-tmdb.c
155 %lang(pl) %dir %{_datadir}/help/pl/examples
156 %lang(pl) %{_datadir}/help/pl/examples/example-tmdb.c
157 %lang(pt_BR) %dir %{_datadir}/help/pt_BR/examples
158 %lang(pt_BR) %{_datadir}/help/pt_BR/examples/example-tmdb.c
159 %lang(sv) %dir %{_datadir}/help/sv/examples
160 %lang(sv) %{_datadir}/help/sv/examples/example-tmdb.c
161 %lang(uk) %dir %{_datadir}/help/uk/examples
162 %lang(uk) %{_datadir}/help/uk/examples/example-tmdb.c
163 %{_pkgconfigdir}/grilo-plugins-0.3.pc
This page took 0.078019 seconds and 2 git commands to generate.