freesolid/FreeSOLID.spec.in
Xavier Del Campo Romero 94800874a8
Move contents to root directory after cvs2git
A CVS to Git conversion was made via the cvs2git tool [1], following the
documentation provided by SourceForge. [2]

These were the commands used to perform the conversion:

$ rsync -av rsync://freesolid.cvs.sourceforge.net/cvsroot/freesolid/\* cvs
$ cvs2git --blobfile=blob.dat --dumpfile=dump.dat \
    --username=xavi --default-eol=native \
    --encoding=utf8 --encoding=latin1 --fallback-encoding=ascii \
    cvs/backup
$ mkdir new_git
$ git init new_git
$ cat blob.dat dump.dat | git --git-dir=new_git/.git fast-import

After the conversion, two directories were available: CVSROOT and
freesolid, where the latter included the project files. Therefore,
CVSROOT was filtered out with git-filter-repo [3], and the contents of
the freesolid directory were moved to the root directory:

$ git-filter-repo -f --path freesolid/
$ git mv -- freesolid/* .

[1]: https://www.mcs.anl.gov/~jacob/cvs2svn/cvs2git.html
[2]: https://sourceforge.net/p/forge/documentation/CVS/
[3]: https://github.com/newren/git-filter-repo
2025-01-26 23:01:03 +01:00

22 lines
651 B
RPMSpec

# type "rpm -ba solid.spec" to create the package
Summary: 3D collision detection library
Name: FreeSOLID
Version: @FREESOLID_VERSION@
Release: 1
License: LGPL
Group: Development/Libraries
Source: FreeSOLID-@FREESOLID_VERSION@.tar.gz
URL: http://solid.sourceforge.net
%description
FreeSOLID is a library for collision detection of three-dimensional objects undergoing rigid motion and deformation. SOLID is designed to be used in interactive 3D graphics applications, and is especially suited for collision detection of objects and worlds described in VRML.
%prep
%setup -q
%build
./configure
make
%install
make install
%files
%defattr(-,root,root)