cosmetic changes

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
Peter Lemenkov 2025-07-18 19:46:24 +02:00
commit 4da6f1eba1
4 changed files with 13 additions and 20 deletions

5
.gitignore vendored
View file

@ -1,4 +1 @@
rply-1.01.tar.gz
/rply-1.1.1.tar.gz
/rply-1.1.2.tar.gz
/rply-1.1.4.tar.gz
/rply-*.tar.gz

View file

@ -12,7 +12,6 @@ BuildRequires: cmake >= 2.6.0
BuildRequires: gcc
BuildRequires: gcc-c++
%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
@ -27,6 +26,13 @@ efficient, and well tested. The highlights are:
* Input and output are buffered for efficiency;
* Available under the MIT license for added freedom.
%package devel
Summary: Libraries and headers for rply
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Rply Library Header Files and Link Libraries
%prep
%autosetup -p1
@ -52,24 +58,14 @@ iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/rplyConfig.cmake
%files
%doc LICENSE
%license LICENSE
%doc manual/*
%{_libdir}/*.so.*
%{_bindir}/*
%package devel
Summary: Libraries and headers for rply
Requires: %{name} = %{version}-%{release}
%description devel
Rply Library Header Files and Link Libraries
%files devel
%doc LICENSE
%license LICENSE
%dir %{_includedir}/%{name}/
%{_includedir}/%{name}/*
%{_libdir}/*.so

View file

@ -11,7 +11,7 @@ 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 )

View file

@ -8,7 +8,7 @@
# Save the compiler settings so another project can import them.
INCLUDE(${CMAKE_ROOT}/Modules/CMakeExportBuildSettings.cmake)
SET(RPLY_BUILD_SETTINGS_FILE ${rply_BINARY_DIR}/RPLYBuildSettings.cmake)
SET(RPLY_EXPORT_BUILD_SETTINGS_FILE
SET(RPLY_EXPORT_BUILD_SETTINGS_FILE
${CMAKE_INSTALL_PREFIX}/share/rply/cmake/RPLYBuildSettings.cmake
)
CMAKE_EXPORT_BUILD_SETTINGS(${RPLY_BUILD_SETTINGS_FILE})
@ -17,7 +17,7 @@ CMAKE_EXPORT_BUILD_SETTINGS(${RPLY_BUILD_SETTINGS_FILE})
CONFIGURE_FILE(${RPLY_CMAKE_DIR}Modules/RPLYConfig.cmake.in
${CMAKE_BINARY_DIR}/rplyConfig.cmake @ONLY IMMEDIATE)
INSTALL_FILES(/share/rply FILES
INSTALL_FILES(/share/rply FILES
${CMAKE_BINARY_DIR}/rplyConfig.cmake
# ${RPLY_BINARY_DIR}/RPLYBuildSettings.cmake
# ${RPLY_BINARY_DIR}/RPLYLibraryDepends.cmake