mirror of
https://abf.rosa.ru/djam/libzrtpcpp.git
synced 2025-02-23 18:02:58 +00:00
Automatic import for version 2.0.0
This commit is contained in:
parent
590dce8018
commit
ad9e398d67
4 changed files with 21 additions and 35 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
"libzrtpcpp-1.4.6.tar.gz": 7c1eecfe01804b718e2c2549707b59a7503e981d
|
||||
"libzrtpcpp-2.0.0.tar.gz": c17ab61ca1bdde854b80ad6cb6456427244c3b67
|
||||
|
|
Binary file not shown.
BIN
libzrtpcpp-2.0.0.tar.gz.sig
Normal file
BIN
libzrtpcpp-2.0.0.tar.gz.sig
Normal file
Binary file not shown.
|
@ -1,25 +1,22 @@
|
|||
%define api 1.4
|
||||
%define major 0
|
||||
%define libname %mklibname zrtpcpp %{api} %{major}
|
||||
%define major 2
|
||||
%define libname %mklibname zrtpcpp %{major}
|
||||
%define develname %mklibname zrtpcpp -d
|
||||
|
||||
Summary: A ccrtp extension for zrtp/Zfone support
|
||||
Name: libzrtpcpp
|
||||
Version: 1.4.6
|
||||
Release: %mkrel 3
|
||||
Version: 2.0.0
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Group: System/Libraries
|
||||
URL: http://www.gnu.org/software/commoncpp/commoncpp.html
|
||||
Source0: ftp://ftp.gnu.org/gnu/cccrtp/libzrtpcpp-%{version}.tar.gz
|
||||
Source1: ftp://ftp.gnu.org/gnu/cccrtp/libzrtpcpp-%{version}.tar.gz.sig
|
||||
Requires: ccrtp >= 1.7.0
|
||||
Source0: ftp://ftp.gnu.org/gnu/ccrtp/libzrtpcpp-%{version}.tar.gz
|
||||
Source1: ftp://ftp.gnu.org/gnu/ccrtp/libzrtpcpp-%{version}.tar.gz.sig
|
||||
#Requires: ccrtp >= 1.7.0
|
||||
BuildRequires: ccrtp-devel >= 1.7.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libCommonC++-devel
|
||||
BuildRequires: libtool
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: cmake
|
||||
|
||||
%description
|
||||
This library is a GPL licensed extension to the GNU RTP Stack, ccrtp, that
|
||||
|
@ -59,45 +56,34 @@ building applications that use libzrtpcpp.
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
export LDFLAGS="-s"
|
||||
%configure2_5x
|
||||
%make LIBTOOL=%_bindir/libtool
|
||||
%cmake
|
||||
%make
|
||||
#LIBTOOL=%_bindir/libtool
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
pushd build
|
||||
%makeinstall_std
|
||||
rm -rf %{buildroot}/%{_infodir}
|
||||
|
||||
%if %mdkversion < 200900
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%if %mdkversion < 200900
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
popd
|
||||
#rm -rf %{buildroot}/%{_infodir}
|
||||
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING README
|
||||
%{_libdir}/*%{api}.so.%{major}*
|
||||
%{_libdir}/*.so.%{major}*
|
||||
|
||||
%files -n %{develname}
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/libzrtpcpp
|
||||
%{_includedir}/libzrtpcpp/*.h
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 21 2012 Dmitry Mikhirev <dmikhirev@mandriva.org> 2.0.0-1
|
||||
+ Revision: 799761
|
||||
- update to 2.0.0
|
||||
|
||||
* Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 1.4.6-3mdv2011.0
|
||||
+ Revision: 609791
|
||||
- rebuild
|
||||
|
@ -146,7 +132,7 @@ rm -rf %{buildroot}
|
|||
- new devel policy
|
||||
- new major
|
||||
|
||||
* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.9.0-3mdv2008.1
|
||||
* Fri Dec 21 2007 Olivier Blin <blino@mandriva.org> 0.9.0-3mdv2008.1
|
||||
+ Revision: 136572
|
||||
- restore BuildRoot
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue