Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke
libfftranscode
libfftranscode.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libfftranscode.spec of Package libfftranscode
# # spec file for package libfftranscode # # Copyright (c) 2020, Martin Hauke <mardnh@gmx.de> # # 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 https://bugs.opensuse.org/ # %global sover 0 %global libname %{name}%{sover} Name: libfftranscode Version: 0.2 Release: 0 Summary: Proprietary ffasn1c based transcode library (APER/BER) License: NonFree Group: Development/Libraries/C and C++ URL: https://ftp.osmocom.org/binaries/libfftranscode/ Source0: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode0_%{version}_amd64.deb Source1: https://ftp.osmocom.org/binaries/libfftranscode/libfftranscode-dev_%{version}_amd64.deb BuildRequires: dpkg ExclusiveArch: x86_64 %description Proprietary library for APER<->BER transcoding of RUA/RANAP/HNBAP. %package -n %{libname} Summary: Proprietary library for APER<->BER transcoding of RUA/RANAP/HNBAP Group: System/Libraries %description -n %{libname} Proprietary library for APER<->BER transcoding of RUA/RANAP/HNBAP. %package devel Summary: Development files for libfftranscode Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} %description devel Proprietary library for APER<->BER transcoding of RUA/RANAP/HNBAP. This subpackage contains libraries and header files for developing applications that want to make use of libfftranscode. %prep %setup -q -c -T dpkg -x %{SOURCE0} . dpkg -x %{SOURCE1} . # Fix pkgconfig file sed -i 's|lib/x86_64-linux-gnu|lib64|g' ./usr/lib/x86_64-linux-gnu/pkgconfig/libfftranscode.pc %build %install install -D -m0644 .%{_includedir}/fftranscode/transcode.h %{buildroot}%{_includedir}/fftranscode/transcode.h install -D -m0644 .%{_prefix}/lib/x86_64-linux-gnu/pkgconfig/libfftranscode.pc %{buildroot}%{_libdir}/pkgconfig/libfftranscode.pc install -d %{buildroot}%{_libdir} install -m0755 .%{_prefix}/lib/x86_64-linux-gnu/libfftranscode.so.0.0.0 %{buildroot}%{_libdir} install -m0755 .%{_prefix}/lib/x86_64-linux-gnu/libfftranscode.so %{buildroot}%{_libdir} ln -s %{_libdir}/libfftranscode.so.0.0.0 %{buildroot}%{_libdir}/libfftranscode.so.0 %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %license .%{_datadir}/doc/libfftranscode%{sover}/copyright %{_libdir}/libfftranscode.so.%{sover}* %files devel %{_includedir}/fftranscode %{_libdir}/libfftranscode.so %{_libdir}/pkgconfig/libfftranscode.pc %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