Name: glyr Version: 1.0.10 Release: 1 Summary: Glyr is a search eninge for musicrelated metadata Group: System Environment/Libraries License: GPLv3+ URL: https://github.com/sahib/glyr Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake BuildRequires: gcc BuildRequires: libcurl-devel BuildRequires: glib2-devel >= 2.10 BuildRequires: sqlite-devel >= 3.4 Requires: libcurl Requires: sqlite Requires: lib%{name} = %{version}-%{release} %description Glyr is a searcheninge for musicrelated metadata. It comes both in a commandline interface tool and as a C library, both with an easy to use interface. 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 and similar songs. %package -n lib%{name} Summary: %{name} library Group: Development/Libraries %description -n lib%{name} The lib%{name} package contains libraries for applications that use %{name}. %package -n lib%{name}-devel Summary: Development files for %{name} Group: Development/Libraries Requires: lib%{name} = %{version}-%{release} %description -n lib%{name}-devel The lib%{name}-devel package contains libraries and header files for developing applications that use %{name}. %global debug_package %{nil} %prep %setup -qn %{name}-%{version} %build %{cmake} %cmake_build %install rm -rf %{buildroot} %cmake_install find %{buildroot} -name '*.la' -exec rm -f {} ';' %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc CHANGELOG AUTHORS COPYING %{_bindir}/glyrc %files -n lib%{name} %{_libdir}/lib%{name}.so.* %files -n lib%{name}-devel %defattr(-,root,root,-) %{_includedir}/%{name}/glyr.h %{_includedir}/%{name}/types.h %{_includedir}/%{name}/cache.h %{_includedir}/%{name}/misc.h %{_includedir}/%{name}/config.h %{_includedir}/%{name}/testing.h %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/lib%{name}.pc %changelog * Thu Jan 04 2018 Matias De lellis - 1.0.10-1 - Update to stable 1.0.10 * Thu Jun 22 2017 Matias De lellis - 1.0.9-1 * Wed Sep 10 2014 Matias De lellis - 1.0.6-1 - Update to stable 1.0.6 * Mon Mar 17 2014 Matias De lellis - 1.0.5-2 - Add glib to BuildRequires * Sun Feb 09 2014 Matias De lellis - 1.0.5-1 - Update to estable 1.0.5 - Split glyrc commandline tool and libraries. * Tue Dec 17 2013 Matias De lellis - 1.0.2-1 - Update to estable 1.0.2 * Sat Mar 02 2013 Matias De lellis - 1.0.1-1 - Update to estable 1.0.1 * Wed Aug 22 2012 Matias De lellis - 1.0.0-1 - Update to estable 1.0.0 * Tue Mar 06 2012 Matias De lellis - 0.9.5-1 - Update to estable 0.9.5 * Wed Feb 29 2012 Matias De lellis - 0.9.4-1.20120221git1d351dfc - Update to last git snapshot. * Tue Jan 31 2012 Matias De lellis - 0.9.3-1.20120123git212166e8 - Initial package