[libkcompactdisc] initial try

Jaroslav Reznik jreznik at fedoraproject.org
Fri Jun 8 10:09:12 UTC 2012


commit 6df7664a2ef792d6f099d86a712bb7e7f300b861
Author: Jaroslav Reznik <jreznik at redhat.com>
Date:   Fri Jun 8 12:08:58 2012 +0200

    initial try

 .gitignore           |    1 +
 libkcompactdisc.spec |   76 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3022b8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libkcompactdisc-4.8.80.tar.xz
diff --git a/libkcompactdisc.spec b/libkcompactdisc.spec
new file mode 100644
index 0000000..dd11a07
--- /dev/null
+++ b/libkcompactdisc.spec
@@ -0,0 +1,76 @@
+Name:           libkcompactdisc
+Version:        4.8.80
+Release:        1%{?dist}
+Summary:        A KDE compact disc library
+
+# source code contains bundled workman library but we consider it as a part of the
+# code as there's no standalone workman lib, it's not used by any other project and
+# maintainer develops it in kde git in sync with libkcompactdisc
+
+# wmlib is LGPLv2+, rest is LGPLv2+ and GPLv2+
+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}
+BuildRequires:  pkgconfig(alsa)
+
+# 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}-libs%{?_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 COPYING COPYING.LIB wmlib/README
+%{_kde4_libdir}/libkcompactdisc.so.*
+
+%files devel
+%{_kde4_includedir}/libkcompactdisc/
+%{_kde4_libdir}/cmake/libkcompactdisc/
+%{_kde4_libdir}/libkcompactdisc.so
+
+
+%changelog
+* Wed Jun 06 2012 Jaroslav Reznik <jreznik at redhat.com> 4.8.80-1
+- initial try
diff --git a/sources b/sources
index e69de29..a4c0d26 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1fa3d6d389683ae87780533ebead1767  libkcompactdisc-4.8.80.tar.xz


More information about the scm-commits mailing list