Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37625184
en ru br
Репозитории ALT
5.1: 1.0.2-alt1
4.1: 1.0.1-alt1.1
4.0: 1.0.1-alt1.1
3.0: 1.0.0-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: physfs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define version 1.0.1
%define release alt1
%define name physfs
%define prefix /usr

Summary: PhysicsFS file abstraction layer for games
Name: %{name}
Version: %{version}
Release: %{release}.1
Prefix: %{prefix}
License: zlib license
Group: System/Libraries
URL: http://www.icculus.org/physfs/
Source: http://icculus.org/physfs/downloads/%{name}-%{version}.tar.gz
BuildRequires: doxygen, libreadline-devel, libncurses-devel, zlib-devel
Requires: zlib

%description
PhysicsFS is a library to provide abstract access to various archives.
It is intended for use in video games, and the design was somewhat inspired
by Quake 3's file subsystem. The programmer defines a "write directory" on
the physical filesystem. No file writing done through the PhysicsFS API can
leave that write directory, for security. For example, an embedded scripting
language cannot write outside of this path if it uses PhysFS for all of its
I/O, which means that untrusted scripts can run more safely. Symbolic links
can be disabled as well, for added safety. For file reading, the programmer
lists directories and archives that form a "search path". Once the search
path is defined, it becomes a single, transparent hierarchical filesystem.
This makes for easy access to ZIP files in the same way as you access a file
directly on the disk, and it makes it easy to ship a new archive that will
override a previous archive on a per-file basis. Finally, PhysicsFS gives
you platform-abstracted means to determine if CD-ROMs are available, the
user's home directory, where in the real filesystem your program is running,
etc.

%package devel
Summary: Development headers, libraries, and documentation for PhysicsFS
Group: Development/C
Requires: %{name} = %{version}, libreadline, libncurses

%description devel
PhysicsFS is a library to provide abstract access to various archives.
This package contains the development headers, libraries, and documentaion to
build programs using PhysicsFS.

%prep
%setup -q

%build
%configure
%make_build
doxygen

%install
%makeinstall

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc CHANGELOG CREDITS INSTALL LICENSE TODO zlib_license_change.txt
%{_libdir}/*so.*

%files devel
%defattr(-,root,root)
%{_bindir}/test_physfs
%doc docs/*
%{_libdir}/*.so
%{_includedir}/physfs.h

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin