Author: glen Date: Tue May 22 22:09:52 2012 GMT Module: packages Tag: HEAD ---- Log message: - new, based on opensuse package http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_12.1/src/glyr-0.9.9-4.1.src.rpm
---- Files affected: packages/glyr: glyr.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/glyr/glyr.spec diff -u /dev/null packages/glyr/glyr.spec:1.1 --- /dev/null Wed May 23 00:09:52 2012 +++ packages/glyr/glyr.spec Wed May 23 00:09:46 2012 @@ -0,0 +1,104 @@ +# $Revision$, $Date$ +# TODO +# - optflags (-Os -s used upstream) +Summary: Searcheninge for Musicrelated Metadata +Name: glyr +Version: 0.9.9 +Release: 1 +License: GPL v3+ +Group: Applications/Multimedia +URL: https://github.com/sahib/glyr +Source0: https://github.com/downloads/sahib/glyr/%{name}-%{version}.tar.bz2 +# Source0-md5: 289644694b36a7a19a478766c2763fc7 +BuildRequires: cmake +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(sqlite3) +Requires: %{name}-libs = %{version}-%{release} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Glyr CLI tool. + +The sort of metadata glyr is searching (and downloading) is usually +the data you see in your musicplayer. And indeed, originally it was +written to serve as internally library for a musicplayer, but has been +extended to work as a standalone program which is able to download: + +- cover art +- lyrics +- bandphotos +- artist biography +- album reviews +- tracklists of an album +- a list of albums from a specific artist +- tags, either related to artist, album or title relations, for + example links to wikipedia +- similar artists +- similar songs. + +%package libs +Summary: Searcheninge for Musicrelated Metadata +Group: Libraries + +%description libs +Glyr shared library. + +%package devel +Summary: Searcheninge for Musicrelated Metadata +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} + +%description devel +Glyr development files. + +%prep +%setup -qn %{name} + +%build +install -d build +cd build +%cmake \ + ../ +%{__make} VERBOSE=1 + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} -C build install/fast \ + DESTDIR=$RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -a src/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS CHANGELOG README.textile TODO +%attr(755,root,root) %{_bindir}/glyrc + +%files libs +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libglyr.so.*.*.* +%ghost %{_libdir}/libglyr.so.1 + +%files devel +%defattr(644,root,root,755) +%{_includedir}/glyr +%{_libdir}/libglyr.so +%{_pkgconfigdir}/libglyr.pc +%{_examplesdir}/%{name}-%{version} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/05/22 22:09:46 glen +- new, based on opensuse package + http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_12.1/src/glyr-0.9.9-4.1.src.rpm ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
