rpms/physfs/devel physfs.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Sep 23 18:45:00 UTC 2005


Author: spot

Update of /cvs/extras/rpms/physfs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31166/devel

Modified Files:
	.cvsignore sources 
Added Files:
	physfs.spec 
Log Message:
auto-import physfs-1.0.1-2 on branch devel from physfs-1.0.1-2.src.rpm


--- NEW FILE physfs.spec ---
Name:		physfs
Version:	1.0.1
Release:	2%{?dist}
License:	BSD
Group:		System Environment/Libraries
Summary:	Library to provide abstract access to various archives
URL:		http://www.icculus.org/physfs/
Source0:	http://www.icculus.org/physfs/downloads/physfs-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	doxygen, zlib-devel, readline-devel

%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 libraries and headers for physfs
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}

%description devel
This package contains the libraries and headers necessary for developing
packages with physfs functionality.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}
doxygen

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3
install -m0644 docs/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

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

%files devel
%defattr(-,root,root,-)
%doc docs/html/ docs/latex/
%{_includedir}/physfs.h
%{_libdir}/*.a
%{_libdir}/*.so
%{_mandir}/man3/*

%changelog
* Fri Sep 23 2005 Tom "spot" Callaway <tcallawa at redhat.com> 1.0.1-2
- add docs for devel

* Fri Aug 19 2005 Tom "spot" Callaway <tcallawa at redhat.com> 1.0.1-1
- initial package for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/physfs/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Sep 2005 18:44:15 -0000	1.1
+++ .cvsignore	23 Sep 2005 18:44:58 -0000	1.2
@@ -0,0 +1 @@
+physfs-1.0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/physfs/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Sep 2005 18:44:15 -0000	1.1
+++ sources	23 Sep 2005 18:44:58 -0000	1.2
@@ -0,0 +1 @@
+d0bd118c6b55fb1e020fe982d6ec6957  physfs-1.0.1.tar.gz




More information about the fedora-extras-commits mailing list