summaryrefslogtreecommitdiff
path: root/grilo.spec.in
blob: d85b76293d94b0b6749fb0e77d45ec0084d0676b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
Name:           grilo
Version:        @VERSION@
Release:        1
Summary:        Grilo framework

Group:          Applications/Multimedia
License:        LGPLv2+
Source0:        http://ftp.gnome.org/pub/GNOME/sources/grilo/0.1/grilo-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gnome-common
BuildRequires:  vala-devel >= 0.7.2
BuildRequires:  vala-tools >= 0.7.2
BuildRequires:  gtk-doc
BuildRequires:  gobject-introspection-devel >= 0.9.0
BuildRequires:  libxml2-devel
BuildRequires:  libsoup-devel
#Requires:

%description
Grilo is a framework that provides access to different sources of
multimedia content, using a pluggable system.
This package contains the core library and elements.

%package devel
Summary:        Libraries/include files for Grilo framework
Group:          Development/Libraries

Requires:       %{name} = %{version}-%{release}
Requires:       glib2-devel

%description devel
Grilo is a framework that provides access to different sources of
multimedia content, using a pluggable system.
This package contains the core library and elements, as well as
general and API documentation.

%package vala
Summary:        Vala language bindings for Grilo framework
Group:          Development/Other

Requires:       %{name} = %{version}-%{release}
Requires:       vala >= 0.7.2

%description vala
Grilo is a framework that provides access to different sources of
multimedia content, using a pluggable system.
This package contains the Vala language bindings.

%prep
%setup -q


%build
%configure                      \
	--enable-vala	        \
	--enable-gtk-doc        \
        --enable-introspection  \
        --enable-grl-net        \
        --disable-tests

make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# Remove files that will not be packaged
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_bindir}/grilo-simple-playlist

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/*.typelib
%{_bindir}/grl-inspect

%files devel
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO
%dir %{_includedir}/%{name}-@GRL_MAJORMINOR@
%dir %{_includedir}/%{name}-@GRL_MAJORMINOR@/net
%dir %{_datadir}/gtk-doc/html/%{name}
%dir %{_datadir}/gtk-doc/html/%{name}-libs
%{_includedir}/%{name}-@GRL_MAJORMINOR@/*.h
%{_includedir}/%{name}-@GRL_MAJORMINOR@/net/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%doc %{_datadir}/gtk-doc/html/%{name}/*
%doc %{_datadir}/gtk-doc/html/%{name}-libs/*

%files vala
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO
%{_datadir}/vala-0.10/vapi/*

%changelog
* Wed Apr 13 2011 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.14-1
- Several fixes, including: BGO#628898 - Grilo could do with a function to load a plugin by ID, BGO#644383 - [feature-request] Metadata request are not cancellable
- Re-worked "content-changed" signal: several elements can be sent in just one signal
- Operations in GrlMetadataSource are now cancellable too

* Wed Apr 06 2011 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.13-1
- Do not store keys without values in GrlData
- Deprecated grl_data_key_is_known()
- Deprecated GrlData "overwrite" property
- Renamed grl_data_get_single_related_keys()
- Some fixes, including: BGO#645525 - CPU load and grilo requests

* Wed Mar 30 2011 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.12-1
- Several fixes and improvements, including fixes for: BGO#645542 - grl_metadata_source_set_metadata() broken
- Added support for caching in GrlNet
- Added new metadata keys suited for camera pictures
- Improved GObject Introspection support

* Thu Mar 17 2011 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.11-1
- Fixed a segmentation fault
- Added new keys

* Fri Mar 04 2011 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.10-1
- Several fixes
- Deprecated grl_metadata_source_key_depends() in benefit of grl_metadata_source_may_resolve()
- Rewritten full resolution mode to handle correctly metadata sources
- Added support for multi-valued keys.

* Thu Feb 10 2011 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.9-1
- Several fixes
- Added support for content-changed notifications
- Added support for NULL-text search (aka search all)
- Added support for cancelled operations notification
- Added support for binary data in GrlConfig and GrlData
- Added new configuration key: api-key-blob
- Added new metadata key: thumbnail-binary

* Thu Jan 27 2011 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.8-1
- Several fixes
- Improved documentation
- Reworked GrlConfig
- Added new types and functions in GrlConfig
- Added padded for public structures
- Added sync version of grl_media_source_get_media_from_uri()

* Fri Jan 21 2011 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.7-1
- Several fixes, including fixes for bgs #627864, #628506, #629369, #630493, #635394
- Added Grilo Net Web Client (GrlNetWc)
- Implemented grl_multiple_get_media_from_size(): build a GrlMedia from given a site url
- Implemented grl_plugin_registry_add_config_from_file(): locad plugin configuration from a file
- Added a GError parameter to GrlPluginRegistry functions tat can fail
- Added new GrlCoreError
- Log system revamp
- Improved documentation
- Improved gobject introspection annotations
- Improved Vala bindings
- Using functions instead of definitions in grl-media-plugin
- Updated tests infrastructure
- Added new python tests using gobject introspection

* Thu Aug 26 2010 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.6-1
- Several fixes, including fixes for GB#620143, GB#62047 and GB#627207
- Use SILENCE mode when building
- Added (un)serialization API to GrlMedia
- New metadata key system based on GParamSpec
- Added API to get all available keys
- Added API to initialize Grilo
- Added API to search in several plugins at the same time
- Added API with utility functions
- Added command-line options
- Use XML to define plugins
- Added new keys: external-url, external-player, studio, certificate and license
- grl_media_source_metadata() is cancelable
- Handle flickr authorization in test-ui
- Added synchronous functions for the asynchronous partners
- Added grl-inspect utility
- Renamed grl_plugin_registry_get_instance() to grl_plugin_registry_get_default().
- Improved Vala bindings
- Improved GObject Introspction support

* Fri May 07 2010 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.5-1
- General fixes
- Added initial support for testing
- Added new documentation: overview, quick start, examples, ...
- Updated Vala bindings
- Changed GrlConfig: now keys are strings instead of GrlKeyID
- Improved build system
- Added Vimeo plugin in Test UI

* Fri Mar 12 2010 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.4-1
- Improved code and documentation
- New API to configure plugins and sources
- New API to modify content in sources
- New keys: play-count, last-played, last-position
- Introspection support in build system
- Refactored content classes
- Renamed sources_by_capabilities() to sources_by_operations()

* Mon Mar 01 2010 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.3-1
- Added ranks to plugins
- Added functions to search sources by capabilities
- Gtk-doc for GrlMediaPlugin and GrlMetadataSource

* Fri Feb 19 2010 Juan A. suarez Romero <jasuarez@igalia.com> - 0.1.2-1
- Improved Vala bindings
- Fixed some bugs
- Started initial support for gtk-doc

* Tue Feb 16 2010 Juan A. Suarez Romero <jasuarez@igalia.com> - 0.1.1-1
- Initial release