diff --git a/README.md b/README.md index 660b8f6..dcbd3b3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libebml +This library is used for I/O operations in the Extensible Binary Meta Language +(EBML), which is a kind of binary version of XML. + diff --git a/libebml.spec b/libebml.spec new file mode 100644 index 0000000..1a8e0f3 --- /dev/null +++ b/libebml.spec @@ -0,0 +1,101 @@ +Name: libebml +Version: 1.3.0 +Release: 1mamba +Summary: Extensible Binary Meta Language library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.matroska.org/ +Source: http://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot + +%description +This library is used for I/O operations in the Extensible Binary Meta Language +(EBML), which is a kind of binary version of XML. + +%package devel +Summary: Development files for the Extensible Binary Meta Language +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +This library is used for I/O operations in the Extensible Binary Meta Language +(EBML), which is a kind of binary version of XML. + +This package contains the files required to rebuild applications which will +use the Extensible Binary Meta Language. + +%prep +%setup -q +# fix strange mode for this text file +chmod -x ChangeLog + +%build +# no autotools... +%make -C make/linux + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeoldinstall -C make/linux \ + includedir=%{buildroot}%{_includedir}/ebml + +chmod +x %{buildroot}%{_libdir}/*.so.* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%{_libdir}/*.so.* +%doc ChangeLog LICENSE.LGPL + +%files devel +%defattr(-, root, root) +%dir %{_includedir}/ebml/ +%{_includedir}/ebml/* +%{_libdir}/*.a +%{_libdir}/*.so + +%changelog +* Wed Mar 20 2013 Automatic Build System 1.3.0-1mamba +- automatic version update by autodist + +* Sun Oct 02 2011 Automatic Build System 1.2.2-1mamba +- automatic version update by autodist + +* Sat Jul 23 2011 Automatic Build System 1.2.1-1mamba +- automatic update to 3.0.3.0 by autodist + +* Sat Feb 05 2011 Automatic Build System 1.2.0-1mamba +- automatic update by autodist + +* Sun Jun 27 2010 Automatic Build System 1.0.0-1mamba +- automatic update by autodist + +* Thu May 13 2010 Automatic Build System 0.8.0-1mamba +- automatic update by autodist + +* Fri Dec 05 2008 gil 0.7.8-1mamba +- update to 0.7.8 + +* Mon Jul 31 2006 Silvan Calarco 0.7.7-1qilnx +- update to version 0.7.7 by autospec + +* Fri Jun 10 2005 Davide Madrisan 0.7.4-1qilnx +- update to version 0.7.4 by autospec + +* Sun Oct 03 2004 Davide Madrisan 0.7.1-2qilnx +- specfile modified to match QiLinux standards + +* Sun Sep 19 2004 Matteo Bernasconi 0.7.1-1qilnx +- first build