[devel] Чудеса в решете... Zapping и иже с ним.

Igor Tertishny =?iso-8859-1?q?ilar_=CE=C1_altlinux=2Eru?=
Вт Июн 1 14:22:43 MSD 2004


>
> Спек сюда, пожалуйста.
>
> <skip>

прошу:

----------- следующая часть -----------
%define static 0

Name: rte
Version: 0.5.2
Release: alt1

Summary: Real Time Software Video/Audio Encoder library
Group: System/Libraries
License: GPL
Url: http://zapping.sf.net
Packager: Yehuda Ben-Yosef <ilar на altlinux.ru>

Source: %name-%version.tar.bz2

# Automatically added by buildreq on Wed Nov 05 2003
BuildRequires: doxygen gcc-c++ glibc-devel-static hostinfo libstdc++-devel

%description
Real Time Software Video/Audio Encoder library.

%package -n lib%name
Summary: Real Time Software Video/Audio Encoder library.
Group: System/Libraries

%description -n lib%name
Real Time Software Video/Audio Encoder library.

This package contains shared library needed to run applications using %name

%package -n lib%name-devel
Summary: rte library development files
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
rte library development files.

%if %static
%package -n lib%name-devel-static
Summary: rte static library
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
rte static library.
%endif

%prep
%setup -q 


%build
%add_optflags %optflags_shared
%__subst 's,strlcpy,strllcpy,g' ffmpeg/libav/*.{c,h}
%__subst 's,\.la\>,.so,' configure

%configure \
%if %static
	--enable-static 
%else
	--disable-static \
	--enable-shared 
%endif

#%make_build
make

%install
%makeinstall
#%set_verify_elf_method textrel=relaxed

%find_lang %name

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -n lib%name -f %name.lang
%_libdir/*.so.*
%doc README AUTHORS TODO

%files -n lib%name-devel
%_includedir/*
%_libdir/lib%name.so
%doc ChangeLog doc/html

%if %static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%changelog
* Sun May 23 2004 Yehuda Ben-Yosef <ilar на altlinux.ru> 0.5.2-alt1
- 0.5.2

* Sun Dec 14 2003 Yehuda Ben-Yosef <ilar на altlinux.ru> 0.5.1-alt4
- building without *.la

* Wed Nov 12 2003 Yehuda Ben-Yosef <ilar на altlinux.ru> 0.5.1-alt3
- new optflags

* Wed Nov 05 2003 Yehuda Ben-Yosef <ilar на altlinux.ru> 0.5.1-alt2
- new buildrequires and rebuilding in hasher

* Wed Feb 19 2003 Yehuda Ben-Yosef <ilar на altlinux.ru> 0.5.1-alt1
- 0.5.1

* Sun Oct 20 2002 Yuri N. Sedunov <aris на altlinux.ru> 0.5-alt1
- 0.5
- mp1e moved in separate package.

* Fri May 17 2002 Yuri N. Sedunov <aris на altlinux.ru> 0.4-alt1
- rte-0.4-ac_fixes.patch (PLD Team)
- First build for Sisyphus. 


Подробная информация о списке рассылки Devel