Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
libmatroska
libmatroska.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmatroska.spec of Package libmatroska
# # spec file for package libmatroska # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define soname 5 Name: libmatroska Version: 1.3.0 Release: 0 Summary: Library to Deal with Matroska Files License: LGPL-2.1+ Group: Development/Libraries/Other Url: http://www.matroska.org/ Source0: http://dl.matroska.org/downloads/libmatroska/libmatroska-%{version}.tar.bz2 Source1: baselibs.conf BuildRequires: gcc-c++ BuildRequires: libebml-devel >= 1.0.0 Patch: matroska-noansiflag.patch %description Libmatroska is a C++ library to parse Matroska files (.mkv and .mka). It depends on libebml to work. You only need this package to compile your own applications. %package -n libmatroska%{soname} Summary: Library to Deal with Matroska Files Group: Development/Libraries/Other %description -n libmatroska%{soname} Libmatroska is a C++ library to parse Matroska files (.mkv and .mka). It depends on libebml to work. You only need this package to compile your own applications. %package devel Summary: Library to Deal with Matroska Files Group: Development/Libraries/Other Requires: libebml-devel >= 1.0.0 Requires: libmatroska%{soname} = %{version} %description devel Libmatroska is a C++ library to parse Matroska files (.mkv and .mka). It depends on libebml to work. You only need this package to compile your own applications. %prep %setup -q %patch FAKE_BUILDTIMESTAMP=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%a %b %e %H:%M:%S %Y') sed -i "s/__TIMESTAMP__/\"$FAKE_BUILDTIMESTAMP\"/" matroska/KaxVersion.h %build cd make/linux %{__make} %{?_smp_mflags} CXXFLAGS='%{optflags}' sharedlib %install cd make/linux %{__make} libdir=%{buildroot}%{_libdir} includedir=%{buildroot}%{_includedir}/matroska install_sharedlib install_headers %post -n libmatroska%{soname} -p /sbin/ldconfig %postun -n libmatroska%{soname} -p /sbin/ldconfig %files -n libmatroska%{soname} %defattr (0644,root,root,0755) %{_libdir}/libmatroska.so.%{soname} %files devel %defattr (0644,root,root,0755) %{_libdir}/libmatroska.so %{_includedir}/matroska %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor