Name: libtvdb Version: 0.3.0 Release: 3%{?dist} Summary: A library to fetch TV series information from the thetvdb.com web service # Any later version of LGPL accepted by the membership of KDE e.V. # (or its successor approved by the membership of KDE e.V.) License: LGPLv2 or LGPLv3 URL: http://libtvdb.sourceforge.net Source0: http://downloads.sourceforge.net/project/%{name}/0.3/%{name}-%{version}.tar.bz2 BuildRequires: cmake BuildRequires: kdelibs4-devel BuildRequires: kde-runtime-devel %description A small library to fetch TV series information from the thetvdb.com web service %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build %{cmake_kde4} . make %{?_smp_mflags} %install %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc ChangeLog %{_kde4_bindir}/tvdbclient %{_kde4_libdir}/*.so.* %files devel %{_includedir}/* %{_kde4_libdir}/*.so %{_kde4_datadir}/cmake/* %changelog * Tue Nov 06 2012 Dan Vrátil - 0.3.0-3 - Fixed license - Use KDE4 macros - Added Cmake to -devel requires * Tue Oct 23 2012 Dan Vrátil - 0.3.0-2 - Fixed license - Marked ChangeLog as documentation - Removed CMake version and "rm -rf $BUILD_ROOT" * Sun Oct 21 2012 Dan Vrátil - 0.3.0-1 - Initial package