Репозитории ALT
S: | 1.8.5-alt4 |
5.1: | 1.8.5-alt1 |
4.1: | 1.8.4-alt7 |
4.0: | 1.8.4-alt7 |
3.0: | 1.8.4-alt2 |
Группа :: Разработка/C++
Пакет: plib
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: plib
Version: 1.8.4
Release: alt2
Summary: Steve's Portable Game Library
License: LGPL
Group: Development/C++
Url: http://plib.sourceforge.net/
Source: http://plib.sourceforge.net/dist/%name-%version.tar.bz2
Patch: plib-1.8.4-alt-build.patch
# Automatically added by buildreq on Wed Oct 02 2002
BuildRequires: XFree86-devel XFree86-libs gcc-c++ glibc-devel-static libGLU-devel libglut-devel libstdc++-devel
%description
Write games and other realtime interactive applications that are 100% portable
across a wide range of hardware and operating systems.
%package devel
Summary: Development libraries and header files for %name
Group: Development/C++
Requires: %name = %version-%release
%description devel
Development libraries and header files for %name
%package devel-static
Summary: Static libraries for %name
Group: Development/C++
Requires: %name-devel = %version-%release
%description devel-static
Static libraries for %name
%prep
%setup -q
%patch -p1
for i in `find . -type f -name 'Makefile.am'`
do
%__subst 's/lib_LIBRARIES\(.*\).a/lib_LTLIBRARIES\1.la/' $i
%__subst 's/\(.*\)_a_SOURCES/\1_la_SOURCES/' $i
done
%__subst 's/libplibsl.a/libplibsl.la/' src/sl/Makefile.am
%__subst 's/AC_PROG_RANLIB/AC_PROG_LIBTOOL/' configure.in
ln -s /usr/share/automake-1.4/mkinstalldirs
libtoolize --force
aclocal
automake
autoconf
find . -type d|sed 's/\(.*\)/\1\/Makefile/' - |xargs automake
%build
%configure
%make_build
%install
%makeinstall includedir=$RPM_BUILD_ROOT/usr/include/plib
%files
%doc README
%_libdir/*.so.*
%files devel
#%_libdir/*.la
%_libdir/*.so
%_includedir/%name
%files devel-static
%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.8.4
Release: alt2
Summary: Steve's Portable Game Library
License: LGPL
Group: Development/C++
Url: http://plib.sourceforge.net/
Source: http://plib.sourceforge.net/dist/%name-%version.tar.bz2
Patch: plib-1.8.4-alt-build.patch
# Automatically added by buildreq on Wed Oct 02 2002
BuildRequires: XFree86-devel XFree86-libs gcc-c++ glibc-devel-static libGLU-devel libglut-devel libstdc++-devel
%description
Write games and other realtime interactive applications that are 100% portable
across a wide range of hardware and operating systems.
%package devel
Summary: Development libraries and header files for %name
Group: Development/C++
Requires: %name = %version-%release
%description devel
Development libraries and header files for %name
%package devel-static
Summary: Static libraries for %name
Group: Development/C++
Requires: %name-devel = %version-%release
%description devel-static
Static libraries for %name
%prep
%setup -q
%patch -p1
for i in `find . -type f -name 'Makefile.am'`
do
%__subst 's/lib_LIBRARIES\(.*\).a/lib_LTLIBRARIES\1.la/' $i
%__subst 's/\(.*\)_a_SOURCES/\1_la_SOURCES/' $i
done
%__subst 's/libplibsl.a/libplibsl.la/' src/sl/Makefile.am
%__subst 's/AC_PROG_RANLIB/AC_PROG_LIBTOOL/' configure.in
ln -s /usr/share/automake-1.4/mkinstalldirs
libtoolize --force
aclocal
automake
autoconf
find . -type d|sed 's/\(.*\)/\1\/Makefile/' - |xargs automake
%build
%configure
%make_build
%install
%makeinstall includedir=$RPM_BUILD_ROOT/usr/include/plib
%files
%doc README
%_libdir/*.so.*
%files devel
#%_libdir/*.la
%_libdir/*.so
%_includedir/%name
%files devel-static
%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь