Репозитории ALT
S: | 1.2.8-alt3.git9a629d6 |
5.1: | 1.2.7-alt2 |
4.1: | 1.2.7-alt1 |
4.0: | 1.2.7-alt1 |
3.0: | 1.2.5-alt2 |
Группа :: Система/Библиотеки
Пакет: SDL_net
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable static
%define lib_name lib%name
%if_enabled static
%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
%endif
Name: SDL_net
Version: 1.2.8
Release: alt3.git9a629d6
Summary: Simple DirectMedia Layer - network
License: Zlib
Group: System/Libraries
Url: http://www.libsdl.org/projects/SDL_net/
# https://github.com/libsdl-org/SDL_net/tree/SDL-1.2
Source0: %name-%version.tar.gz
Packager: Igor Zubkov <icesik at altlinux.org>
# Automatically added by buildreq on Sat Apr 07 2012
# optimized out: libstdc++-devel
BuildRequires: gcc-c++ glibc-devel-static libSDL-devel
%description
This is an example portable network library for use with SDL. Note that this
isn't necessarily how you would want to write a chat program, but it
demonstrates how to use the basic features of the network and GUI libraries.
%package -n %lib_name
Summary: Main library for %name
Group: System/Libraries
%description -n %lib_name
This package contains the library needed to run programs dynamically
linked with %name.
%package -n %lib_name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %lib_name = %version-%release
%description -n %lib_name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.
%if_enabled static
%package -n %lib_name-devel-static
Summary: Static libraries for developing programs that will use %name
Group: Development/C
Requires: %lib_name-devel = %version-%release
%description -n %lib_name-devel-static
This package contains the static libraries that programmers will need to develop
applications which will use %name.
%endif
%prep
%setup -q
%build
touch NEWS AUTHORS ChangeLog
%autoreconf
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
%if_disabled static
rm -f %buildroot%_libdir/*.a
%endif
%files -n %lib_name
%doc CHANGES COPYING README
%_libdir/*.so.*
%files -n %lib_name-devel
%_includedir/SDL/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%if_enabled static
%files -n %lib_name-devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%define lib_name lib%name
%if_enabled static
%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
%endif
Name: SDL_net
Version: 1.2.8
Release: alt3.git9a629d6
Summary: Simple DirectMedia Layer - network
License: Zlib
Group: System/Libraries
Url: http://www.libsdl.org/projects/SDL_net/
# https://github.com/libsdl-org/SDL_net/tree/SDL-1.2
Source0: %name-%version.tar.gz
Packager: Igor Zubkov <icesik at altlinux.org>
# Automatically added by buildreq on Sat Apr 07 2012
# optimized out: libstdc++-devel
BuildRequires: gcc-c++ glibc-devel-static libSDL-devel
%description
This is an example portable network library for use with SDL. Note that this
isn't necessarily how you would want to write a chat program, but it
demonstrates how to use the basic features of the network and GUI libraries.
%package -n %lib_name
Summary: Main library for %name
Group: System/Libraries
%description -n %lib_name
This package contains the library needed to run programs dynamically
linked with %name.
%package -n %lib_name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %lib_name = %version-%release
%description -n %lib_name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.
%if_enabled static
%package -n %lib_name-devel-static
Summary: Static libraries for developing programs that will use %name
Group: Development/C
Requires: %lib_name-devel = %version-%release
%description -n %lib_name-devel-static
This package contains the static libraries that programmers will need to develop
applications which will use %name.
%endif
%prep
%setup -q
%build
touch NEWS AUTHORS ChangeLog
%autoreconf
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
%if_disabled static
rm -f %buildroot%_libdir/*.a
%endif
%files -n %lib_name
%doc CHANGES COPYING README
%_libdir/*.so.*
%files -n %lib_name-devel
%_includedir/SDL/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%if_enabled static
%files -n %lib_name-devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь