rpms/rply/F-13 import.log, NONE, 1.1 rply.spec, NONE, 1.1 rply_CMakeLists.txt, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

mrceresa mrceresa at fedoraproject.org
Sat Mar 6 12:22:51 UTC 2010


Author: mrceresa

Update of /cvs/pkgs/rpms/rply/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24599/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rply.spec rply_CMakeLists.txt 
Log Message:
Initial import in F-13


--- NEW FILE import.log ---
rply-1_01-2_fc12:F-13:rply-1.01-2.fc12.src.rpm:1267878140


--- NEW FILE rply.spec ---
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 at 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 at gmail.com rply 1.01-1
- Initial RPM Release


--- NEW FILE rply_CMakeLists.txt ---
PROJECT(rply)
cmake_minimum_required(VERSION 2.6)

SET(RPLY_LIB_MAJOR_VERSION 1)
SET(RPLY_LIB_MINOR_VERSION 01)

add_library(rply SHARED rply.c )
set_target_properties( rply PROPERTIES
                              VERSION ${RPLY_LIB_MAJOR_VERSION}.${RPLY_LIB_MINOR_VERSION}
                              SOVERSION ${RPLY_LIB_MAJOR_VERSION}
                              ) 

include_directories( ${CMAKE_SOURCE_DIR} )
add_executable(rply_convert etc/convert.c )
add_executable(rply_dump etc/dump.c )
add_executable(rply_sconvert etc/sconvert.c )
target_link_libraries (rply_convert rply)
target_link_libraries (rply_dump rply)
target_link_libraries (rply_sconvert rply)

# Installs the header files
install(FILES rply.h DESTINATION include/rply)

# Installs the target file
install(TARGETS rply LIBRARY DESTINATION lib${LIB_SUFFIX})
install(TARGETS rply_convert RUNTIME DESTINATION bin)
install(TARGETS rply_dump RUNTIME DESTINATION bin)
install(TARGETS rply_sconvert RUNTIME DESTINATION bin)




Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rply/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	6 Mar 2010 05:34:26 -0000	1.1
+++ .cvsignore	6 Mar 2010 12:22:51 -0000	1.2
@@ -0,0 +1 @@
+rply-1.01.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rply/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	6 Mar 2010 05:34:26 -0000	1.1
+++ sources	6 Mar 2010 12:22:51 -0000	1.2
@@ -0,0 +1 @@
+694dca3449a3f5cefd4144137dfae332  rply-1.01.tar.gz



More information about the scm-commits mailing list