[matroska] r1204 - trunk/libebml/make/linux
[email protected] Wed, 31 Aug 2005 17:19:52 +0400 (MSD)
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mosu Date: 2005-08-31 17:19:50 +0400 (Wed, 31 Aug 2005) New Revision: 1204 Added: trunk/libebml/make/linux/fedora-core.spec trunk/libebml/make/linux/suse.spec Log: Added the spec files that I use for building libebml on SuSE and Fedora Core. Added: trunk/libebml/make/linux/fedora-core.spec =================================================================== --- trunk/libebml/make/linux/fedora-core.spec 2005-08-30 14:39:37 UTC (rev 1203) +++ trunk/libebml/make/linux/fedora-core.spec 2005-08-31 13:19:50 UTC (rev 1204) @@ -0,0 +1,67 @@ +# SPEC file for libebml on (at least) Fedora Core 1, 2, 3 + +Name: libebml +Version: 0.7.5 +Release: 1 +License: LGPL +Summary: Extensible Binary Meta Language +Group: System Environment/Libraries +URL: http://ebml.sourceforge.net/ +Vendor: Moritz Bunkus <[email protected]> +Source: http://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-root + +%description +EBML was designed to be a simplified binary extension of XML for +the purpose of storing and manipulating data in a hierarchical +form with variable field lengths. +It uses the same paradigms as XML files, ie syntax and semantic +are separated. So a generic EBML library could read any format +based on it. The interpretation of data is up to a specific +application that knows how each elements (equivalent of XML tag) +has to be handled. + +%package devel +Summary: Extensible Binary Meta Language headers/development files +Group: Development/Libraries + +%description devel +EBML was designed to be a simplified binary extension of XML for +the purpose of storing and manipulating data in a hierarchical +form with variable field lengths. +It uses the same paradigms as XML files, ie syntax and semantic +are separated. So a generic EBML library could read any format +based on it. The interpretation of data is up to a specific +application that knows how each elements (equivalent of XML tag) +has to be handled. + +%prep +%setup -q + +%build +cd make/linux +CFLAGS="$RPM_OPT_FLAGS" \ +make \ +prefix="%{_prefix}" staticlib +cd ../.. + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +cd make/linux +make prefix=$RPM_BUILD_ROOT/%{_prefix} install_staticlib install_headers +cd ../.. + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%files devel +%defattr(-, root, root) +%{_includedir}/ebml/*.h +%{_includedir}/ebml/c/*.h +%{_libdir}/libebml.a + +%changelog +* Sat Apr 16 2005 Moritz Bunkus <[email protected]> +- updated for the new libebml build targets +* Fri May 15 2003 Ronald Bultje <[email protected]> +- create spec file Property changes on: trunk/libebml/make/linux/fedora-core.spec ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native Added: trunk/libebml/make/linux/suse.spec =================================================================== --- trunk/libebml/make/linux/suse.spec 2005-08-30 14:39:37 UTC (rev 1203) +++ trunk/libebml/make/linux/suse.spec 2005-08-31 13:19:50 UTC (rev 1204) @@ -0,0 +1,71 @@ +# +# spec file for package libebml for (at least) SuSE Linux 9.0, 9.1 +# +# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# + +# neededforbuild gcc-c++ libstdc++-devel + +BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib db devs diffutils file filesystem fillup findutils gawk glibc glibc-devel glibc-locale gpm grep groff gzip info insserv less libattr libgcc libstdc++ libxcrypt m4 make man mktemp patch permissions popt readline sed syslogd sysvinit tar timezone util-linux vim zlib zlib-devel autoconf automake binutils gcc gcc-c++ gdbm gettext libstdc++-devel libtool perl rpm + +Name: libebml +URL: http://sourceforge.net/projects/ebml +Version: 0.7.5 +Release: 1 +Summary: libary to parse EBML files. +License: LGPL +Group: Development/Libraries/Other +Source: %{name}-%{version}.tar.bz2 +Patch: libebml-makefile.diff +Summary: libary to parse EBML files. +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: /usr + +%description +libebml is a C++ libary to parse EBML files. See the EBML RFV at +http://www.matroska.org/technical/specs/rfc/ + + + +Authors: +-------- + Steve Lhomme <[email protected]> + Moritz Bunkus <[email protected]> + +%prep +rm -rf $RPM_BUILD_ROOT +%setup +%patch -p1 + +%build +export CFLAGS="$RPM_OPT_FLAGS" +cd make/linux +make PREFIX=$RPM_BUILD_ROOT/usr LIBDIR=%{_libdir} staticlib + +%install +cd make/linux +make install_staticlib install_headers PREFIX=$RPM_BUILD_ROOT/usr LIBDIR=$RPM_BUILD_ROOT/%{_libdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr (-,root,root) +%{_libdir}/libebml.a +/usr/include/ebml + +%changelog -n libebml +* Sat Apr 16 2005 - [email protected] +- modified for the new libebml build targets +* Wed Sep 01 2004 - [email protected] +- initial submission Property changes on: trunk/libebml/make/linux/suse.spec ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native