[dmitry.serpokryl at gmail.com: Re: [packman] AMR packages]

sda dmitry.serpokryl at gmail.com
Mon Jul 2 02:13:15 CEST 2007


Sorry,
just forget to look at CC:

Thanks,
Regards,
Dmitry

----- Forwarded message from sda <dmitry.serpokryl at gmail.com> -----

Date: Sun, 1 Jul 2007 20:56:28 -0300
From: sda <dmitry.serpokryl at gmail.com>
To: Manfred Tremmel <manfred at links2linux.de>
Subject: Re: [packman] AMR packages
User-Agent: Mutt/1.5.14 (2007-02-12)

As I assume we're unable to... mmm... Well.

How bout that? Distribute just spec?
(you need "w3m" and "wget" installed)...

Regards,
Dmitry


On 17:54 Sun 01 Jul     , Manfred Tremmel wrote:
> Hallo sda,
> > Ups, Manfred, sorry..
> >
> > Here's slightly adjusted ones (but previous are also fine, just a
> > minor changes).
> 
> Thank you, but we do have a problem with the license:
> 
> ----------------------------- schnipp ---------------------------------
> The 3GPP TS 26.104 V 6.1.0 reference code has a commercial license.
> 
> To use package compiled by this code, you may need a license from 3GPP.
> 
> The wrapper code is released under GNU Library General Public License.
> ----------------------------- schnapp ---------------------------------
> 
> And: http://www.3gpp.org/legal/legal.htm
> 
> As far as I understand, we would need a license from 3GPP and everybody 
> who uses the package, too.
> 
> @all Packman-Pakagers: Any idea, how to solve this?
> 
> -- 
> Machs gut    | http://www.iivs.de/schwinde/buerger/tremmel/
> 
> Manfred      | http://packman.links2linux.de/

Name: amrnb
Summary: provides libamrnb
Version: 6.1.0.4
Release: 1.0
License: GPL
Group: Multimedia
Source: amrnb-6.1.0.4.tar.bz2


BuildRoot: %{_tmppath}/build-root-%{name}
Packager: sda00
Distribution: SuSE-10.2
Prefix: /usr
Url: http://www.3gp.org
Provides: libamrnb
Vendor: 3gp.org


%description
This package provides support for amrnb codecs.

%prep
rm -rf $RPM_BUILD_ROOT 
mkdir $RPM_BUILD_ROOT
w3m http://www.3gpp.org/legal/Copyright/Copyright_questionnaire.htm
wget -c http://ftp.penguin.cz/pub/users/utx/amr/amrnb-6.1.0.4.tar.bz2 -O /usr/src/packages/SOURCES/amrnb-6.1.0.4.tar.bz2
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=/usr --libdir=/usr/%{_lib}
make %{?jobs:-j %jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install-strip

cd $RPM_BUILD_ROOT

find . -type d -fprint $RPM_BUILD_DIR/file.list.%{name}.dirs
find . -type f -fprint $RPM_BUILD_DIR/file.list.%{name}.files.tmp
sed '/\/man\//s/$/.gz/g' $RPM_BUILD_DIR/file.list.%{name}.files.tmp > $RPM_BUILD_DIR/file.list.%{name}.files
find . -type l -fprint $RPM_BUILD_DIR/file.list.%{name}.libs
sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' $RPM_BUILD_DIR/file.list.%{name}.dirs > $RPM_BUILD_DIR/file.list.%{name}
sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.files >> $RPM_BUILD_DIR/file.list.%{name}
sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.libs >> $RPM_BUILD_DIR/file.list.%{name}

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/file.list.%{name}
rm -rf $RPM_BUILD_DIR/file.list.%{name}.libs
rm -rf $RPM_BUILD_DIR/file.list.%{name}.files
rm -rf $RPM_BUILD_DIR/file.list.%{name}.files.tmp
rm -rf $RPM_BUILD_DIR/file.list.%{name}.dirs

%files -f ../file.list.%{name}

%defattr(-,root,root,0755)


----- End forwarded message -----




More information about the Packman mailing list