Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:johannes_p
fec
libfec3-izt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libfec3-izt.spec of Package fec
# # spec file for package fec (Version VERSION) # # Copyright (c) Johannes Poehlmann, IZT GmbH # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild %define major 3 %define origname fec Name: lib%{origname}%{major} #BuildRequires: License: LGPL-2.1 Group: System/Libraries Version: %{major}.0.1 Release: 1 Source0: %{origname}-%{version}.tar.bz2 URL: http://www.ka9q.net/code/fec/%{SOURCE0} BuildRoot: %{_tmppath}/%{name}-%{version}-build patch: %{origname}-%{version}-pcharest.64bit.patch patch1: %{origname}-%{version}-DESTDIR.patch patch2: %{origname}-%{version}-powerpc.gcc.patch %ifarch ppc BuildRequires: libstdc++-devel %endif %ifarch ppc64 BuildRequires: libstdc++-devel %endif Summary: Forward error correction functions %description This package provides a set of functions that implement several popular forward error correction (FEC) algorithms and several low-level routines useful in modems implemented with digital signal processing (DSP). Authors: -------- Phil Karn, KA9Q Patches and Debian packaging: Pascal Charest <pascal.charest@crc.ca> %package -n %{name}%{major} Provides: %{name} Obsoletes: %{name} < %{version} Group: System/Libraries Summary: Forward error correction functions %if 0%{?suse_version} > 1102 BuildRequires: pkg-config autoconf automake %endif %description -n %{name}%{major} This package provides a set of functions that implement several popular forward error correction (FEC) algorithms and several low-level routines useful in modems implemented with digital signal processing (DSP). Authors: -------- Phil Karn, KA9Q Patches and Debian packaging: Pascal Charest <pascal.charest@crc.ca> %package devel Summary: Development files for %{name} Group: System/Libraries Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n %{origname}-%{version} %patch -p1 %patch1 -p1 %patch2 -p1 %build autoreconf --install ./configure --prefix=/usr --libdir %{_libdir} --mandir $RPM_BUILD_ROOT%{_mandir} %ifarch ppc ppc64 make CFLAGS+="-fPIC $RPM_OPT_FLAGS -Wall " %else make CFLAGS+="-fPIC $RPM_OPT_FLAGS -Wall" %endif %install make prefix=$RPM_BUILD_ROOT/usr DESTDIR=$RPM_BUILD_ROOT install # We have to patch makefile.in to respect DESTDIR in the install section /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} %if 0%{?suse_version} < 1103 rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig %endif %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %doc README %{_libdir}/*.so.* %files devel %defattr(-,root,root) %doc %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %if 0%{?suse_version} > 1102 %{_libdir}/pkgconfig/* %endif %{_mandir}/man3/* %changelog * Thu Oct 6 2010 - johannes.poehlmann@izt-labs.de - initial package created
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