packages: libkate/libkate.spec (NEW) - init from fc spec

glen glen at pld-linux.org
Mon Apr 12 08:43:47 CEST 2010


Author: glen                         Date: Mon Apr 12 06:43:47 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- init from fc spec

---- Files affected:
packages/libkate:
   libkate.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libkate/libkate.spec
diff -u /dev/null packages/libkate/libkate.spec:1.1
--- /dev/null	Mon Apr 12 08:43:47 2010
+++ packages/libkate/libkate.spec	Mon Apr 12 08:43:42 2010
@@ -0,0 +1,132 @@
+# $Revision$, $Date$
+# TODO
+# - png 1.4 fix
+Summary:	Libraries to handle the Kate bitstream format
+Name:		libkate
+Version:	0.3.7
+Release:	0.1
+License:	BSD
+Group:		Libraries
+URL:		http://code.google.com/p/libkate/
+Source0:	http://libkate.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5:	e5c287b4f40498e5bde48c0a52225292
+BuildRequires:	bison
+BuildRequires:	doxygen
+BuildRequires:	flex
+BuildRequires:	libogg-devel
+BuildRequires:	liboggz
+BuildRequires:	libpng-devel
+BuildRequires:	python-devel
+BuildRequires:	valgrind
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is libkate, the reference implementation of a codec for the Kate
+bitstream format. Kate is a karaoke and text codec meant for
+encapsulation in an Ogg container. It can carry text, images, and
+animate them.
+
+Kate is meant to be used for karaoke alongside audio/video streams
+(typically Vorbis and Theora), movie subtitles, song lyrics, and
+anything that needs text data at arbitrary time intervals.
+
+%package devel
+Summary:	Development files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libogg-devel
+
+%description devel
+This package contains libraries and header files for developing
+applications that use %{name}.
+
+%package utils
+Summary:	Encoder/Decoder utilities for %{name}
+Group:		Applications/Multimedia
+Requires:	%{name} = %{version}-%{release}
+Requires:	liboggz
+
+%description utils
+This package contains the katedec/kateenc binaries for %{name}.
+
+%package docs
+Summary:	Documentation for %{name}
+Group:		Documentation
+
+%description docs
+This package contains the docs for %{name}.
+
+%prep
+%setup -q
+
+# We regenerate theses files at built step
+rm tools/kate_parser.{c,h}
+rm tools/kate_lexer.c
+
+%build
+%configure \
+	--disable-static \
+	--docdir=%{_docdir}/%{name}-%{version}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	INSTALL="install -p"
+
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+# Fix for header timestramps
+touch -r $RPM_BUILD_ROOT%{_includedir}/kate/kate_config.h $RPM_BUILD_ROOT%{_includedir}/kate/kate.h
+
+%check
+make check
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%exclude %{_docdir}/libkate-%{version}/html
+%doc %{_docdir}/libkate-%{version}
+# XXX files fix
+%attr(755,root,root) %{_libdir}/*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc examples
+%{_includedir}/kate
+# XXX files fix
+%attr(755,root,root) %{_libdir}/*.so
+%{_pkgconfigdir}/*.pc
+
+%files utils
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/KateDJ
+%attr(755,root,root) %{_bindir}/katalyzer
+%attr(755,root,root) %{_bindir}/katedec
+%attr(755,root,root) %{_bindir}/kateenc
+# XXX files fix
+%{py_sitedir}/kdj
+%{_mandir}/man1/KateDJ.*
+%{_mandir}/man1/katalyzer.*
+%{_mandir}/man1/katedec.*
+%{_mandir}/man1/kateenc.*
+
+%files docs
+%defattr(644,root,root,755)
+%doc %{_docdir}/libkate-%{version}/html
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/04/12 06:43:42  glen
+- init from fc spec
================================================================


More information about the pld-cvs-commit mailing list