[libkcddb] initial try
Jaroslav Reznik
jreznik at fedoraproject.org
Mon Jun 4 12:55:11 UTC 2012
commit 6384491af904ea35d0c3dc28c67a6e0221cfb48d
Author: Jaroslav Reznik <jreznik at redhat.com>
Date: Mon Jun 4 14:55:04 2012 +0200
initial try
.gitignore | 1 +
libkcddb.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..78a8174 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libkcddb-4.8.80.tar.xz
diff --git a/libkcddb.spec b/libkcddb.spec
new file mode 100644
index 0000000..ab7ae93
--- /dev/null
+++ b/libkcddb.spec
@@ -0,0 +1,74 @@
+Name: libkcddb
+Version: 4.8.80
+Release: 1%{?dist}
+Summary: A KDE CDDB retrieval library
+
+License: LGPLv2+ and GPLv2+
+URL: http://www.kde.org/
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
+Source0: ftp://ftp.kde.org/pub/kde/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
+
+BuildRequires: kdelibs4-devel >= %{version}
+
+# when split occured
+Conflicts: kdemultimedia < 6:4.8.80-1
+Conflicts: kdemultimedia-libs < 6:4.8.80-1
+Conflicts: kdemultimedia-devel < 6:4.8.80-1
+
+%description
+%{summary}.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+%description devel
+%{summary}.
+
+
+%prep
+%setup -q
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+rm -rf %{buildroot}
+
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc TODO
+%{_kde4_appsdir}/kconf_update/kcmcddb-emailsettings.upd
+%{_kde4_datadir}/config.kcfg/libkcddb.kcfg
+%{_kde4_datadir}/kde4/services/libkcddb.desktop
+%{_kde4_libdir}/libkcddb.so.4*
+%{_kde4_libdir}/kde4/kcm_cddb.so
+
+%files devel
+%{_kde4_includedir}/libkcddb/
+%{_kde4_libdir}/libkcddb.so
+%{_kde4_libdir}/cmake/libkcddb/
+
+
+%changelog
+* Thu May 31 2012 Jaroslav Reznik <jreznik at redhat.com> 4.8.80-1
+- initial try
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..dcfe171 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8ab0378db7ce099b2be5ffa8e354fa09 libkcddb-4.8.80.tar.xz
More information about the scm-commits
mailing list