- Initial import
This commit is contained in:
parent
1577eda784
commit
5bcbc99d9c
5 changed files with 115 additions and 0 deletions
82
rply.spec
Normal file
82
rply.spec
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
Name: rply
|
||||
Version: 1.01
|
||||
Release: 2%{?dist}
|
||||
Summary: A library to read and write PLY files
|
||||
Group: Development/Libraries
|
||||
License: MIT
|
||||
URL: http://www.tecgraf.puc-rio.br/~diego/professional/rply/
|
||||
Source0: http://www.tecgraf.puc-rio.br/~diego/professional/rply/rply-1.01.tar.gz
|
||||
Source1: rply_CMakeLists.txt
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: cmake >= 2.6.0
|
||||
|
||||
|
||||
%description
|
||||
RPly is a library that lets applications read and write PLY files.
|
||||
The PLY file format is widely used to store geometric information, such as 3D
|
||||
models, but is general enough to be useful for other purposes.
|
||||
|
||||
RPly is easy to use, well documented, small, free, open-source, ANSI C,
|
||||
efficient, and well tested. The highlights are:
|
||||
|
||||
* A callback mechanism that makes PLY file input straightforward;
|
||||
* Support for the full range of numeric formats;
|
||||
* Binary (big and little endian) and text modes are fully supported;
|
||||
* Input and output are buffered for efficiency;
|
||||
* Available under the MIT license for added freedom.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# Add CMakeLists.txt file
|
||||
cp %{SOURCE1} CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE:STRING="Release"\
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON .
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
%doc manual/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_bindir}/*
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and headers for rply
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
|
||||
Rply Library Header Files and Link Libraries
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/%{name}/
|
||||
%{_includedir}/%{name}/*
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Thu Mar 04 2010 Mario Ceresa mrceresa@gmail.com rply 1.01-2
|
||||
- Fixed problems detected in https://bugzilla.redhat.com/show_bug.cgi?id=570258#c2
|
||||
|
||||
* Wed Mar 03 2010 Mario Ceresa mrceresa@gmail.com rply 1.01-1
|
||||
- Initial RPM Release
|
||||
Loading…
Add table
Add a link
Reference in a new issue