Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gargerakis
nio-III-ASN1-Tool
nio-III-ASN1-Tool.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nio-III-ASN1-Tool.spec of Package nio-III-ASN1-Tool
%define _orig_name III-ASN.1-Tool-Fork-master %define _prefix /opt/nio %define _libdir %{_prefix}/lib %define _libexecdir %{_prefix}/libexec %define _sysconfdir /etc %{!?machine: %define machine native} Summary: Nio version of III-ASN.1 Tool Name: nio-III-ASN1-Tool Version: 2.12 Release: %{rpm_release} License: GPLv2+ Group: Applications/Internet Source: https://github.com/jussimalinen/III-ASN.1-Tool-Fork/archive/master.zip #Patch: nio-iii-asn1-tool.patch Packager: Costas Gargerakis <gargerakis at niometrics dot com> BuildRoot: %{_tmppath}/%{name}-install BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: libtool BuildRequires: gcc BuildRequires: flex BuildRequires: bison BuildRequires: python BuildRequires: perl BuildRequires: boost-devel BuildRequires: glib2-devel >= 2.16.0 Requires: glib2 >= 2.16.0 BuildRequires: zlib-devel Requires: zlib %description The III ASN.1 Tool includes two parts : an ASN.1 compiler "asnparser" which compiles the Abstract Syntax to c++ files, and a runtime library which is used to link with the c++ files generated by asnparser. Based on the works of Open H.323 projects, it is developed for the needs of H.450 series protocol. Hence, it supports the information object class defined in X.681. Below are the summary of its features. http://iiiasn1.sourceforge.net/main.html %prep #%setup -q -n %{_orig_name}-%{version} %setup -n III-ASN.1-Tool-Fork-master #%patch -p1 %build aclocal automake --add-missing ./autogen.sh %configure --prefix=%{_prefix} --without-asnh323 --enable-optimizations --enable-shared %__make # Create the pkg-config file cat > iiiasn1tool.pc << "_EOF_" prefix=/opt/nio exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: iiiasn1tool Description: C++ ASN.1 parser/decoder Version: 2.12-2 Libs: -L${libdir} -lasn1 Cflags: -I${includedir} _EOF_ %install rm -rf ${buildroot} %__make DESTDIR=%{buildroot} install install -d %{buildroot}%{_libdir}/pkgconfig install -m 644 iiiasn1tool.pc %{buildroot}%{_libdir}/pkgconfig %clean rm -rf $RPM_BUILD_ROOT %pre %post # If we're being installed in an unusual prefix tell the loader where # to find our libraries. mkdir -p %{buildroot}/etc/ld.so.conf.d echo "%{_libdir}" > %{buildroot}/etc/ld.so.conf.d/IIIASN1Tool.conf /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/* %{_includedir}/* %if 0%{?install_ld_so_conf} /etc/ld.so.conf.d/IIIASN1Tool.conf %endif %changelog * Fri May 11 2018 Costas Gargerakis - Porting to OBS * Mon Apr 11 2016 Paul E. Katsoulakis - Created the first nio version of III ASN.1 tool
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