Compare commits

...

9 Commits

Author SHA1 Message Date
97a4c5e82c libphonenumber: initial build 2024-05-07 16:57:24 +06:00
bcec667ee3 rx-libjpeg-turbo: import from SRPM; update to 3.0.2 2024-05-07 16:56:52 +06:00
3f95aa6f39 rx-libwebp: update to 1.4.0 2024-05-07 16:55:51 +06:00
a52bcd1cac mlt: upgrade to 7.22.0 2024-05-06 11:53:38 +06:00
4c51aa0b31 mlt: import from SRPM 2024-05-06 11:19:29 +06:00
7fae650041 reorganize repo 2024-04-26 09:59:30 +06:00
400ba8b991 update .gitignore 2024-04-26 09:59:06 +06:00
359a2f7d3e spdlog: import from epel9 2024-04-26 09:38:44 +06:00
7267ded3f7 playerctl: initial build 2024-04-26 09:11:47 +06:00
374 changed files with 3483 additions and 2039 deletions

9
.gitignore vendored
View File

@ -15,9 +15,10 @@ temp/*
*_old
*.bak
*.old
*.src
/a/*
/b/*
lxqt2/*
KF5/*
KF6/*
vkd3d-proton/*
base/lxqt2/*
extras/KF5/*
extras/KF6/*
extras/vkd3d-proton/*

View File

@ -0,0 +1,176 @@
diff -up libphonenumber-8.13.27/cpp/cmake/config.cmake.in.3213 libphonenumber-8.13.27/cpp/cmake/config.cmake.in
--- libphonenumber-8.13.27/cpp/cmake/config.cmake.in.3213 2023-12-07 01:58:20.000000000 -0500
+++ libphonenumber-8.13.27/cpp/cmake/config.cmake.in 2024-01-16 09:52:09.617694098 -0500
@@ -2,8 +2,8 @@
include(CMakeFindDependencyMacro)
-find_dependency(absl)
-find_dependency(Protobuf)
+find_dependency(absl CONFIG)
+find_dependency(Protobuf CONFIG)
include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake")
check_required_components("@PROJECT_NAME@")
diff -up libphonenumber-8.13.27/cpp/CMakeLists.txt.3213 libphonenumber-8.13.27/cpp/CMakeLists.txt
--- libphonenumber-8.13.27/cpp/CMakeLists.txt.3213 2024-01-16 09:51:54.097535141 -0500
+++ libphonenumber-8.13.27/cpp/CMakeLists.txt 2024-01-16 10:04:50.017558082 -0500
@@ -100,7 +100,8 @@ if (USE_ALTERNATE_FORMATS)
endif ()
# Find all the required libraries and programs.
-find_package(absl)
+# Use "CONFIG" as there is no built-in cmake module for absl.
+find_package(absl CONFIG REQUIRED)
if(NOT absl_FOUND)
# Overide abseil install rules for subprojects
@@ -169,14 +170,24 @@ if (USE_RE2)
find_required_library (RE2 re2/re2.h re2 "Google RE2")
endif ()
-if (USE_PROTOBUF_LITE)
- find_required_library (PROTOBUF google/protobuf/message_lite.h protobuf-lite
- "Google Protocol Buffers")
- check_library_version (PC_PROTOBUF protobuf-lite>=2.4)
+find_package(Protobuf CONFIG)
+if(NOT Protobuf_FOUND)
+ find_package(Protobuf REQUIRED)
+endif()
+
+if (${Protobuf_VERSION} VERSION_LESS "3.21.0.0")
+ if (USE_PROTOBUF_LITE)
+ set (PROTOBUF_LIB ${Protobuf_LITE_LIBRARIES})
+ else ()
+ set (PROTOBUF_LIB ${Protobuf_LIBRARIES})
+ endif ()
+# find_required_program (PROTOC protoc "Google Protocol Buffers compiler (protoc)")
else ()
- find_required_library (PROTOBUF google/protobuf/message_lite.h protobuf
- "Google Protocol Buffers")
- check_library_version (PC_PROTOBUF protobuf>=2.4)
+ if (USE_PROTOBUF_LITE)
+ set (PROTOBUF_LIB protobuf::libprotobuf-lite)
+ else ()
+ set (PROTOBUF_LIB protobuf::libprotobuf)
+ endif ()
endif ()
find_required_library (ICU_UC unicode/uchar.h icuuc "ICU")
@@ -192,9 +203,6 @@ if (USE_ICU_REGEXP OR BUILD_GEOCODER)
list (APPEND ICU_LIB ${ICU_I18N_LIB})
endif ()
-find_required_program (PROTOC protoc
- "Google Protocol Buffers compiler (protoc)")
-
if (REGENERATE_METADATA)
find_required_program (JAVA java
"Java Runtime Environment")
@@ -220,24 +228,39 @@ endif ()
set (RESOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../resources")
set (
- PROTOBUF_SOURCES "${RESOURCES_DIR}/phonemetadata.proto"
- "${RESOURCES_DIR}/phonenumber.proto"
+ PROTO_FILES "${RESOURCES_DIR}/phonemetadata.proto"
+ "${RESOURCES_DIR}/phonenumber.proto"
)
-set (
- PROTOBUF_OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonemetadata.pb.cc"
- "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonemetadata.pb.h"
- "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonenumber.pb.cc"
- "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonenumber.pb.h"
-)
+if (${Protobuf_VERSION} VERSION_LESS "3.21.0.0")
+ set (
+ PROTOBUF_OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonemetadata.pb.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonemetadata.pb.h"
+ "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonenumber.pb.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/phonenumber.pb.h"
+ )
-add_custom_command (
- COMMAND ${PROTOC_BIN} --cpp_out=${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/
- --proto_path=${RESOURCES_DIR} ${PROTOBUF_SOURCES}
+# COMMAND ${PROTOC_BIN}
+ add_custom_command (
+ COMMAND ${Protobuf_PROTOC_EXECUTABLE}
+ ARGS --cpp_out=${CMAKE_CURRENT_SOURCE_DIR}/src/phonenumbers/ --proto_path=${RESOURCES_DIR} ${PROTO_FILES}
+ VERBATIM
- OUTPUT ${PROTOBUF_OUTPUT}
- DEPENDS ${PROTOBUF_SOURCES}
-)
+ OUTPUT ${PROTOBUF_OUTPUT}
+ DEPENDS ${PROTO_FILES}
+ )
+else ()
+ set (PROTOBUF_OUTPUT "")
+ add_library (proto-objects OBJECT ${PROTO_FILES})
+ target_link_libraries (proto-objects PUBLIC protobuf::libprotobuf)
+ set (PROTO_BINARY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src")
+ target_include_directories (proto-objects PUBLIC "$<BUILD_INTERFACE:${PROTO_BINARY_DIR}>")
+ protobuf_generate (
+ TARGET proto-objects
+ IMPORT_DIRS "${RESOURCES_DIR}"
+ PROTOC_OUT_DIR "${PROTO_BINARY_DIR}/phonenumbers"
+ )
+endif ()
if (BUILD_GEOCODER)
# Geocoding data cpp file generation
@@ -267,9 +290,7 @@ set (
"src/phonenumbers/base/strings/string_piece.cc"
"src/phonenumbers/default_logger.cc"
"src/phonenumbers/logger.cc"
- "src/phonenumbers/phonemetadata.pb.cc" # Generated by Protocol Buffers.
"src/phonenumbers/phonenumber.cc"
- "src/phonenumbers/phonenumber.pb.cc" # Generated by Protocol Buffers.
"src/phonenumbers/phonenumberutil.cc"
"src/phonenumbers/regex_based_matcher.cc"
"src/phonenumbers/regexp_cache.cc"
@@ -282,6 +303,10 @@ set (
"src/phonenumbers/utf/unilib.cc"
)
+if (${Protobuf_VERSION} VERSION_LESS "3.21.0.0")
+ list (APPEND SOURCES ${PROTOBUF_OUTPUT})
+endif ()
+
if (BUILD_GEOCODER)
set (
GEOCODING_SOURCES
@@ -290,7 +315,6 @@ if (BUILD_GEOCODER)
"src/phonenumbers/geocoding/geocoding_data.cc"
"src/phonenumbers/geocoding/mapping_file_provider.cc"
"src/phonenumbers/geocoding/phonenumber_offline_geocoder.cc"
- "src/phonenumbers/phonenumber.pb.h" # Forces proto buffer generation.
)
endif ()
@@ -450,6 +474,10 @@ if (APPLE)
list (APPEND LIBRARY_DEPS ${COREFOUNDATION_LIB} ${FOUNDATION_LIB})
endif ()
+if (${Protobuf_VERSION} VERSION_GREATER_EQUAL "3.21.0.0")
+ list (APPEND LIBRARY_DEPS proto-objects)
+endif ()
+
#----------------------------------------------------------------
# Build libraries
#----------------------------------------------------------------
@@ -601,7 +629,11 @@ endif()
# Install built libraries
#----------------------------------------------------------------
-set (BUILT_LIBS)
+if (${Protobuf_VERSION} VERSION_GREATER_EQUAL "3.21.0.0")
+ set (BUILT_LIBS proto-objects)
+else ()
+ set (BUILT_LIBS)
+endif ()
set(targets_export_name "${PROJECT_NAME}-targets")
if (BUILD_STATIC_LIB)

View File

@ -0,0 +1,314 @@
Name: libphonenumber
Version: 8.13.35
Release: 1%{?dist}
Summary: Library to handle international phone numbers
# The project itself is ASL 2.0 but contains files from Chromium which are BSD and MIT.
License: ASL 2.0 and BSD and MIT
URL: https://github.com/google/libphonenumber/
Source0: https://github.com/google/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch1: libphonenumber-8.13.27-new-protobuf-cmake-logic.patch
BuildRequires: abseil-cpp-devel
BuildRequires: boost1.81-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gtest-devel
%ifarch %{java_arches}
BuildRequires: java-devel
%endif
BuildRequires: pkgconfig(icu-io)
BuildRequires: protobuf25-compiler
BuildRequires: protobuf25-devel
BuildRequires: re2-devel
%description
Google's common C++ library for parsing, formatting, storing and validating
international phone numbers.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: abseil-cpp-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
# Gtest 1.13.0 requires at least C++14; C++17 matches how abseil-cpp is built;
# simply setting -DCMAKE_CXX_STANDARD=17 does not override this in practice.
sed -r -i 's/\b(CMAKE_CXX_STANDARD[[:blank:]]+)11\b/\117/' \
cpp/CMakeLists.txt tools/cpp/CMakeLists.txt
%build
pushd cpp
%ifarch %{java_arches}
%cmake \
%else
touch src/phonenumbers/test_metadata.h
%cmake -DREGENERATE_METADATA=OFF \
%endif
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
%cmake_build
popd
%install
pushd cpp
%cmake_install
find %{buildroot} -name '*.a' -delete
find %{buildroot} -name '*.la' -delete
popd
%files
%doc cpp/README
%license cpp/LICENSE
%{_libdir}/libgeocoding.so.8*
%{_libdir}/libphonenumber.so.8*
%files devel
%{_includedir}/phonenumbers
%{_libdir}/libgeocoding.so
%{_libdir}/libphonenumber.so
%{_libdir}/cmake/libphonenumber/
%changelog
* Fri Apr 19 2024 Packit <hello@packit.dev> - 8.13.35-1
- Update to version 8.13.35
- Resolves: rhbz#2273675
* Mon Mar 25 2024 Packit <hello@packit.dev> - 8.13.33-1
- [maven-release-plugin] prepare release v8.13.33 (Kavitha Keshava)
- Metadata updates for release 8.13.33 (#3414) (kkeshava)
- Update README.md (#3411) (mandlil)
- Mandlil maven update (#3410) (mandlil)
- Resolves rhbz#2269223
* Sun Feb 25 2024 Packit <hello@packit.dev> - 8.13.31-1
- [maven-release-plugin] prepare release v8.13.31 (Mandali Reddy)
- Revert "Kkeshava maven update (#3403)" (#3405) (kkeshava)
- Update java runtime version to support App Engine (#3404) (mandlil)
- Kkeshava maven update (#3403) (kkeshava)
- Metadata updates for release 8.13.31 (#3402) (kkeshava)
- Mandlil maven update (#3399) (mandlil)
- Update README.md (#3400) (mandlil)
- Resolves rhbz#2265930
* Fri Feb 09 2024 Packit <hello@packit.dev> - 8.13.30-1
- [maven-release-plugin] prepare release v8.13.30 (Mandali Reddy)
- Metadata updates for release 8.13.30 (#3398) (mandlil)
- Update README.md (#3397) (kkeshava)
- Kkeshava maven update (#3396) (kkeshava)
- Resolves rhbz#2263484
* Sun Feb 04 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 8.13.29-2
- Rebuilt for abseil-cpp-20240116.0
* Fri Feb 02 2024 Packit <hello@packit.dev> - 8.13.29-1
- [maven-release-plugin] prepare release v8.13.29 (Kavitha Keshava)
- Metadata updates for release 8.13.29 (#3395) (kkeshava)
- Mandlil patch 2 (#3393) (mandlil)
- Update README.md (#3386) (mandlil)
- Mandlil maven update (#3385) (mandlil)
- Resolves rhbz#2258931
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 8.13.28-7
- Rebuild for ICU 74
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.13.28-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 8.13.28-5
- Always build as position-independent code (PIC)
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.13.28-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 18 2024 Sérgio Basto <sergio@serjux.com> - 8.13.28-3
- add support to protobuf 3.25.1
* Thu Jan 18 2024 Jonathan Wakely <jwakely@redhat.com> - 8.13.28-2
- Rebuild for Boost 1.83.0 again
* Thu Jan 18 2024 Packit <hello@packit.dev> - 8.13.28-1
- [maven-release-plugin] prepare release v8.13.28 (Mandali Reddy)
- Metadata updates for release 8.13.28 (#3383) (mandlil)
- Update README.md (#3356) (mandlil)
- Mandlil maven update (#3348) (mandlil)
* Thu Jan 18 2024 Jonathan Wakely <jwakely@redhat.com> - 8.13.27-2
- Rebuilt for Boost 1.83
* Tue Dec 19 2023 Sérgio M. Basto <sergio@serjux.com> - 8.13.27-1
- [maven-release-plugin] prepare release v8.13.27 (Mandali Reddy)
- Metadata updates for release 8.13.27 (#3346) (rohininidhi)
- Replace uses of `int64` with `int64_t` and similar integer type aliases (#3345) (mandlil)
- Update method phonenumberutil.format to return 'empty' instead of value '0'. (#3305) (mandlil)
- Update README.md (#3304) (kkeshava)
- Kkeshava maven update1 (#3303) (kkeshava)
* Sat Sep 02 2023 Sérgio Basto <sergio@serjux.com> - 8.13.19-2
- We need to build it in the side tag
* Sat Sep 02 2023 Sérgio Basto <sergio@serjux.com> - 8.13.19-1
- Update libphonenumber to 8.13.19 (#2221771)
* Wed Aug 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 8.13.15-4
- Rebuilt for abseil-cpp 20230802.0
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.13.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 8.13.15-2
- Rebuilt for ICU 73.2
* Fri Jun 23 2023 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 8.13.15-1
- Update to 8.13.15 (#2209210)
* Tue May 16 2023 Sérgio Basto <sergio@serjux.com> - 8.13.11-1
- Update libphonenumber to 8.13.11
* Thu Mar 23 2023 Sérgio Basto <sergio@serjux.com> - 8.12.57-8
- Rebuilt for abseil-cpp
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 8.12.57-7
- Rebuilt for Boost 1.81
* Mon Jan 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 8.12.57-6
- Correctly build as C++17 instead of C++11 for gtest-1.13.0, which needs C++14
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.57-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 8.12.57-4
- Rebuild for ICU 72
* Tue Dec 06 2022 Sérgio Basto <sergio@serjux.com> - 8.12.57-3
- (#1893839#c53) use ifarch %%{java_arches} to build on i686
* Mon Dec 05 2022 Sérgio Basto <sergio@serjux.com> - 8.12.57-2
- (#2150896) Add requires abseil-cpp-devel in the -devel package
* Thu Nov 03 2022 Sérgio Basto <sergio@serjux.com> - 8.12.57-1
- Update libphonenumber to 8.12.57 (#1893839)
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 8.12.11-15
- Rebuilt for ICU 71.1
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.11-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 8.12.11-13
- Rebuilt for Boost 1.78
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.11-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Nov 05 2021 Adrian Reber <adrian@lisas.de> - 8.12.11-11
- Rebuilt for protobuf 3.19.0
* Tue Oct 26 2021 Adrian Reber <adrian@lisas.de> - 8.12.11-10
- Rebuilt for protobuf 3.18.1
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 8.12.11-9
- Rebuilt for Boost 1.76
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 8.12.11-7
- Rebuild for ICU 69
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 8.12.11-6
- Rebuild for ICU 69
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 8.12.11-5
- Rebuilt for removed libstdc++ symbol (#1937698)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 8.12.11-3
- Rebuilt for Boost 1.75
* Wed Jan 13 16:57:48 CET 2021 Adrian Reber <adrian@lisas.de> - 8.12.11-2
- Rebuilt for protobuf 3.14
* Fri Oct 30 2020 Nikhil Jha <hi@nikhiljha.com> - 8.12.11-1
- Update to 8.12.11
* Thu Sep 24 2020 Adrian Reber <adrian@lisas.de> - 8.12.8-2
- Rebuilt for protobuf 3.13
* Thu Aug 20 2020 Torrey Sorensen <sorensentor@tuta.io> - 8.12.8-1
- Update to 8.12.8
* Wed Aug 05 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 8.12.7-1
- Update to 8.12.7
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.3-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Jun 14 2020 Adrian Reber <adrian@lisas.de> - 8.12.3-3
- Rebuilt for protobuf 3.12
* Sat May 30 2020 Jonathan Wakely <jwakely@redhat.com> - 8.12.3-2
- Rebuilt for Boost 1.73
* Tue May 19 2020 Nikhil Jha <hi@nikhiljha.com> - 8.12.3-1
- Release 8.12.3
* Tue Mar 31 2020 Nikhil Jha <hi@nikhiljha.com> - 8.12.1-1
- Rebuild for ICU 67
* Tue Mar 31 2020 Nikhil Jha <hi@nikhiljha.com> - 8.12.1-1
- Release 8.12.1
* Wed Mar 25 2020 Nikhil Jha <hi@nikhiljha.com> - 8.12.0-1
- Release 8.12.0
* Fri Dec 27 2019 Anthony Messina <amessina@messinet.com> - 8.11.1-1
- Release 8.11.1
* Sat Oct 05 2019 Anthony Messina <amessina@messinet.com> - 8.10.20-1
- Release 8.10.20
* Wed Jul 31 2019 Anthony Messina <amessina@messinet.com> - 8.10.15-1
- Release 8.10.15
* Fri Apr 19 2019 Anthony Messina <amessina@messinet.com> - 8.10.10-1
- Release 8.10.10
* Sat Feb 16 2019 Anthony Messina <amessina@messinet.com> - 8.10.5-1
- Release 8.10.5
* Fri Oct 26 2018 Anthony Messina <amessina@messinet.com> - 8.9.16-1
- Release 8.9.16
* Sun Aug 19 2018 Anthony Messina <amessina@messinet.com> - 8.9.11-1
- Release 8.9.11
- Refs #100 https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
- Refs #103 https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
* Sat Apr 28 2018 Anthony Messina <amessina@messinet.com> - 8.9.4-1
- Release 8.9.4
* Sat Apr 07 2018 Anthony Messina <amessina@messinet.com> - 8.9.3-1
- Release 8.9.3
- https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets: Refs #100
* Wed Jan 17 2018 Anthony Messina <amessina@messinet.com> - 8.8.9-1
- Initial RPM based on Gil Cattaneo's spec file
https://gil.fedorapeople.org/libphonenumber.spec
https://bugzilla.redhat.com/show_bug.cgi?id=1200115

777
base/mlt/mlt.spec Normal file
View File

@ -0,0 +1,777 @@
%if 0%{?rhel} >= 8
%bcond_with ruby
%bcond_with php
%bcond_with opencv
%else
%bcond_without ruby
%bcond_without php
%bcond_without opencv
%endif
# needs nonfree/ndi-sdk
%bcond_with ndi
#globals for https://github.com/mltframework/mlt/commit/ea973eb65c8ca79a859028a9e008360836ca4941
%global gitdate 20171213
%global commit ea973eb65c8ca79a859028a9e008360836ca4941
%global shortcommit %(c=%{commit}; echo ${c:0:7})
#global gver .%%{gitdate}git%%{shortcommit}
Name: mlt
Version: 7.22.0
Release: 1%{?dist}
Summary: Toolkit for broadcasters, video editors, media players, transcoders
# mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
# but is not used in Linux
License: GPLv3 and LGPLv2+
URL: http://www.mltframework.org/
Source0: https://github.com/mltframework/mlt/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: sed
BuildRequires: frei0r-devel
BuildRequires: opencv-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtsvg-devel
BuildRequires: qt5-qt3d-devel
BuildRequires: SDL-devel
BuildRequires: SDL2-devel
%if 0%{?rhel} >= 8
BuildRequires: SDL_image-devel
BuildRequires: SDL2_image-devel
%endif
BuildRequires: gtk2-devel
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: libatomic
BuildRequires: libogg-devel
#Deprecated dv and kino modules are not built.
#https://github.com/mltframework/mlt/commit/9d082192a4d79157e963fd7f491da0f8abab683f
#BuildRequires: libdv-devel
BuildRequires: libvorbis-devel
BuildRequires: libsamplerate-devel
BuildRequires: ladspa-devel
BuildRequires: libxml2-devel
BuildRequires: sox-devel
# verion 3.0.11 needed for php7 IIRC
BuildRequires: swig >= 3.0.11
BuildRequires: python3-devel
BuildRequires: freetype-devel
BuildRequires: libexif-devel
BuildRequires: fftw-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: alsa-lib-devel
BuildRequires: vid.stab-devel
BuildRequires: movit-devel
BuildRequires: eigen3-devel
BuildRequires: libebur128-devel
BuildRequires: rubberband-devel
BuildRequires: ffmpeg-devel
BuildRequires: xine-lib-devel
%if %{with ndi}
BuildRequires: libndi-devel
BuildRequires: ndi-sdk-devel
%endif
%if %{with opencv}
BuildRequires: opencv-devel
%endif
BuildRequires: pkgconfig(libarchive)
%if %{with ruby}
BuildRequires: ruby-devel
BuildRequires: ruby
%else
Obsoletes: mlt-ruby < %{version}-%{release}
%endif
%if %{with php}
BuildRequires: php-devel
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
%endif
Provides: mlt-freeworld = %{version}-%{release}
Obsoletes: mlt-freeworld < %{version}-%{release}
%description
MLT is an open source multimedia framework, designed and developed for
television broadcasting.
It provides a toolkit for broadcasters, video editors,media players,
transcoders, web streamers and many more types of applications. The
functionality of the system is provided via an assortment of ready to use
tools, xml authoring components, and an extendible plug-in based API.
%package devel
Summary: Libraries, includes to develop applications with %{name}
License: LGPLv2+
Requires: pkgconfig
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains the header files and static libraries for
building applications which use %{name}.
%package -n python3-mlt
%{?python_provide:%python_provide python3-mlt}
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Python package to work with MLT
%description -n python3-mlt
This module allows to work with MLT using python 3.
%package ruby
Requires: %{name}%{_isa} = %{version}-%{release}
Summary: Ruby package to work with MLT
%description ruby
This module allows to work with MLT using ruby.
%package php
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: PHP package to work with MLT
%description php
This module allows to work with MLT using PHP.
%prep
%autosetup -p1 -n %{name}-%{version}
chmod 644 src/modules/qt/kdenlivetitle_wrapper.cpp
chmod 644 src/modules/kdenlive/filter_freeze.c
chmod -x demo/demo
# mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
# be sure that aren't used
rm -r src/win32/
%build
%cmake -DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
%{?with_php: -DSWIG_PHP:BOOL=ON} \
-DSWIG_PYTHON:BOOL=ON \
%if 0%{?rhel} == 8
-DPython3_INCLUDE_DIRS=%{_includedir}/python3.6m -DPython3_EXECUTABLE=%{_bindir}/python3.6 \
%endif
%if 0%{?rhel} > 8
-DMOD_GLAXNIMATE:BOOL=ON \
%endif
%{?with_ruby: -DSWIG_RUBY:BOOL=ON} \
%{!?with_freeworld: -DMOD_XINE:BOOL=OFF} \
%{?with_opencv: -DMOD_OPENCV:BOOL=ON} \
%{?with_ndi: -DMOD_NDI:BOOL=ON -DNDI_SDK_INCLUDE_PATH=%{_includedir}/ndi-sdk -DNDI_SDK_LIBRARY_PATH=%{_libdir} -DNDI_INCLUDE_DIR=%{_includedir}/ndi-sdk -DNDI_LIBRARY_DIR=%{_libdir}}
%cmake_build
%install
%cmake_install
%if %{with php}
install -d %{buildroot}%{_sysconfdir}/php.d
cat > %{buildroot}%{_sysconfdir}/php.d/mlt.ini << 'EOF'
; Enable mlt extension module
extension=mlt.so
EOF
%endif
# maintain binary /usr/bin/mlt-melt
mv %{buildroot}%{_bindir}/melt %{buildroot}%{_bindir}/mlt-melt
# Remove rpath file '/usr/bin/melt-7' contains an invalid rpath '/home/martin/rpmbuild/BUILD/mlt-7.0.1/x86_64-redhat-linux-gnu/out/lib' in [/home/martin/rpmbuild/BUILD/mlt-7.0.1/x86_64-redhat-linux-gnu/out/lib]
#chrpath --delete %{buildroot}%{_bindir}/melt-7
%check
# verify pkg-config version sanity
export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
test "$(pkg-config --modversion mlt-framework-7)" = "%{version}"
test "$(pkg-config --modversion mlt++-7)" = "%{version}"
%ldconfig_scriptlets
%files
%doc AUTHORS NEWS README*
%doc demo/
%license COPYING GPL
%{_bindir}/mlt-melt
%{_bindir}/melt-7
%{_libdir}/mlt-7/
%{_libdir}/libmlt++-7.so.*
%{_libdir}/libmlt-7.so.*
%{_datadir}/mlt-7/
%{_mandir}/man1/melt-7.1*
%if %{with ndi}
%exclude %{_libdir}/mlt-7/libmltndi.so
%files ndi
%{_libdir}/mlt-7/libmltndi.so
%endif
%files -n python3-mlt
%{python3_sitearch}/mlt7.py*
%{python3_sitearch}/_mlt7.so
%{python3_sitearch}/__pycache__/mlt7.*
%if %{with ruby}
%files ruby
%{ruby_vendorarchdir}/mlt.so
%endif
%if %{with php}
%files php
%config(noreplace) %{_sysconfdir}/php.d/mlt.ini
%{php_extdir}/mlt.so
%endif
%files devel
%{_libdir}/pkgconfig/mlt-framework-7.pc
%{_libdir}/pkgconfig/mlt++-7.pc
%{_libdir}/libmlt-7.so
%{_libdir}/libmlt++-7.so
%{_libdir}/cmake/Mlt7/Mlt7*.cmake
%{_includedir}/mlt-7/
%changelog
* Mon May 06 2024 Raven <raven@sysadmins.ws> - 7.22.0-1
- Update mlt to 7.22.0
* Fri Nov 04 2022 Sérgio Basto <sergio@serjux.com> - 7.10.0-1
- Update mlt to 7.10.0 (#2137811 2139196)
* Wed Oct 05 2022 Remi Collet <remi@remirepo.net> - 7.8.0-3
- rebuild for https://fedoraproject.org/wiki/Changes/php82
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jul 10 2022 Sérgio Basto <sergio@serjux.com> - 7.8.0-1
- Update mlt to 7.8.0 (#2100308)
* Tue Jun 21 2022 Sérgio Basto <sergio@serjux.com> - 7.6.0-3
- Rebuilt for opencv 4.6.0
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 7.6.0-2
- Rebuilt for Python 3.11
* Fri Apr 01 2022 Sérgio Basto <sergio@serjux.com> - 7.6.0-1
- Update mlt to 7.6.0
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 12 2022 Sérgio Basto <sergio@serjux.com> - 7.4.0-2
- Rework freeworld sub-package
- Add NDI option
* Fri Jan 07 2022 Sérgio Basto <sergio@serjux.com> - 7.4.0-1
- Update mlt to 7.4.0
- On epel8 disable php and ruby plugins and not BR SDL_images
* Wed Dec 15 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.26.1-5
- rebuild for new vid.stab
* Thu Oct 28 2021 Remi Collet <remi@remirepo.net> - 6.26.1-4
- rebuild for https://fedoraproject.org/wiki/Changes/php81
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.26.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 6.26.1-2
- Rebuilt for Python 3.10
* Fri May 28 2021 Sérgio Basto <sergio@serjux.com> - 6.26.1-1
- Update mlt to 6.26.1
* Sun Mar 28 2021 Sérgio Basto <sergio@serjux.com> - 6.24.0-4
- Renable php and ruby plugins on epel8
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.24.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
- On epel8 disable php and ruby plugins and not BR SDL_images
* Wed Jan 06 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.24.0-2
- F-34: rebuild against ruby 3.0
* Sat Dec 26 2020 Sérgio Basto <sergio@serjux.com> - 6.24.0-1
- Update mlt to 6.24.0 (#1904918)
* Thu Oct 22 2020 Nicolas Chauvet <kwizart@gmail.com> - 6.22.1-2
- Rebuilt for OpenCV
* Thu Aug 20 2020 Sérgio Basto <sergio@serjux.com> - 6.22.1-1
- Update to 6.22.1
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.20.0-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.20.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 6.20.0-2
- Rebuilt for Python 3.9
- Rebuild for OpenCV 4.3
* Mon Feb 17 2020 Martin Gansser <martinkg@fedoraproject.org> - 6.20.0-1
- Update to 6.20.0
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.18.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Jan 20 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.18.0-3
- F-32: rebuild against ruby27
* Mon Dec 23 2019 Sérgio Basto <sergio@serjux.com> - 6.18.0-2
- Remove python2-mlt subpackage once flowblade is switched to Python 3 (#1738074)
- Nothing provides python3-mlt needed by flowblade-2.4 on F30 (#1785934)
- Enable audio support with vorbis (#1724862)
* Tue Nov 12 2019 Sérgio Basto <sergio@serjux.com> - 6.18.0-1
- Update to 6.18.0
* Sun Nov 03 2019 Sérgio Basto <sergio@serjux.com> - 6.16.0-4
- Fix build on rawhide with Python 3.8
* Tue Oct 22 2019 Sérgio Basto <sergio@serjux.com> - 6.16.0-3
- Couple of fixes from upstream for kdenlive
- Add python3-mlt in addition to python2-mlt, document Python 2 exception
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.16.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat May 11 2019 Sérgio Basto <sergio@serjux.com> - 6.16.0-1
- Update MLT to 6.16.0
* Tue May 07 2019 Sérgio Basto <sergio@serjux.com> - 6.14.0-2
- Flowblade requires python2-mlt until version 2.4, 2.4 will be the first
Python3 supporting version https://github.com/jliljebl/flowblade/issues/597
* Sun Apr 28 2019 Sérgio Basto <sergio@serjux.com> - 6.14.0-1
- Update to 6.14.0 and switch to python3 on F30+
* Mon Mar 04 2019 Martin Gansser <martinkg@fedoraproject.org> - 6.12.0-7
- Add mlt-null-pointer-crash.patch again
* Sun Mar 03 2019 Martin Gansser <martinkg@fedoraproject.org> - 6.12.0-6
- Re-Add mlt-python2 subpackage
* Sat Feb 02 2019 Martin Gansser <martinkg@fedoraproject.org> - 6.12.0-5
- Add mlt-null-pointer-crash.patch fixes (RHBZ #1669010)
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.12.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 21 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.12.0-3
- F-30: rebuild against ruby26
* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 6.12.0-2
- Remove the Python 2 subpackage (#1628684)
* Thu Nov 29 2018 Martin Gansser <martinkg@fedoraproject.org> - 6.12.0-1
- Update to 6.12.0
* Thu Oct 11 2018 Remi Collet <remi@remirepo.net> - 6.10.0-5
- Rebuild for https://fedoraproject.org/wiki/Changes/php73
* Wed Aug 22 2018 Martin Gansser <martinkg@fedoraproject.org> - 6.10.0-4
- Rebuilt
* Wed Aug 22 2018 Sérgio Basto <sergio@serjux.com> - 6.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jul 13 2018 Martin Gansser <martinkg@fedoraproject.org> - 6.10.0-2
- Revert Revert-Prefer-qimage-over-pixbuf.patch
- Add 'if' conditions to fix missing python2 on Fedora 29
* Tue Jul 03 2018 Martin Gansser <martinkg@fedoraproject.org> - 6.10.0-1
- Update to 6.10.0
* Sat Jun 16 2018 Martin Gansser <martinkg@fedoraproject.org> - 6.8.0-2
- Add Revert-Prefer-qimage-over-pixbuf.patch to prevent flowblade segfault
* Sat May 12 2018 Martin Gansser <martinkg@fedoraproject.org> - 6.8.0-1
- Update to 6.8.0
* Mon Mar 05 2018 Adam Williamson <awilliam@redhat.com> - 6.6.0-7
- Rebuild for opencv soname bump
* Fri Mar 02 2018 Sérgio Basto <sergio@serjux.com> - 6.6.0-6
- Enable SDL1 and SDL2 as requested by flowblade authors
https://github.com/jliljebl/flowblade/blob/master/flowblade-trunk/docs/SDL_2_AND_MLT_6_6_0.md
* Sun Feb 11 2018 Iryna Shcherbina <ishcherb@redhat.com> - 6.6.0-5
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 31 2018 Sérgio Basto <sergio@serjux.com> - 6.6.0-3
- Rebuild (movit-1.6.0)
* Sun Jan 28 2018 Sérgio Basto <sergio@serjux.com> - 6.6.0-2
- Try a fix for kdenlive: There is "Use GPU processing (Movit library)... "
GPU processing needs MLT compiled with Movit and RTaudio modules
It is greyed, can not select.
* Thu Jan 25 2018 Sérgio Basto <sergio@serjux.com> - 6.6.0-1
- Update to 6.6.0
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 6.5.0-0.9.20171213gitea973eb
- Rebuilt for switch to libxcrypt
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.5.0-0.8.20171213gitea973eb
- F-28: rebuild for ruby25
* Sat Dec 23 2017 Sérgio Basto <sergio@serjux.com> - 6.5.0-0.7.20171213gitea973eb
- Update snapshot
* Fri Nov 17 2017 Sérgio Basto <sergio@serjux.com> - 6.5.0-0.6.20171114git73bfefd
- Update snapshot
* Sun Nov 05 2017 Sérgio Basto <sergio@serjux.com> - 6.5.0-0.5.20171105gitddc40aa
- Update snapshot
* Tue Oct 10 2017 Sérgio Basto <sergio@serjux.com> - 6.5.0-0.4
- Add vid.stab support
* Tue Oct 03 2017 Remi Collet <remi@fedoraproject.org> - 6.5.0-0.3
- rebuild for https://fedoraproject.org/wiki/Changes/php72
* Sat Sep 30 2017 Sérgio Basto <sergio@serjux.com> - 6.5.0-0.2
- Enable movit support
* Sat Sep 30 2017 Sérgio Basto <sergio@serjux.com> - 6.5.0-0.1
- Update to 6.5.0 pre-version also fix some bugs (#1497386)
- Switch to SDL2
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6.4.1-10
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6.4.1-9
- Python 2 binary package renamed to python2-mlt
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Mar 03 2017 Sérgio Basto <sergio@serjux.com> - 6.4.1-6
- Rebuild (opencv)
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Jan 27 2017 Sérgio Basto <sergio@serjux.com> - 6.4.1-4
- Better swig handler for el7 support
* Sat Jan 14 2017 Sérgio Basto <sergio@serjux.com> - 6.4.1-3
- Enable php extension, swig already support php7 (#1356985)
* Thu Jan 12 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 6.4.1-2
- F-26: rebuild for ruby24
* Tue Nov 29 2016 Sérgio Basto <sergio@serjux.com> - 6.4.1-1
- New upstream vesion, 6.4.1
- Fix license, win32 not used in Linux
- Clean trailing white spaces
- Move provides_exclude_from php into php clause
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Jun 30 2016 Sérgio Basto <sergio@serjux.com> - 6.2.0-2
- Disable the php extension, for now, the PHP 7 landed in rawhide
* Wed May 25 2016 Sérgio Basto <sergio@serjux.com> - 6.2.0-1
- Initial MLT spec on Fedora.
* Tue Mar 29 2016 Sérgio Basto <sergio@serjux.com> - 6.0.0-3
- Use upstream patch to compile Ruby bindings
* Sun Feb 21 2016 Sérgio Basto <sergio@serjux.com> - 6.0.0-2
- Add license tag.
- More spec modernizations and rpmlint fixes.
- Configure conditional build for Ruby.
- Remove old BuilRequires that aren't needed anymore.
- Remove old config options (avformat-swscale and qimage-libdir) that no longer
exist in configure.
- Fix Ruby build.
* Fri Feb 19 2016 Sérgio Basto <sergio@serjux.com> - 6.0.0-1
- Update 6.0.0 (This is a bugfix and minor enhancement release. Note that our
release versioning scheme has changed. We were approaching 1.0 but decided to
synchronize release version with the C library ABI version, which is currently
at v6)
- Switch to qt5 to fix rfbz #3810 and copy some BRs from Debian package.
* Wed Nov 18 2015 Sérgio Basto <sergio@serjux.com> - 0.9.8-1
- Update MLT to 0.9.8
* Mon May 11 2015 Sérgio Basto <sergio@serjux.com> - 0.9.6-2
- Workaround #3523
* Thu May 07 2015 Sérgio Basto <sergio@serjux.com> - 0.9.6-1
- Update mlt to 0.9.6 .
- Added BuildRequires of libexif-devel .
* Thu May 07 2015 Sérgio Basto <sergio@serjux.com> - 0.9.2-4
- Added BuildRequires of opencv-devel, rfbz #3523 .
* Mon Oct 20 2014 Sérgio Basto <sergio@serjux.com> - 0.9.2-3
- Rebuilt for FFmpeg 2.4.3
* Fri Sep 26 2014 Nicolas Chauvet <kwizart@gmail.com> - 0.9.2-2
- Rebuilt for FFmpeg 2.4.x
* Mon Sep 15 2014 Sérgio Basto <sergio@serjux.com> - 0.9.2-1
- New upstream release.
* Thu Aug 07 2014 Sérgio Basto <sergio@serjux.com> - 0.9.0-6
- Rebuilt for ffmpeg-2.3
* Sat Jul 26 2014 Sérgio Basto <sergio@serjux.com> - 0.9.0-5
- Rebuild for new php, need by mlt-php
* Sun Mar 30 2014 Sérgio Basto <sergio@serjux.com> - 0.9.0-4
- Rebuilt for ffmpeg-2.2 and fix for freetype2 changes.
* Wed Dec 04 2013 Sérgio Basto <sergio@serjux.com> - 0.9.0-3
- Update License tag .
* Wed Nov 20 2013 Sérgio Basto <sergio@serjux.com> - 0.9.0-2
- Enable gplv3 as asked in rfbz #3040
- Fix a changelog date.
- Fix Ruby warning with rpmbuild "Use RbConfig instead of obsolete and deprecated Config".
- Remove obsolete tag %%clean and rm -rf
* Mon Oct 07 2013 Sérgio Basto <sergio@serjux.com> - 0.9.0-1
- Update to 0.9.0
* Wed Oct 02 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.8-7
- Rebuilt
* Thu Aug 15 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.8-6
- Rebuilt for FFmpeg 2.0.x
* Mon Jun 10 2013 Rex Dieter <rdieter@fedoraproject.org> 0.8.8-5
- mlt-ruby FTBFS, omit until fixed (#2816)
* Sun May 26 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.8-4
- Rebuilt for x264/FFmpeg
* Sun Apr 28 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.8-3
- https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Feb 1 2013 Ryan Rix <ry@n.rix.si> - 0.8.8-1
- Fix ABI requirement to Ruby 1.9
* Fri Feb 1 2013 Ryan Rix <ry@n.rix.si> - 0.8.8-1
- Update to 0.8.8
* Wed Jan 30 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.6-2
- Rebuilt for ffmpeg
* Sun Dec 30 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.8.6-1
- Update to 0.8.6
* Sat Nov 24 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.8.0-3
- Rebuilt for FFmpeg 1.0
* Tue Jun 26 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.8.0-2
- Rebuilt for FFmpeg
* Tue Jun 19 2012 Richard Shaw <hobbes1069@gmail.com> - 0.8.0-1
- Update to latest upstream release.
* Thu Jun 14 2012 Remi Collet <remi@fedoraproject.org> 0.7.8-3
- fix filter
* Thu Jun 14 2012 Remi Collet <remi@fedoraproject.org> 0.7.8-2
- update PHP requirement for PHP Guildelines
- add php extension configuration file
- filter php private shared so
* Tue May 08 2012 Rex Dieter <rdieter@fedoraproject.org> 0.7.8-1
- 0.7.8
* Tue May 08 2012 Rex Dieter <rdieter@fedoraproject.org> 0.7.6-8
- rebuild (sox)
* Fri Mar 02 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.7.6-7
- Rebuilt for c++ ABI breakage
* Tue Feb 28 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.7.6-6
- Rebuilt for x264/FFmpeg
* Fri Jan 27 2012 Ryan Rix <ry@n.rix.si> 0.7.6-5
- Include patch to fix building on gcc47 (upstreaming)
* Wed Jan 25 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.7.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Dec 29 2011 Ryan Rix <ry@n.rix.si> 0.7.6-3
- s/%%[?_isa}/%%{?_isa}
* Tue Nov 15 2011 Rex Dieter <rdieter@fedoraproject.org> 0.7.6-2
- rebuild
* Fri Nov 11 2011 Rex Dieter <rdieter@fedoraproject.org> 0.7.6-1
- 0.7.6
- track files/sonames closer
- tighten subpkg deps via %%{?_isa}
- drop dup'd %%doc items
* Mon Sep 26 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-2
- Rebuilt for ffmpeg-0.8
* Thu Jul 21 2011 Ryan Rix <ry@n.rix.si> - 0.7.4-1
- New upstream
* Sun Apr 10 2011 Ryan Rix <ry@n.rix.si> - 0.7.0-2
- Add SDL_image-devel BR per Kdenlive wiki page
* Thu Apr 7 2011 Ryan Rix <ry@n.rix.si> - 0.7.0-1
- New upstream
* Tue Dec 21 2010 Ryan Rix <ry@n.rix.si> - 0.5.4-2
- Fix build, needed a patch from mlt's git repo.
* Sat Nov 20 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.5.4-1.1
- rebuilt - was missing in repo
* Wed Apr 21 2010 Ryan Rix <ry@n.rix.si> - 0.5.4-1
- New upstream version to fix reported crashes against Kdenlive
* Fri Feb 19 2010 Zarko Pintar <zarko.pintar@gmail.com> - 0.5.0-2
- disabled xine module for PPC arch.
* Thu Feb 18 2010 Zarko Pintar <zarko.pintar@gmail.com> - 0.5.0-1
- new version
* Wed Dec 09 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.10-1
- new version
- added subpackage for ruby
* Wed Oct 07 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.6-1
- new version
- added subpackages for: python, PHP
* Mon Sep 07 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.4-1
- new version
- renamed melt binary to mlt-melt
* Wed May 20 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.2-1
- new version
- removed obsolete patches
* Wed May 20 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.0-3
- added linker and license patches
- set license of MLT devel subpackage to LGPLv2+
* Wed May 20 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.0-2
- some PPC clearing
* Mon May 18 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.0-1
- update to 0.4.0
* Wed May 13 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.9-2
- spec cleaning
* Mon May 11 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.9-1
- new release
- MLT++ is now a part of this package
* Fri May 8 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.8-3
- unused-direct-shlib-dependency fix
* Fri Apr 17 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.8-2
- spec clearing
- added patches for resolving broken lqt-config, lib64 and execstack
* Wed Apr 15 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.8-1
- New release
* Thu Apr 9 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.6-3
- Enabled MMX support (not for PPC & PPC64)
- include demo files
- some spec cosmetics
* Thu Mar 12 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.6-2
- Change URL address
- devel Requires: pkgconfig
* Fri Feb 20 2009 Levente Farkas <lfarkas@lfarkas.org> - 0.3.6-1
- Update to 0.3.6
* Wed Nov 5 2008 Arkady L. Shane <ashejn@yandex-team.ru> - 0.3.1-0.1.svn1180
- update to upstream r1180
- add --avformat-swscale configure option
* Tue Nov 4 2008 Arkady L. Shane <ashejn@yandex-team.ru> - 0.3.0-5
- rebuilt with proper qt4 paths
* Mon Oct 13 2008 jeff <moe@blagblagblag.org> - 0.3.0-4
- Build without fomit-frame-pointer ffmath
- Add BuildRequires: prelink
- clear-execstack libmltgtk2.so
- Don't strip binaries
- Group: Development/Libraries
- Prefix albino, humperdink, and miracle binaries with mlt-
* Sun Oct 5 2008 jeff <moe@blagblagblag.org> - 0.3.0-3
- License: GPLv2+ and LGPLv2+
- Group: Development/Tools
- ExcludeArch: x86_64 s390 s390x ppc ppc64
- %%defattr(-,root,root)
- %%doc docs/
- %%{_libdir}/%%{name} to main package
* Sun Aug 24 2008 jeff <moe@blagblagblag.org> - 0.3.0-2
- Change BuildRoot:
- Full source URL
- ExcludeArch: x86_64
- -devel Requires: pkgconfig, Requires: %%{name} = %%{version}-%%{release}
* Sun Aug 24 2008 jeff <moe@blagblagblag.org> - 0.3.0-1
- Update to 0.3.0
- --enable-gpl
- mlt-filehandler.patch
* Tue Jul 8 2008 jeff <moe@blagblagblag.org> - 0.2.5-0.svn1155.0blag.f10
- Build for blaghead
* Mon Jul 7 2008 jeff <moe@blagblagblag.org> - 0.2.5-0.svn1155.0blag.f9
- Update to svn r1155
- Remove sox-st.h.patch
- Add configure --disable-sox as it breaks build
* Sun Nov 11 2007 jeff <moe@blagblagblag.org> - 0.2.4-0blag.f7
- Update to 0.2.4
- Clean up spec
* Sat Jun 23 2007 jeff <moe@blagblagblag.org> - 0.2.3-0blag.f7
- Update to 0.2.3
* Sat Dec 30 2006 jeff <moe@blagblagblag.org> - 0.2.2-0blag.fc6
- Rebuild for 60k
- Remove --disable-sox
- Add mlt-0.2.2-sox-st.h.patch
* Sat Oct 21 2006 jeff <moe@blagblagblag.org> - 0.2.2-0blag.fc5
- Update to 0.2.2
* Sat Oct 21 2006 jeff <moe@blagblagblag.org> - 0.2.1-0blag.fc5
- BLAG'd
- Removed "olib" from path, name, etc.
- Add changelog
- Update summary/description

View File

@ -0,0 +1,197 @@
Name: playerctl
Version: 2.4.1
Release: 7%{?dist}
Summary: Command-line MPRIS-compatible Media Player Controller
License: LGPLv3+
URL: https://github.com/acrisci/playerctl
Source: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: meson
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Obsoletes: playerctl-static < 2.3.1-3
%description
Playerctl is a command-line utility and library for controlling media players
that implement the MPRIS D-Bus Interface Specification. Playerctl makes it easy
to bind player actions, such as play and pause, to media keys. You can also get
metadata about the playing track such as the artist and title for integration
into statusline generators or other command-line tools.
For more advanced users, Playerctl provides an introspectable library available
in your favorite scripting language that allows more detailed control like the
ability to subscribe to media player events or get metadata such as artist and
title for the playing track.
Examples of players implementing the MPRIS D-Bus Interface Specification include
vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
%package devel
Summary: Development libraries and header files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{summary}.
%package docs
Summary: Documentation related to %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
BuildRequires: gtk-doc
%description docs
%{summary}.
%package libs
Summary: Libraries and shared code for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description libs
%{summary}.
%prep
%autosetup
%build
%meson -Dbash-completions=true -Dzsh-completions=true
%meson_build
%install
%meson_install
%check
%meson_test
%files
%license COPYING
%{_bindir}/%{name}
%{_bindir}/%{name}d
%{_datadir}/bash-completion/
%{_datadir}/dbus-1/services/org.mpris.MediaPlayer2.playerctld.service
%{_datadir}/man/man1/%{name}.*
%{_datadir}/zsh/
%files devel
%license COPYING
%{_datadir}/gir-1.0/Playerctl-2.0.gir
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%files docs
%license COPYING
%{_datadir}/gtk-doc/
%files libs
%license COPYING
%{_libdir}/girepository-1.0/
%{_libdir}/lib%{name}.so.2*
%changelog
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Oct 24 2021 Justin W. Flory <jflory7@fedoraproject.org> - 2.4.1-1
- Update to latest upstream release
- Remove static package as static library is no longer compiled, see Pull Request
https://github.com/altdesktop/playerctl/pull/228
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 24 2021 Dridi Boukelmoune <dridi@fedoraproject.org> - 2.3.1-1
- Update to latest upstream release
- Install zsh completions provided by upstream
- Own the intermediate completions directories
* Thu Oct 08 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.1-1
- Fix a crash when the emoji() template function is used
- Add a shift command to playerctld to shift the active player
- Fix a crash when system players are present
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Feb 15 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.1.1-2
- Install Bash completions provided by upstream
* Thu Feb 06 2020 Dridi Boukelmoune <dridi@fedoraproject.org> - 2.1.1-1
- Update to latest upstream release
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Apr 11 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.2-2
- Add gcc as BuildRequires
- Remove pkgconfig(gobject-introspection-1.0) from devel sub-package
- Fix ownership of girepository-1.0 directory
* Tue Apr 09 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.2-1
- Update to latest upstream release
- Fix ownership of directories created by package
- Move gtk-doc dependency to docs sub-package
- Docs sub-package no longer depends on arch-specific main package
- Other minor improvements from fedora-review tool
* Tue Mar 19 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.1-8
- Fix sub-package description strings
* Sun Mar 03 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.1-7
- Add license to all sub-packages
- Add period after all sub-package summary macros
* Thu Feb 07 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.1-6
- Split out into -libs subpackage (BZ # 1671571)
* Wed Feb 06 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.1-5
- Change static package name and dependency on -devel package
* Mon Feb 04 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.1-4
- Build separate package for static development libraries
* Thu Jan 31 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.1-3
- Additional improvements by Dridi Boukelmoune and Fabio Valentini in RH Bugzilla bug 1671571
* Thu Jan 31 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.1-2
- Improvements suggested by Dridi Boukelmoune in RH Bugzilla bug 1671571
* Thu Jan 31 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.0.1-1
- First release: playerctl

Some files were not shown because too many files have changed in this diff Show More