Package libphysfs: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | %define uname physfs Name: libphysfs Version: 3.0.2 Release: alt1 Summary: PhysicsFS file abstraction layer for games License: zlib license Group: System/Libraries Url: http://www.icculus.org/physfs/ Provides: %uname = %version Source0: http://icculus.org/physfs/downloads/physfs-%version.tar.gz # Automatically added by buildreq on Sat Oct 24 2009 BuildRequires: doxygen gcc-c++ libncurses-devel libreadline-devel zlib-devel cmake %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-%release Provides: %uname-devel = %version %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 -n %uname-%version %build %cmake_insource \ -DPHYSFS_BUILD_STATIC:BOOL=OFF %make_build doxygen %install %makeinstall_std %files %doc docs/CHANGELOG.txt docs/CREDITS.txt docs/INSTALL.txt LICENSE.txt docs/TODO.txt %_libdir/*so.*[0-9] %files devel %_bindir/test_physfs %doc docs/* %_libdir/*.so %_libdir/pkgconfig/physfs.pc %_includedir/physfs.h %changelog * Mon Apr 15 2019 Grigory Ustinov <grenka@altlinux.org> 3.0.2-alt1 - Build new version. - Cleaned changelog. * Wed Nov 07 2018 Grigory Ustinov <grenka@altlinux.org> 3.0.1-alt1 - Build new version. * Thu Jul 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.2-alt1.1 - Fixed build * Tue Feb 22 2011 Fr. Br. George <george@altlinux.ru> 2.0.2-alt1 - Autobuild version bump to 2.0.2 * Thu Sep 30 2010 Fr. Br. George <george@altlinux.ru> 2.0.1-alt1 - Autobuild version bump to 2.0.1 - (Closes: #10289, #19309) * Thu Sep 30 2010 Fr. Br. George <george@altlinux.ru> 2.0.0-alt1 - Version highly updated * Sat Oct 24 2009 Igor Zubkov <icesik@altlinux.org> 1.0.2-alt1 - 1.0.1 -> 1.0.2 - remove internal zlib before build * Fri Dec 30 2005 ALT QA Team Robot <qa-robot@altlinux.org> 1.0.1-alt1.1 - Rebuilt with libreadline.so.5. * Mon Oct 10 2005 Sergey Pinaev <dfo@altlinux.ru> 1.0.1-alt1 - 1.0.1 - build with system zlib - .spec cleanup - move "test_physfs" binary to -devel package * Tue Sep 28 2004 Sergey Pinaev <dfo@altlinux.ru> 1.0.0-alt1 - first build for ALT |