Compare commits
9 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9fc71d170b | ||
|
|
03ea84bb9a | ||
|
|
b64338227b | ||
|
|
88cd28788d | ||
|
|
3602092759 | ||
|
|
af1c8fb892 | ||
|
|
9a07827453 | ||
|
|
f612d14963 | ||
|
|
5ef79223b9 |
2 changed files with 42 additions and 15 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 3.5)
|
||||||
project(jxrlib C)
|
project(jxrlib C)
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
set(JXRLIB_MAJOR 0)
|
set(JXRLIB_MAJOR 0)
|
||||||
set(JXRLIB_MINOR 0)
|
set(JXRLIB_MINOR 0)
|
||||||
|
|
@ -30,9 +31,9 @@ add_library(jpegxr ${jpegxr_SRC} ${jpegxr_HDR})
|
||||||
set_target_properties(jpegxr PROPERTIES VERSION ${JXRLIB_LIB_VERSION} SOVERSION ${JXRLIB_SO_VERSION})
|
set_target_properties(jpegxr PROPERTIES VERSION ${JXRLIB_LIB_VERSION} SOVERSION ${JXRLIB_SO_VERSION})
|
||||||
|
|
||||||
install(TARGETS jpegxr
|
install(TARGETS jpegxr
|
||||||
RUNTIME DESTINATION bin
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
LIBRARY DESTINATION lib${LIB_SUFFIX}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
# JXR-GLUE Library
|
# JXR-GLUE Library
|
||||||
|
|
@ -44,25 +45,25 @@ set_target_properties(jxrglue PROPERTIES VERSION ${JXRLIB_LIB_VERSION} SOVERSION
|
||||||
target_link_libraries(jxrglue jpegxr m)
|
target_link_libraries(jxrglue jpegxr m)
|
||||||
|
|
||||||
install(TARGETS jxrglue
|
install(TARGETS jxrglue
|
||||||
RUNTIME DESTINATION bin
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
LIBRARY DESTINATION lib${LIB_SUFFIX}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
# JxrEncApp Executable
|
# JxrEncApp Executable
|
||||||
add_executable(JxrEncApp jxrencoderdecoder/JxrEncApp.c)
|
add_executable(JxrEncApp jxrencoderdecoder/JxrEncApp.c)
|
||||||
target_link_libraries(JxrEncApp jxrglue)
|
target_link_libraries(JxrEncApp jxrglue)
|
||||||
install(TARGETS JxrEncApp RUNTIME DESTINATION bin)
|
install(TARGETS JxrEncApp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
|
||||||
# JxrDecApp Executable
|
# JxrDecApp Executable
|
||||||
add_executable(JxrDecApp jxrencoderdecoder/JxrDecApp.c)
|
add_executable(JxrDecApp jxrencoderdecoder/JxrDecApp.c)
|
||||||
target_link_libraries(JxrDecApp jxrglue)
|
target_link_libraries(JxrDecApp jxrglue)
|
||||||
install(TARGETS JxrDecApp RUNTIME DESTINATION bin)
|
install(TARGETS JxrDecApp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
|
||||||
# Headers
|
# Headers
|
||||||
install(FILES jxrgluelib/JXRGlue.h jxrgluelib/JXRMeta.h jxrtestlib/JXRTest.h image/sys/windowsmediaphoto.h
|
install(FILES jxrgluelib/JXRGlue.h jxrgluelib/JXRMeta.h jxrtestlib/JXRTest.h image/sys/windowsmediaphoto.h
|
||||||
DESTINATION include/jxrlib
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jxrlib
|
||||||
)
|
)
|
||||||
install(DIRECTORY common/include/ DESTINATION include/jxrlib
|
install(DIRECTORY common/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jxrlib
|
||||||
FILES_MATCHING PATTERN "*.h"
|
FILES_MATCHING PATTERN "*.h"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
34
jxrlib.spec
34
jxrlib.spec
|
|
@ -1,11 +1,12 @@
|
||||||
Name: jxrlib
|
Name: jxrlib
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 24%{?dist}
|
Release: 32%{?dist}
|
||||||
Summary: Open source implementation of jpegxr
|
Summary: Open source implementation of jpegxr
|
||||||
|
|
||||||
# See JPEGXR_DPK_Spec_1.0.doc. Upstream request for plain text license file at
|
# See JPEGXR_DPK_Spec_1.0.doc. Upstream request for plain text license file at
|
||||||
# https://jxrlib.codeplex.com/workitem/13
|
# https://jxrlib.codeplex.com/workitem/13
|
||||||
License: BSD
|
# Automatically converted from old format: BSD - review is highly recommended.
|
||||||
|
License: LicenseRef-Callaway-BSD
|
||||||
URL: https://jxrlib.codeplex.com/
|
URL: https://jxrlib.codeplex.com/
|
||||||
Source0: http://jxrlib.codeplex.com/downloads/get/685249#/jxrlib_%(echo %{version} | tr . _).tar.gz
|
Source0: http://jxrlib.codeplex.com/downloads/get/685249#/jxrlib_%(echo %{version} | tr . _).tar.gz
|
||||||
# Use CMake to build to facilitate creation of shared libraries
|
# Use CMake to build to facilitate creation of shared libraries
|
||||||
|
|
@ -73,8 +74,8 @@ for file in `find . -type f -name '*.c' -or -name '*.h' -or -name '*.txt'`; do
|
||||||
touch -r $file $file.new && mv $file.new $file
|
touch -r $file $file.new && mv $file.new $file
|
||||||
done
|
done
|
||||||
|
|
||||||
%patch0 -p1
|
%patch -P0 -p1
|
||||||
%patch1 -p1
|
%patch -P1 -p1
|
||||||
|
|
||||||
# Remove shipped binaries
|
# Remove shipped binaries
|
||||||
rm -rf bin
|
rm -rf bin
|
||||||
|
|
@ -137,6 +138,31 @@ rm -f %{buildroot}%{mingw64_includedir}/jxrlib/guiddef.h
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-32
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 16 2025 Sandro Mani <manisandro@gmail.com> - 1.1-31
|
||||||
|
- Increase minimum cmake version to 3.5
|
||||||
|
- Port CMakeLists.txt to GNUInstallDirs
|
||||||
|
|
||||||
|
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-30
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 1.1-29
|
||||||
|
- convert license to SPDX
|
||||||
|
|
||||||
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-28
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-27
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-26
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-25
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-24
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-24
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue