Группа :: Система/Библиотеки
Пакет: libvidcap
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires: gcc-c++
# END SourceDeps(oneline)
Group: System/Libraries
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libvidcap
Version: 0.2.1
Release: alt1_26
Summary: Cross-platform video capture library
License: LGPLv2+
URL: http://libvidcap.sourceforge.net/
Source0: http://downloads.sourceforge.net/libvidcap/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libcpupower-devel
Source44: import.info
%description
A cross-platform library for capturing video from webcams and other video
capture devices.
%package devel
Group: Development/Other
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: pkg-config
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%autoreconf
%configure --disable-static
%make_build PTHREAD_LIBS=-lpthread
%install
make install INSTALL="%{_bindir}/install -p" DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files
%doc COPYING.LESSER
%{_libdir}/libvidcap.so.*
%files devel
%{_libdir}/libvidcap.so
%{_libdir}/pkgconfig/vidcap.pc
%{_includedir}/vidcap/
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires: gcc-c++
# END SourceDeps(oneline)
Group: System/Libraries
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libvidcap
Version: 0.2.1
Release: alt1_26
Summary: Cross-platform video capture library
License: LGPLv2+
URL: http://libvidcap.sourceforge.net/
Source0: http://downloads.sourceforge.net/libvidcap/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libcpupower-devel
Source44: import.info
%description
A cross-platform library for capturing video from webcams and other video
capture devices.
%package devel
Group: Development/Other
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: pkg-config
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%autoreconf
%configure --disable-static
%make_build PTHREAD_LIBS=-lpthread
%install
make install INSTALL="%{_bindir}/install -p" DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files
%doc COPYING.LESSER
%{_libdir}/libvidcap.so.*
%files devel
%{_libdir}/libvidcap.so
%{_libdir}/pkgconfig/vidcap.pc
%{_includedir}/vidcap/
%changelog
…
Полный changelog можно просмотреть здесь