Группа :: Система/Библиотеки
Пакет: t4k_common
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: System/Libraries
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %_var
Name: t4k_common
Version: 0.1.1
Release: alt5.gita6c6b15
Url: https://github.com/tux4kids/t4kcommon
Summary: Library for Tux4Kids applications
License: GPLv3+
Source0: %name-%version.tar
BuildRequires: gcc-c++ libSDL_ttf-devel
BuildRequires: libSDL-devel libSDL_mixer-devel libSDL_image-devel
BuildRequires: libSDL_pango-devel libSDL_net-devel librsvg-devel librsvg-gir-devel libcairo-devel
BuildRequires: libpng-devel libxml2-devel doxygen libespeak-devel
%package devel
Group: Development/Other
Summary: Development files for the Tux4Kids library
Requires: %name = %version-%release
Requires: pkgconfig
%description
library of code shared by TuxMath, TuxType, and
possibly other Tux4Kids apps in the future.
%description devel
library of code shared by TuxMath, TuxType, and
possibly other Tux4Kids apps in the future.
These are the development files.
%prep
%setup
%build
%autoreconf
%configure
%make_build
doxygen
rm -f doxygen/html/installdox
%install
INSTALL='install -p' make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%_libdir/*.la
rm -f $RPM_BUILD_ROOT%_libdir/*.a
rm -f $RPM_BUILD_ROOT%_includedir/t4k_scandir.h
chmod 755 $RPM_BUILD_ROOT%_libdir/lib%name.so
%files
%doc COPYING README
%_libdir/lib%name.so.*
%_datadir/%name/
%files devel
%doc doxygen/html/
%_libdir/lib%name.so
%_includedir/t4k*.h
%_libdir/pkgconfig/t4k_common.pc
%changelog
…
Полный changelog можно просмотреть здесь
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %_var
Name: t4k_common
Version: 0.1.1
Release: alt5.gita6c6b15
Url: https://github.com/tux4kids/t4kcommon
Summary: Library for Tux4Kids applications
License: GPLv3+
Source0: %name-%version.tar
BuildRequires: gcc-c++ libSDL_ttf-devel
BuildRequires: libSDL-devel libSDL_mixer-devel libSDL_image-devel
BuildRequires: libSDL_pango-devel libSDL_net-devel librsvg-devel librsvg-gir-devel libcairo-devel
BuildRequires: libpng-devel libxml2-devel doxygen libespeak-devel
%package devel
Group: Development/Other
Summary: Development files for the Tux4Kids library
Requires: %name = %version-%release
Requires: pkgconfig
%description
library of code shared by TuxMath, TuxType, and
possibly other Tux4Kids apps in the future.
%description devel
library of code shared by TuxMath, TuxType, and
possibly other Tux4Kids apps in the future.
These are the development files.
%prep
%setup
%build
%autoreconf
%configure
%make_build
doxygen
rm -f doxygen/html/installdox
%install
INSTALL='install -p' make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%_libdir/*.la
rm -f $RPM_BUILD_ROOT%_libdir/*.a
rm -f $RPM_BUILD_ROOT%_includedir/t4k_scandir.h
chmod 755 $RPM_BUILD_ROOT%_libdir/lib%name.so
%files
%doc COPYING README
%_libdir/lib%name.so.*
%_datadir/%name/
%files devel
%doc doxygen/html/
%_libdir/lib%name.so
%_includedir/t4k*.h
%_libdir/pkgconfig/t4k_common.pc
%changelog
…
Полный changelog можно просмотреть здесь