[libtvdb/f18] Initial import
Daniel Vrátil
dvratil at fedoraproject.org
Mon Nov 26 13:24:27 UTC 2012
commit 386884c0bc8e6c3bc475512f6bd2adf0f3a6352b
Author: Dan Vrátil <dvratil at redhat.com>
Date: Mon Nov 26 14:24:10 2012 +0100
Initial import
libtvdb.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/libtvdb.spec b/libtvdb.spec
new file mode 100644
index 0000000..7bdb6df
--- /dev/null
+++ b/libtvdb.spec
@@ -0,0 +1,73 @@
+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 <dvratil at redhat.com> - 0.3.0-3
+- Fixed license
+- Use KDE4 macros
+- Added Cmake to -devel requires
+
+* Tue Oct 23 2012 Dan Vrátil <dvratil at redhat.com> - 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 <dvratil at redhat.com> - 0.3.0-1
+- Initial package
More information about the scm-commits
mailing list