diff --git a/README.md b/README.md index f20bc39..2ff9867 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # grilo +Grilo is a framework for browsing and searching media content from various sources using a single API. + diff --git a/grilo.spec b/grilo.spec new file mode 100644 index 0000000..64d1e43 --- /dev/null +++ b/grilo.spec @@ -0,0 +1,169 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: grilo +Version: 0.2.10 +Release: 1mamba +Summary: A framework for browsing and searching media content from various sources using a single API +Group: Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://live.gnome.org +Source: http://ftp.gnome.org/pub/GNOME/sources/grilo/%{majver}/grilo-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libpango-devel +BuildRequires: libsoup-devel +BuildRequires: libxml2-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Grilo is a framework for browsing and searching media content from various sources using a single API. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} +Requires: grilo-plugins + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%package apidocs +Group: Documentation +Summary: %{name} API documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: gtk-doc + +%description apidocs +This package includes the %{name} API documentation. + +%debug_package + +%prep +%setup -q + +%build +%configure --enable-gtk-doc +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +install -d -m0755 %{buildroot}%{_libdir}/grilo-%{majver} + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/grilo-simple-playlist +%{_bindir}/grilo-test-ui-%{majver} +%{_bindir}/grl-inspect-%{majver} +%{_mandir}/man1/grl-inspect.1.gz + +%files -n lib%{name} +%defattr(-,root,root) +%dir %{_libdir}/grilo-%{majver} +%{_libdir}/libgrilo-%{majver}.so.* +%{_libdir}/libgrlnet-%{majver}.so.* +%{_libdir}/libgrlpls-%{majver}.so.* +%{_libdir}/girepository-1.0/Grl-%{majver}.typelib +%{_libdir}/girepository-1.0/GrlNet-%{majver}.typelib +%{_libdir}/girepository-1.0/GrlPls-%{majver}.typelib +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/grilo-%{majver} +%{_includedir}/grilo-%{majver}/*.h +%dir %{_includedir}/grilo-%{majver}/net +%{_includedir}/grilo-%{majver}/net/*.h +%dir %{_includedir}/grilo-%{majver}/pls +%{_includedir}/grilo-%{majver}/pls/grl-pls.h +%{_libdir}/libgrilo-%{majver}.a +%{_libdir}/libgrilo-%{majver}.la +%{_libdir}/libgrilo-%{majver}.so +%{_libdir}/libgrlnet-%{majver}.a +%{_libdir}/libgrlnet-%{majver}.la +%{_libdir}/libgrlnet-%{majver}.so +%{_libdir}/libgrlpls-%{majver}.a +%{_libdir}/libgrlpls-%{majver}.la +%{_libdir}/libgrlpls-%{majver}.so +%{_libdir}/pkgconfig/grilo-%{majver}.pc +%{_libdir}/pkgconfig/grilo-net-%{majver}.pc +%{_libdir}/pkgconfig/grilo-pls-%{majver}.pc +%{_datadir}/gir-1.0/Grl-%{majver}.gir +%{_datadir}/gir-1.0/GrlNet-%{majver}.gir +%{_datadir}/gir-1.0/GrlPls-%{majver}.gir +%{_datadir}/vala/vapi/grilo-* +%doc ChangeLog NEWS README TODO + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/grilo +%{_datadir}/gtk-doc/html/grilo/* + +%changelog +* Wed Mar 19 2014 Automatic Build System 0.2.10-1mamba +- automatic version update by autodist + +* Tue Feb 18 2014 Automatic Build System 0.2.9-1mamba +- automatic version update by autodist + +* Wed Feb 12 2014 Automatic Build System 0.2.8-1mamba +- automatic version update by autodist + +* Mon Oct 07 2013 Automatic Build System 0.2.7-1mamba +- automatic version update by autodist + +* Fri May 17 2013 Automatic Build System 0.2.6-1mamba +- automatic version update by autodist + +* Sun Mar 24 2013 Automatic Build System 0.2.5-1mamba +- automatic version update by autodist + +* Fri Nov 30 2012 Automatic Build System 0.2.4-1mamba +- automatic version update by autodist + +* Thu Nov 08 2012 Automatic Build System 0.2.3-1mamba +- automatic version update by autodist + +* Mon Nov 05 2012 Silvan Calarco 0.2.2-2mamba +- libgrilo: require grilo-plugins + +* Fri Oct 05 2012 Automatic Build System 0.2.2-1mamba +- automatic version update by autodist + +* Wed Oct 03 2012 Automatic Build System 0.2.1-1mamba +- automatic version update by autodist + +* Wed Sep 26 2012 Automatic Build System 0.2.0-1mamba +- automatic version update by autodist + +* Tue Aug 14 2012 Silvan Calarco 0.1.20-2mamba +- include plugin directory %{_libdir}/grilo-0.1 + +* Tue Aug 14 2012 Silvan Calarco 0.1.20-1mamba +- package created by autospec +aggiornamento del pacchetto grilo... +[step 6] -- creazione della lista dei build requirement