[4812] | 1 | Name: rply |
---|
[8119] | 2 | Version: 1.1.3 |
---|
[4812] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: A library to read and write PLY files |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | License: MIT |
---|
[6011] | 7 | URL: http://www.tecgraf.puc-rio.br/~diego/professional/%{name}/ |
---|
| 8 | Source0: http://www.tecgraf.puc-rio.br/~diego/professional/%{name}/%{name}-%{version}.tar.gz |
---|
[4812] | 9 | Source1: rply_CMakeLists.txt |
---|
| 10 | Source2: RPLYConfig.cmake.in |
---|
| 11 | Source3: rply_cmake_export_cmakelists.txt |
---|
| 12 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 13 | |
---|
| 14 | BuildRequires: cmake >= 2.6.0 |
---|
| 15 | |
---|
[8119] | 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
[4812] | 18 | |
---|
| 19 | %description |
---|
| 20 | RPly is a library that lets applications read and write PLY files. |
---|
| 21 | The PLY file format is widely used to store geometric information, such as 3D |
---|
| 22 | models, but is general enough to be useful for other purposes. |
---|
| 23 | |
---|
| 24 | RPly is easy to use, well documented, small, free, open-source, ANSI C, |
---|
| 25 | efficient, and well tested. The highlights are: |
---|
| 26 | |
---|
| 27 | * A callback mechanism that makes PLY file input straightforward; |
---|
| 28 | * Support for the full range of numeric formats; |
---|
| 29 | * Binary (big and little endian) and text modes are fully supported; |
---|
| 30 | * Input and output are buffered for efficiency; |
---|
| 31 | * Available under the MIT license for added freedom. |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Libraries and headers for rply |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | Rply Library Header Files and Link Libraries |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
| 45 | |
---|
| 46 | # Add CMakeLists.txt file |
---|
| 47 | cp %{SOURCE1} CMakeLists.txt |
---|
| 48 | |
---|
| 49 | # Add CMake detection modules |
---|
| 50 | mkdir -p CMake/export |
---|
| 51 | mkdir -p CMake/Modules |
---|
| 52 | cp %{SOURCE2} CMake/Modules/ |
---|
| 53 | cp %{SOURCE3} CMake/export/CMakeLists.txt |
---|
| 54 | |
---|
| 55 | %build |
---|
| 56 | %cmake -DCMAKE_BUILD_TYPE:STRING="Release"\ |
---|
| 57 | -DCMAKE_VERBOSE_MAKEFILE=ON . |
---|
| 58 | |
---|
| 59 | make %{?_smp_mflags} |
---|
| 60 | |
---|
| 61 | %install |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %clean |
---|
| 67 | rm -rf $RPM_BUILD_ROOT |
---|
| 68 | |
---|
| 69 | %post -p /sbin/ldconfig |
---|
| 70 | |
---|
| 71 | %postun -p /sbin/ldconfig |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %files |
---|
| 75 | %defattr(-,root,root,-) |
---|
| 76 | %doc LICENSE |
---|
| 77 | %doc manual/* |
---|
| 78 | %{_libdir}/*.so.* |
---|
| 79 | %{_bindir}/* |
---|
| 80 | |
---|
| 81 | %files devel |
---|
| 82 | %defattr(-,root,root) |
---|
| 83 | %dir %{_includedir}/%{name}/ |
---|
| 84 | %{_includedir}/%{name}/* |
---|
| 85 | %{_libdir}/*.so |
---|
| 86 | %dir %{_datadir}/%{name}/ |
---|
| 87 | %{_datadir}/%{name}/rplyConfig.cmake |
---|
| 88 | |
---|
| 89 | %changelog |
---|
[8119] | 90 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.3-1 |
---|
| 91 | - new upstream release |
---|
| 92 | |
---|
[6011] | 93 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.1-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[4812] | 96 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.01-1 |
---|
| 97 | - initial build for Vine Linux |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> |
---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 102 | |
---|
| 103 | * Sun Mar 21 2010 Mario Ceresa mrceresa@gmail.com |
---|
| 104 | - Added CMake modules to detect the package |
---|
| 105 | |
---|
| 106 | * Thu Mar 04 2010 Mario Ceresa mrceresa@gmail.com |
---|
| 107 | - Fixed problems detected in https://bugzilla.redhat.com/show_bug.cgi?id=570258#c2 |
---|
| 108 | |
---|
| 109 | * Wed Mar 03 2010 Mario Ceresa mrceresa@gmail.com |
---|
| 110 | - Initial RPM Release |
---|