Группа :: Система/Библиотеки
Пакет: libshout-idjc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define major 3
%define libname libshout-idjc%{major}
%define devname libshout-idjc-devel
Name: libshout-idjc
Version: 2.4.3
Release: alt1_2
Summary: Libshout with extensions for IDJC
Group: System/Libraries
License: LGPL-2.1+
URL: https://sourceforge.net/projects/libshoutidjc.idjc.p/
Source0: http://downloads.sf.net/libshoutidjc.idjc.p/libshout-idjc-%{version}.tar.gz
BuildRequires: pkgconfig(theora)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(speex)
BuildRequires: pkgconfig(openssl)
Source44: import.info
%description
This is a modified version of libshout, with extensions for IDJC.
%package -n %{libname}
Summary: Libshout with extensions for IDJC
Group: System/Libraries
%description -n %{libname}
This is a modified version of libshout, with extensions for IDJC.
%package -n %{devname}
Summary: Development files for libshout with extensions for IDJC
Group: Development/C
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Provides: shout-idjc-devel = %{version}-%{release}
%description -n %{devname}
Libshout-idjc is a modified version of libshout, with extensions for IDJC.
This package contains the development files for the library.
%prep
%setup -q
%build
autoreconf -vfi
%configure --disable-static
%make_build
%install
%makeinstall_std
rm -rf %{buildroot}%{_datadir}/doc/libshout-idjc/COPYING
# we don't have ckport tool ATM
rm -rf %{buildroot}%{_libdir}/ckport/
%files -n %{libname}
%doc --no-dereference COPYING
%docdir %{_datadir}/doc/libshout-idjc
%doc %{_datadir}/doc/libshout-idjc/
%{_libdir}/libshout-idjc.so.%{major}*
%files -n %{devname}
%docdir %{_datadir}/doc/libshout-idjc
%doc %{_datadir}/doc/libshout-idjc/
%{_includedir}/shoutidjc
%{_libdir}/libshout-idjc.so
%{_libdir}/pkgconfig/shout-idjc.pc
%changelog
…
Полный changelog можно просмотреть здесь
%define _localstatedir %{_var}
%define major 3
%define libname libshout-idjc%{major}
%define devname libshout-idjc-devel
Name: libshout-idjc
Version: 2.4.3
Release: alt1_2
Summary: Libshout with extensions for IDJC
Group: System/Libraries
License: LGPL-2.1+
URL: https://sourceforge.net/projects/libshoutidjc.idjc.p/
Source0: http://downloads.sf.net/libshoutidjc.idjc.p/libshout-idjc-%{version}.tar.gz
BuildRequires: pkgconfig(theora)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(speex)
BuildRequires: pkgconfig(openssl)
Source44: import.info
%description
This is a modified version of libshout, with extensions for IDJC.
%package -n %{libname}
Summary: Libshout with extensions for IDJC
Group: System/Libraries
%description -n %{libname}
This is a modified version of libshout, with extensions for IDJC.
%package -n %{devname}
Summary: Development files for libshout with extensions for IDJC
Group: Development/C
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Provides: shout-idjc-devel = %{version}-%{release}
%description -n %{devname}
Libshout-idjc is a modified version of libshout, with extensions for IDJC.
This package contains the development files for the library.
%prep
%setup -q
%build
autoreconf -vfi
%configure --disable-static
%make_build
%install
%makeinstall_std
rm -rf %{buildroot}%{_datadir}/doc/libshout-idjc/COPYING
# we don't have ckport tool ATM
rm -rf %{buildroot}%{_libdir}/ckport/
%files -n %{libname}
%doc --no-dereference COPYING
%docdir %{_datadir}/doc/libshout-idjc
%doc %{_datadir}/doc/libshout-idjc/
%{_libdir}/libshout-idjc.so.%{major}*
%files -n %{devname}
%docdir %{_datadir}/doc/libshout-idjc
%doc %{_datadir}/doc/libshout-idjc/
%{_includedir}/shoutidjc
%{_libdir}/libshout-idjc.so
%{_libdir}/pkgconfig/shout-idjc.pc
%changelog
…
Полный changelog можно просмотреть здесь