forked from pool/ldas-tools-framecpp
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a143bb7d46 | |||
| 988719ce5b | |||
| 1a18d03e48 | |||
| a4f2fd2639 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:539ae6ab7966f4e1379dfeb711d02e9edc087e1a8acab057af8a7405b16788a9
|
|
||||||
size 3096209
|
|
||||||
3
ldas-tools-framecpp-3.0.4.tar.gz
Normal file
3
ldas-tools-framecpp-3.0.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6c5769f5eeee5b5eace74d0e617527b03574af6c5c0a5e30b2ef60a63e05b599
|
||||||
|
size 1074828
|
||||||
41
ldas-tools-framecpp-cmake-no-boost-system.patch
Normal file
41
ldas-tools-framecpp-cmake-no-boost-system.patch
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
CMakeLists.txt | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
Index: ldas-tools-framecpp-3.0.4/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- ldas-tools-framecpp-3.0.4.orig/CMakeLists.txt
|
||||||
|
+++ ldas-tools-framecpp-3.0.4/CMakeLists.txt
|
||||||
|
@@ -289,11 +289,10 @@ find_package(
|
||||||
|
chrono
|
||||||
|
program_options
|
||||||
|
serialization
|
||||||
|
- system
|
||||||
|
filesystem
|
||||||
|
)
|
||||||
|
|
||||||
|
-foreach( component IN ITEMS filesystem system )
|
||||||
|
+foreach( component IN ITEMS filesystem)
|
||||||
|
string( TOUPPER "${component}" COMPONENT)
|
||||||
|
if ( NOT BOOST_LDFLAGS )
|
||||||
|
foreach( dir ${Boost_LIBRARY_DIRS} )
|
||||||
|
Index: ldas-tools-framecpp-3.0.4/src/OOInterface/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- ldas-tools-framecpp-3.0.4.orig/src/OOInterface/CMakeLists.txt
|
||||||
|
+++ ldas-tools-framecpp-3.0.4/src/OOInterface/CMakeLists.txt
|
||||||
|
@@ -252,7 +252,6 @@ framecpp_target_gtest(
|
||||||
|
LDADD
|
||||||
|
PUBLIC framecpp
|
||||||
|
PUBLIC Boost::serialization
|
||||||
|
- PUBLIC Boost::system
|
||||||
|
PUBLIC ${GTEST_LIBRARIES}
|
||||||
|
PRIVATE Threads::Threads
|
||||||
|
)
|
||||||
|
@@ -274,7 +273,6 @@ framecpp_target_gtest(
|
||||||
|
LDADD
|
||||||
|
PUBLIC framecpp
|
||||||
|
PUBLIC Boost::serialization
|
||||||
|
- PUBLIC Boost::system
|
||||||
|
PUBLIC ${GTEST_LIBRARIES}
|
||||||
|
PRIVATE Threads::Threads
|
||||||
|
)
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
Index: ldas-tools-framecpp-2.7.0/test/ChecksumValidator.cc
|
|
||||||
===================================================================
|
|
||||||
--- ldas-tools-framecpp-2.7.0.orig/test/ChecksumValidator.cc
|
|
||||||
+++ ldas-tools-framecpp-2.7.0/test/ChecksumValidator.cc
|
|
||||||
@@ -82,6 +82,7 @@ test_helper( const char* TestDir,
|
|
||||||
BOOST_CHECK( ( ret == 0 ) == Expected );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+ return retval;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
@@ -1,3 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 8 05:16:13 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Add ldas-tools-framecpp-cmake-no-boost-system.patch -- Drop
|
||||||
|
"system" from list of boost components searched in CMake.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 2 06:17:32 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Drop BuildRequires: libboost_system-devel: stub library, no
|
||||||
|
longer available or needed.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 29 13:44:28 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 3.0.4:
|
||||||
|
* Corrected initialization order
|
||||||
|
* Initialized all option variables for framecpp_verify (closes
|
||||||
|
#209)
|
||||||
|
* Restored CRC effecientcy (closes #164)
|
||||||
|
* Restore framecpp_compare (closes #165)
|
||||||
|
* Corrected handling of composite compression modes
|
||||||
|
* Corrected translation of compression mode flags going from
|
||||||
|
version 8 frame specification to version 9 frame specification
|
||||||
|
* Added ability to specify version of frame to write
|
||||||
|
- Enable LTO.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 18 21:14:23 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 3.0.2:
|
||||||
|
* Corrected handling of ZERO_SUPPRESS_OTHERWISE_GZIP (closes
|
||||||
|
computing/ldastools/LDAS_Tools#159)
|
||||||
|
* Added GetNDataValid function and other functions to
|
||||||
|
access/manipulate dataValid vector to FrVect (closes
|
||||||
|
computing/ldastools/LDAS_Tools#160)
|
||||||
|
* Modified function signature of
|
||||||
|
FrameCPP::Version9::FrVect::SetDataValid to accept const
|
||||||
|
CHAR_U* as first parameter (closes
|
||||||
|
computing/ldastools/LDAS_Tools#161)
|
||||||
|
- Changes from older versions: see
|
||||||
|
%{_docdir}/ldas-tools-framecpp-devel/ChangeLog.md
|
||||||
|
- Update shared lib names to keep up with upstream so versions,
|
||||||
|
and define macros to keep them all consistent across the spec.
|
||||||
|
- Use cmake macros to build; in addition pass
|
||||||
|
-DCMAKE_SKIP_INSTALL_RPATH=ON to avoid rpaths in installed
|
||||||
|
binaries.
|
||||||
|
- Disable builds on 32 bit systems where builds fail due to `long
|
||||||
|
long unsigned int` vs `size_t` types mismatch.
|
||||||
|
- Boost >= 1.67.0 is now required for builds.
|
||||||
|
- Drop ldas-tools-framecpp-no-return-from-nonvoid-func.patch:
|
||||||
|
fixed upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 27 09:49:40 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
Wed Apr 27 09:49:40 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ldas-tools-framecpp
|
# spec file for package ldas-tools-framecpp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,32 +16,48 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _lto_cflags %{nil}
|
%define shlib libframecpp16
|
||||||
|
%define shlib_c libframecppc4
|
||||||
|
%define shlib_cmn libframecppcmn12
|
||||||
|
%define shlib_fcpp3 libframecpp3-8
|
||||||
|
%define shlib_fcpp4 libframecpp4-10
|
||||||
|
%define shlib_fcpp6 libframecpp6-10
|
||||||
|
%define shlib_fcpp7 libframecpp7-6
|
||||||
|
%define shlib_fcpp8 libframecpp8-11
|
||||||
|
%define shlib_fcpp9 libframecpp9-0
|
||||||
|
|
||||||
Name: ldas-tools-framecpp
|
Name: ldas-tools-framecpp
|
||||||
Version: 2.7.0
|
Version: 3.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Toolkit providing C++ bindings for dealing with frame data
|
Summary: Toolkit providing C++ bindings for dealing with frame data
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Scientific/Physics
|
Group: Productivity/Scientific/Physics
|
||||||
URL: http://software.ligo.org
|
URL: https://software.ligo.org
|
||||||
Source: http://software.ligo.org/lscsoft/source/%{name}-%{version}.tar.gz
|
Source: https://software.ligo.org/lscsoft/source/%{name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM ldas-tools-framecpp-no-return-from-nonvoid-func.patch badshah400@gmail.com -- Fix a non-void function not returning any value
|
|
||||||
Patch0: ldas-tools-framecpp-no-return-from-nonvoid-func.patch
|
|
||||||
# PATCH-FIX-UPSTREAM ldas-tools-framecpp-fix-pkgconfig.patch badshah400@gmail.com -- Fix paths in pkgconfig file when absolute paths to LIBDIR and INCLUDEDIR are specified to cmake
|
# PATCH-FIX-UPSTREAM ldas-tools-framecpp-fix-pkgconfig.patch badshah400@gmail.com -- Fix paths in pkgconfig file when absolute paths to LIBDIR and INCLUDEDIR are specified to cmake
|
||||||
Patch1: ldas-tools-framecpp-fix-pkgconfig.patch
|
Patch1: ldas-tools-framecpp-fix-pkgconfig.patch
|
||||||
|
# PATCH-FIX-UPSTREAM ldas-tools-framecpp-cmake-no-boost-system.patch badshah400@gmail.com -- Drop "system" from list of boost components searched in CMake
|
||||||
|
Patch2: ldas-tools-framecpp-cmake-no-boost-system.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: libboost_headers-devel
|
BuildRequires: gtest
|
||||||
|
BuildRequires: libboost_chrono-devel
|
||||||
|
BuildRequires: libboost_filesystem-devel
|
||||||
|
BuildRequires: libboost_headers-devel >= 1.67.0
|
||||||
BuildRequires: libboost_program_options-devel
|
BuildRequires: libboost_program_options-devel
|
||||||
|
BuildRequires: libboost_serialization-devel
|
||||||
BuildRequires: memory-constraints
|
BuildRequires: memory-constraints
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(ldastoolsal)
|
BuildRequires: pkgconfig(ldastoolsal)
|
||||||
BuildRequires: pkgconfig(ldastoolscmake)
|
BuildRequires: pkgconfig(ldastoolscmake)
|
||||||
|
BuildRequires: pkgconfig(libzstd)
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
# Build failures for 32 bit archs: `long long unsigned int` vs `size_t` types mismatch
|
||||||
|
ExcludeArch: %{ix86} %{arm32}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LDAS (LIGO Data Analysis System) is a collection of libraries and executables
|
LDAS (LIGO Data Analysis System) is a collection of libraries and executables
|
||||||
@@ -50,90 +66,101 @@ tools abstraction toolkit for LDAS.
|
|||||||
|
|
||||||
This package provides C++ bindings for libframe for dealing with frame files.
|
This package provides C++ bindings for libframe for dealing with frame files.
|
||||||
|
|
||||||
%package -n libframecpp12
|
%package -n %{shlib}
|
||||||
Summary: C++ bindings for ldas-tools
|
Summary: C++ bindings for ldas-tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Conflicts: libframecpp
|
Conflicts: libframecpp
|
||||||
|
|
||||||
%description -n libframecpp12
|
%description -n %{shlib}
|
||||||
This package provides a shared library for %{name} - a toolkit providing C++
|
This package provides a shared library for %{name} - a toolkit providing C++
|
||||||
bindings for working with frame data.
|
bindings for working with frame data.
|
||||||
|
|
||||||
%package -n libframecpp3-6
|
%package -n %{shlib_fcpp3}
|
||||||
Summary: C++ bindings for ldas-tools
|
Summary: C++ bindings for ldas-tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Conflicts: libframecpp
|
Conflicts: libframecpp
|
||||||
|
|
||||||
%description -n libframecpp3-6
|
%description -n %{shlib_fcpp3}
|
||||||
This package provides a shared library for %{name} - a toolkit providing C++
|
This package provides a shared library for %{name} - a toolkit providing C++
|
||||||
bindings for working with frame data.
|
bindings for working with frame data.
|
||||||
|
|
||||||
%package -n libframecpp4-8
|
%package -n %{shlib_fcpp4}
|
||||||
Summary: C++ bindings for ldas-tools
|
Summary: C++ bindings for ldas-tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Conflicts: libframecpp
|
Conflicts: libframecpp
|
||||||
|
|
||||||
%description -n libframecpp4-8
|
%description -n %{shlib_fcpp4}
|
||||||
This package provides a shared library for %{name} - a toolkit providing C++
|
This package provides a shared library for %{name} - a toolkit providing C++
|
||||||
bindings for working with frame data.
|
bindings for working with frame data.
|
||||||
|
|
||||||
%package -n libframecpp6-8
|
%package -n %{shlib_fcpp6}
|
||||||
Summary: C++ bindings for ldas-tools
|
Summary: C++ bindings for ldas-tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Conflicts: libframecpp
|
Conflicts: libframecpp
|
||||||
|
|
||||||
%description -n libframecpp6-8
|
%description -n %{shlib_fcpp6}
|
||||||
This package provides a shared library for %{name} - a toolkit providing C++
|
This package provides a shared library for %{name} - a toolkit providing C++
|
||||||
bindings for working with frame data.
|
bindings for working with frame data.
|
||||||
|
|
||||||
%package -n libframecpp7-4
|
%package -n %{shlib_fcpp7}
|
||||||
Summary: C++ bindings for ldas-tools
|
Summary: C++ bindings for ldas-tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Conflicts: libframecpp
|
Conflicts: libframecpp
|
||||||
|
|
||||||
%description -n libframecpp7-4
|
%description -n %{shlib_fcpp7}
|
||||||
This package provides a shared library for %{name} - a toolkit providing C++
|
This package provides a shared library for %{name} - a toolkit providing C++
|
||||||
bindings for working with frame data.
|
bindings for working with frame data.
|
||||||
|
|
||||||
%package -n libframecpp8-7
|
%package -n %{shlib_fcpp8}
|
||||||
Summary: C++ bindings for ldas-tools
|
Summary: C++ bindings for ldas-tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Conflicts: libframecpp
|
Conflicts: libframecpp
|
||||||
|
|
||||||
%description -n libframecpp8-7
|
%description -n %{shlib_fcpp8}
|
||||||
This package provides a shared library for %{name} - a toolkit providing C++
|
This package provides a shared library for %{name} - a toolkit providing C++
|
||||||
bindings for working with frame data.
|
bindings for working with frame data.
|
||||||
|
|
||||||
%package -n libframecppc3
|
%package -n %{shlib_fcpp9}
|
||||||
|
Summary: C++ bindings for ldas-tools
|
||||||
|
Group: System/Libraries
|
||||||
|
Conflicts: libframecpp
|
||||||
|
|
||||||
|
%description -n %{shlib_fcpp9}
|
||||||
|
This package provides a shared library for %{name} - a toolkit providing C++
|
||||||
|
bindings for working with frame data.
|
||||||
|
|
||||||
|
%package -n %{shlib_c}
|
||||||
Summary: C bindings for ldas-tools
|
Summary: C bindings for ldas-tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libframecppc3
|
%description -n %{shlib_c}
|
||||||
This package provides a shared library for %{name} - a toolkit providing C
|
This package provides a shared library for %{name} - a toolkit providing C
|
||||||
bindings for working with frame data.
|
bindings for working with frame data.
|
||||||
|
|
||||||
%package -n libframecppcmn11
|
%package -n %{shlib_cmn}
|
||||||
Summary: C++ bindings for ldas-tools
|
Summary: C++ bindings for ldas-tools
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Conflicts: libframecpp
|
Conflicts: libframecpp
|
||||||
|
|
||||||
%description -n libframecppcmn11
|
%description -n %{shlib_cmn}
|
||||||
This package provides a shared library for %{name} - a toolkit providing C++
|
This package provides a shared library for %{name} - a toolkit providing C++
|
||||||
bindings for working with frame data.
|
bindings for working with frame data.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Headers and source files for developing with %{name}
|
Summary: Headers and source files for developing with %{name}
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{shlib_cmn} = %{version}-%{release}
|
||||||
|
Requires: %{shlib_c} = %{version}-%{release}
|
||||||
|
Requires: %{shlib_fcpp3} = %{version}-%{release}
|
||||||
|
Requires: %{shlib_fcpp4} = %{version}-%{release}
|
||||||
|
Requires: %{shlib_fcpp6} = %{version}-%{release}
|
||||||
|
Requires: %{shlib_fcpp7} = %{version}-%{release}
|
||||||
|
Requires: %{shlib_fcpp8} = %{version}-%{release}
|
||||||
|
Requires: %{shlib_fcpp9} = %{version}-%{release}
|
||||||
|
Requires: %{shlib} = %{version}-%{release}
|
||||||
Requires: libboost_program_options-devel
|
Requires: libboost_program_options-devel
|
||||||
Requires: libframecpp12 = %{version}-%{release}
|
|
||||||
Requires: libframecpp3-6 = %{version}-%{release}
|
|
||||||
Requires: libframecpp4-8 = %{version}-%{release}
|
|
||||||
Requires: libframecpp6-8 = %{version}-%{release}
|
|
||||||
Requires: libframecpp7-4 = %{version}-%{release}
|
|
||||||
Requires: libframecpp8-7 = %{version}-%{release}
|
|
||||||
Requires: libframecppc3 = %{version}-%{release}
|
|
||||||
Requires: libframecppcmn11 = %{version}-%{release}
|
|
||||||
Requires: pkgconfig(ldastoolsal)
|
Requires: pkgconfig(ldastoolsal)
|
||||||
|
Requires: pkgconfig(libzstd)
|
||||||
Requires: pkgconfig(openssl)
|
Requires: pkgconfig(openssl)
|
||||||
Requires: pkgconfig(zlib)
|
Requires: pkgconfig(zlib)
|
||||||
|
|
||||||
@@ -144,7 +171,7 @@ using %{name} - a toolkit providing C++ bindings for libframe.
|
|||||||
%package c-devel
|
%package c-devel
|
||||||
Summary: Headers and source files for developing with %{name}'s in C
|
Summary: Headers and source files for developing with %{name}'s in C
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libframecppc3 = %{version}-%{release}
|
Requires: %{shlib_c} = %{version}-%{release}
|
||||||
|
|
||||||
%description c-devel
|
%description c-devel
|
||||||
This package provides the headers and sources needed for developing programs
|
This package provides the headers and sources needed for developing programs
|
||||||
@@ -170,81 +197,69 @@ This package provides the API documentation for %{name} in HTML format.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%limit_build -m 2000
|
%limit_build -m 2000
|
||||||
# Out-of-source builds using %%cmake macros don't work
|
%cmake \
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
|
||||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
|
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON
|
||||||
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
|
%cmake_build
|
||||||
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
|
|
||||||
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
|
|
||||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \\\
|
|
||||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \\\
|
|
||||||
-DCMAKE_C_FLAGS="${CFLAGS:-%optflags} -DNDEBUG" \\\
|
|
||||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS:-%optflags} -DNDEBUG" \\\
|
|
||||||
-DCMAKE_Fortran_FLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}} -DNDEBUG" \\\
|
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \\\
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=ON \\\
|
|
||||||
-DBUILD_STATIC_LIBS:BOOL=OFF \\\
|
|
||||||
-DCMAKE_COLOR_MAKEFILE:BOOL=OFF \\\
|
|
||||||
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \\\
|
|
||||||
-DCMAKE_MODULES_INSTALL_DIR=%{_datadir}/cmake/Modules \\\
|
|
||||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 \\\
|
|
||||||
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \\\
|
|
||||||
.
|
|
||||||
make VERBOSE=1 %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%cmake_install
|
||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
find %{buildroot}%{_libdir} -name "*.a" -delete -print
|
find %{buildroot}%{_libdir} -name "*.a" -delete -print
|
||||||
|
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}%{_docdir}/%{name}/
|
||||||
|
%fdupes %{buildroot}%{_includedir}/framecpp/
|
||||||
|
|
||||||
%post -n libframecpp12 -p /sbin/ldconfig
|
%post -n %{shlib} -p /sbin/ldconfig
|
||||||
%postun -n libframecpp12 -p /sbin/ldconfig
|
%postun -n %{shlib} -p /sbin/ldconfig
|
||||||
%post -n libframecpp3-6 -p /sbin/ldconfig
|
%post -n %{shlib_c} -p /sbin/ldconfig
|
||||||
%postun -n libframecpp3-6 -p /sbin/ldconfig
|
%postun -n %{shlib_c} -p /sbin/ldconfig
|
||||||
%post -n libframecpp4-8 -p /sbin/ldconfig
|
%post -n %{shlib_cmn} -p /sbin/ldconfig
|
||||||
%postun -n libframecpp4-8 -p /sbin/ldconfig
|
%postun -n %{shlib_cmn} -p /sbin/ldconfig
|
||||||
%post -n libframecpp6-8 -p /sbin/ldconfig
|
%post -n %{shlib_fcpp3} -p /sbin/ldconfig
|
||||||
%postun -n libframecpp6-8 -p /sbin/ldconfig
|
%postun -n %{shlib_fcpp3} -p /sbin/ldconfig
|
||||||
%post -n libframecpp7-4 -p /sbin/ldconfig
|
%post -n %{shlib_fcpp4} -p /sbin/ldconfig
|
||||||
%postun -n libframecpp7-4 -p /sbin/ldconfig
|
%postun -n %{shlib_fcpp4} -p /sbin/ldconfig
|
||||||
%post -n libframecpp8-7 -p /sbin/ldconfig
|
%post -n %{shlib_fcpp6} -p /sbin/ldconfig
|
||||||
%postun -n libframecpp8-7 -p /sbin/ldconfig
|
%postun -n %{shlib_fcpp6} -p /sbin/ldconfig
|
||||||
%post -n libframecppc3 -p /sbin/ldconfig
|
%post -n %{shlib_fcpp7} -p /sbin/ldconfig
|
||||||
%postun -n libframecppc3 -p /sbin/ldconfig
|
%postun -n %{shlib_fcpp7} -p /sbin/ldconfig
|
||||||
%post -n libframecppcmn11 -p /sbin/ldconfig
|
%post -n %{shlib_fcpp8} -p /sbin/ldconfig
|
||||||
%postun -n libframecppcmn11 -p /sbin/ldconfig
|
%postun -n %{shlib_fcpp8} -p /sbin/ldconfig
|
||||||
|
%post -n %{shlib_fcpp9} -p /sbin/ldconfig
|
||||||
|
%postun -n %{shlib_fcpp9} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libframecpp12
|
%files -n %{shlib}
|
||||||
%{_libdir}/libframecpp.so.*
|
%{_libdir}/libframecpp.so.*
|
||||||
|
|
||||||
%files -n libframecppcmn11
|
%files -n %{shlib_cmn}
|
||||||
%{_libdir}/libframecppcmn.so.*
|
%{_libdir}/libframecppcmn.so.*
|
||||||
|
|
||||||
%files -n libframecpp3-6
|
%files -n %{shlib_fcpp3}
|
||||||
%{_libdir}/libframecpp3.so.*
|
%{_libdir}/libframecpp3.so.*
|
||||||
|
|
||||||
%files -n libframecpp4-8
|
%files -n %{shlib_fcpp4}
|
||||||
%{_libdir}/libframecpp4.so.*
|
%{_libdir}/libframecpp4.so.*
|
||||||
|
|
||||||
%files -n libframecpp6-8
|
%files -n %{shlib_fcpp6}
|
||||||
%{_libdir}/libframecpp6.so.*
|
%{_libdir}/libframecpp6.so.*
|
||||||
|
|
||||||
%files -n libframecpp7-4
|
%files -n %{shlib_fcpp7}
|
||||||
%{_libdir}/libframecpp7.so.*
|
%{_libdir}/libframecpp7.so.*
|
||||||
|
|
||||||
%files -n libframecpp8-7
|
%files -n %{shlib_fcpp8}
|
||||||
%{_libdir}/libframecpp8.so.*
|
%{_libdir}/libframecpp8.so.*
|
||||||
|
|
||||||
%files -n libframecppc3
|
%files -n %{shlib_fcpp9}
|
||||||
|
%{_libdir}/libframecpp9.so.*
|
||||||
|
|
||||||
|
%files -n %{shlib_c}
|
||||||
%{_libdir}/libframecppc.so.*
|
%{_libdir}/libframecppc.so.*
|
||||||
|
|
||||||
%files -n libframecppcmn11
|
|
||||||
%{_libdir}/libframecppcmn.so.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%license COPYING
|
||||||
|
%doc ChangeLog.md README
|
||||||
%{_includedir}/framecpp/
|
%{_includedir}/framecpp/
|
||||||
%{_libdir}/libframecpp.so
|
%{_libdir}/libframecpp.so
|
||||||
%{_libdir}/libframecppcmn.so
|
%{_libdir}/libframecppcmn.so
|
||||||
@@ -253,15 +268,18 @@ find %{buildroot}%{_libdir} -name "*.a" -delete -print
|
|||||||
%{_libdir}/libframecpp6.so
|
%{_libdir}/libframecpp6.so
|
||||||
%{_libdir}/libframecpp7.so
|
%{_libdir}/libframecpp7.so
|
||||||
%{_libdir}/libframecpp8.so
|
%{_libdir}/libframecpp8.so
|
||||||
|
%{_libdir}/libframecpp9.so
|
||||||
%exclude %{_libdir}/pkgconfig/framecppc.pc
|
%exclude %{_libdir}/pkgconfig/framecppc.pc
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%files c-devel
|
%files c-devel
|
||||||
|
%license COPYING
|
||||||
%{_includedir}/framecppc/
|
%{_includedir}/framecppc/
|
||||||
%{_libdir}/libframecppc.so
|
%{_libdir}/libframecppc.so
|
||||||
%{_libdir}/pkgconfig/framecppc.pc
|
%{_libdir}/pkgconfig/framecppc.pc
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
|
%license COPYING
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
|
|||||||
Reference in New Issue
Block a user