Импорт файлов

master
aiden 4 years ago
parent 719fb394b9
commit 2390cdcada

@ -0,0 +1,50 @@
%define debug_package %{nil}
%define _build_id_links none
%define _disable_source_fetch 0
%define component_name ps4jb-git
Name: %{component_name}
Version: 52c9858
Release: alt1
License: GPLv3
Summary: This is an Offline full chain exploit for PS4 firmware 6.72, 7.02, 7.55 & 9.00 with 100% Success Rate
Group: System/Other
Packager: Vadim Morozov <vadim@morozoff.pro>
#BuildRequires: cmake make gcc gcc-c++
#Provides: crule-icon-theme = 0.0.%{version}-%{release}
Requires: node npm
Source0: https://github.com/DarkModderVC/PS4JB.git
%description
This is an Offline full chain exploit for PS4 firmware 6.72, 7.02, 7.55 & 9.00 with 100% Success Rate
%prep
%setup -qn PS4JB-master
%build
%install
cp -R * %buildroot%/usr/share/ps4jb
%files
%buildroot%/usr/share/ps4jb/*
%post
npm install -g serve
echo "Creating systemd service for PS4JB"
touch /lib/systemd/system/ps4jb.service
echo -e "#!/bin/bash\nnpm serve /usr/share/ps4jb" /usr/bin/ps4jb
echo -e "[Unit]\nPS4 Exploit Host\n[Service]\nStartLimitInterval=5\nStartLimitBurst=10\nExecStart=/usr/bin/ps4jb\n[Install]\nWantedBy=multi-user.target\n">/lib/systemd/system/ps4jb.service
systemctl enable ps4jb.service
systemctl daemon-reload
service ps4jb start
%changelog
* Sun May 14 2022 Vadim Morozov <vadim@morozoff.pro>
- Initial build

@ -0,0 +1,27 @@
Name: cutefish-desktop
Version: 0.20220509
Release: alt2
License: GPLv3
Summary: Common packages for Cutefish Desktop
Group: Graphical desktop/Other
Packager: Vadim Morozov <vadim@morozoff.pro>
BuildArch: x86_64
Requires: libcutefish qt5-graphicaleffects plasma5-kwin kf5-kio kde5-kio-extras kde5-kio-fuse xorg-xwayland libkf5screen
Requires: cutefish-core
Requires: cutefish-qt-plugins cutefish-kwin-plugins
Requires: cutefish-icons cutefish-cursor-theme
Requires: cutefish-dock cutefish-launcher cutefish-statusbar
Requires: cutefish-screenlocker cutefish-videoplayer
Requires: cutefish-settings cutefish-calculator cutefish-filemanager cutefish-terminal
Requires: libgio-qt libgsettings-qt libhtmlcxx3 libiniparser libisoburn libisofs libjemalloc2 liblightdm-qt5 liblucene++ libmediainfo libmimetic libqt6-core libqt6-dbus libqt6-eglfsdeviceintegration libqt6-eglfskmsgbmsupport libqt6-eglfskmssupport libqt6-gui libqt6-network libqt6-opengl libqt6-widgets libqt6-xcbqpa libqt6-xml libudisks2-qt5 libzen lshw qt6-base-common qt6-dbus qt6-tools-common xsettingsd expect geoclue2 gnome-backgrounds kde5-profile kf5-kinit kf5-kinit-common lcov libcgroup libchardet1 libdframeworkdbus2 libdisomaster libdmr libdmusic-static libdtk5-core libdtk5-gui libdtk5-widget libffmpegthumbnailer libfreeimage libjxr libminizip libmpris-qt5 libqt5-webenginecore libqt5-webenginewidgets libre2 libterminalwidget5 libzip5 perl-GD perl-JSON-PP perl-Math-BigInt perl-Math-BigInt-FastCalc perl-Math-Complex qt5-webengine-common redshift terminalwidget5-data kde5-profile kf5-kinit kf5-kinit-common lcov libcgroup libchardet1 libdframeworkdbus2 libdisomaster libdmr libdmusic-static libdtk5-core libdtk5-gui libdtk5-widget libffmpegthumbnailer libfreeimage libjxr libminizip libmpris-qt5 libqt5-webenginecore libqt5-webenginewidgets libre2 libterminalwidget5 libzip5 perl-GD perl-JSON-PP perl-Math-BigInt perl-Math-BigInt-FastCalc perl-Math-Complex qt5-webengine-common redshift terminalwidget5-data
%description
This is the metapackage for Cutefish Desktop environment
%prep
%build
%install
mkdir %{buildroot}
%files

@ -0,0 +1,55 @@
%global debug_package %{nil}
Name: jellyfin-web
Version: 10.8.1
Release: 1%{?dist}
Summary: The Free Software Media System web client
License: GPL2
URL: https://jellyfin.org
# Jellyfin Server tarball created by `make -f .copr/Makefile srpm`, real URL ends with `v%%{version}.tar.gz`
Source0: v%{version}.tar.gz
Group: Multimedia
BuildArch: noarch
#%if 0%{?rhel} > 0 && 0%{?rhel} < 8
BuildRequires: node
#%else
BuildRequires: git
BuildRequires: npm
#%endif
%description
Jellyfin is a free software media system that puts you in control of managing and streaming your media.
%prep
%setup -n jellyfin-web-%{version} -b 0
#%if 0%{?rhel} > 0 && 0%{?rhel} < 8
# Required for CentOS build
#chown root:root -R .
#%endif
#chown root:root -R .
%build
#export SKIP_PREPARE=true
npm install --no-audit --unsafe-perm
%install
%{__mkdir} -p %{buildroot}%{_libdir}/jellyfin/jellyfin-web
%{__cp} -r dist/* %{buildroot}%{_libdir}/jellyfin/jellyfin-web
%files
%defattr(644,root,root,755)
%{_libdir}/jellyfin/jellyfin-web
#%license LICENSE
%changelog
* Fri Dec 04 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
- Forthcoming stable release
* Mon Jul 27 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
- Forthcoming stable release
* Mon Mar 23 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
- Forthcoming stable release

@ -0,0 +1,205 @@
%global debug_package %{nil}
# Set the dotnet runtime
#%if 0%{?fedora}
#%global dotnet_runtime fedora.%{fedora}-x64
#%else
#%global dotnet_runtime centos-x64
#%endif
Name: jellyfin
Version: 10.8.1
Release: alt1
Summary: The Free Software Media System
License: GPL2
URL: https://jellyfin.org
Group: Multimedia
# Jellyfin Server tarball created by `make -f .copr/Makefile srpm`, real URL ends with `v%%{version}.tar.gz`
Source0: jellyfin-server-%{version}.tar.gz
Source11: jellyfin.service
Source12: jellyfin.env
Source13: jellyfin.sudoers
Source14: restart.sh
Source15: jellyfin.override.conf
Source16: jellyfin-firewalld.xml
Source17: jellyfin-server-lowports.conf
%{?systemd_requires}
BuildRequires: systemd
BuildRequires: libcurl-devel, fontconfig-devel, libfreetype-devel, openssl-devel, glibc-devel, libicu-devel
# Requirements not packaged in RHEL 7 main repos, added via Makefile
# https://packages.microsoft.com/rhel/7/prod/
BuildRequires: dotnet-runtime-6.0, dotnet-sdk-6.0
Requires: %{name}-server = %{version}-%{release}, jellyfin-web
# Temporary (hopefully?) fix for https://github.com/jellyfin/jellyfin/issues/7471
#%if 0%{?fedora} >= 36
#%global __requires_exclude ^liblttng-ust\\.so\\.0.*$
#%endif
%description
Jellyfin is a free software media system that puts you in control of managing and streaming your media.
%package server
# RPMfusion free
Summary: The Free Software Media System Server backend
Requires(pre): shadow-utils
Requires: ffmpeg
Requires: libcurl, fontconfig, freetype, openssl, glibc, libicu, at, sudo
Group: Multimedia
%description server
The Jellyfin media server backend.
%package server-lowports
# RPMfusion free
Summary: The Free Software Media System Server backend. Low-port binding.
Requires: jellyfin-server
Group: Multimedia
%description server-lowports
The Jellyfin media server backend low port binding package. This package
enables binding to ports < 1024. You would install this if you want
the Jellyfin server to bind to ports 80 and/or 443 for example.
%prep
%setup -n jellyfin-server-%{version} -b 0
%build
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export PATH=$PATH:/usr/local/bin
# cannot use --output due to https://github.com/dotnet/sdk/issues/22220
dotnet publish --configuration Release --self-contained --runtime %{dotnet_runtime} \
"-p:DebugSymbols=false;DebugType=none" Jellyfin.Server
%install
# Jellyfin files
%{__mkdir} -p %{buildroot}%{_libdir}/jellyfin %{buildroot}%{_bindir}
%{__cp} -r Jellyfin.Server/bin/Release/net6.0/%{dotnet_runtime}/publish/* %{buildroot}%{_libdir}/jellyfin
ln -srf %{_libdir}/jellyfin/jellyfin %{buildroot}%{_bindir}/jellyfin
%{__install} -D %{SOURCE14} %{buildroot}%{_libexecdir}/jellyfin/restart.sh
# Jellyfin config
%{__install} -D Jellyfin.Server/Resources/Configuration/logging.json %{buildroot}%{_sysconfdir}/jellyfin/logging.json
%{__install} -D %{SOURCE12} %{buildroot}%{_sysconfdir}/sysconfig/jellyfin
# system config
%{__install} -D %{SOURCE16} %{buildroot}%{_prefix}/lib/firewalld/services/jellyfin.xml
%{__install} -D %{SOURCE13} %{buildroot}%{_sysconfdir}/sudoers.d/jellyfin-sudoers
%{__install} -D %{SOURCE15} %{buildroot}%{_sysconfdir}/systemd/system/jellyfin.service.d/override.conf
%{__install} -D %{SOURCE11} %{buildroot}%{_unitdir}/jellyfin.service
# empty directories
%{__mkdir} -p %{buildroot}%{_sharedstatedir}/jellyfin
%{__mkdir} -p %{buildroot}%{_sysconfdir}/jellyfin
%{__mkdir} -p %{buildroot}%{_var}/cache/jellyfin
%{__mkdir} -p %{buildroot}%{_var}/log/jellyfin
# jellyfin-server-lowports subpackage
%{__install} -D -m 0644 %{SOURCE17} %{buildroot}%{_unitdir}/jellyfin.service.d/jellyfin-server-lowports.conf
%files
# empty as this is just a meta-package
%files server
%defattr(644,root,root,755)
# Jellyfin files
%{_bindir}/jellyfin
# Needs 755 else only root can run it since binary build by dotnet is 722
%attr(755,root,root) %{_libdir}/jellyfin/createdump
%attr(755,root,root) %{_libdir}/jellyfin/jellyfin
%{_libdir}/jellyfin/*
%attr(755,root,root) %{_libexecdir}/jellyfin/restart.sh
# Jellyfin config
%config(noreplace) %attr(644,jellyfin,jellyfin) %{_sysconfdir}/jellyfin/logging.json
%config %{_sysconfdir}/sysconfig/jellyfin
# system config
%{_prefix}/lib/firewalld/services/jellyfin.xml
%{_unitdir}/jellyfin.service
%config(noreplace) %attr(600,root,root) %{_sysconfdir}/sudoers.d/jellyfin-sudoers
%config(noreplace) %{_sysconfdir}/systemd/system/jellyfin.service.d/override.conf
# empty directories
%attr(750,jellyfin,jellyfin) %dir %{_sharedstatedir}/jellyfin
%attr(755,jellyfin,jellyfin) %dir %{_sysconfdir}/jellyfin
%attr(750,jellyfin,jellyfin) %dir %{_var}/cache/jellyfin
%attr(-, jellyfin,jellyfin) %dir %{_var}/log/jellyfin
#%license LICENSE
%files server-lowports
%{_unitdir}/jellyfin.service.d/jellyfin-server-lowports.conf
%pre server
getent group jellyfin >/dev/null || groupadd -r jellyfin
getent passwd jellyfin >/dev/null || \
useradd -r -g jellyfin -d %{_sharedstatedir}/jellyfin -s /sbin/nologin \
-c "Jellyfin default user" jellyfin
exit 0
%post server
# Move existing configuration cache and logs to their new locations and symlink them.
if [ $1 -gt 1 ] ; then
service_state=$(systemctl is-active jellyfin.service)
if [ "${service_state}" = "active" ]; then
systemctl stop jellyfin.service
fi
if [ ! -L %{_sharedstatedir}/jellyfin/config ]; then
mv %{_sharedstatedir}/jellyfin/config/* %{_sysconfdir}/jellyfin/
rmdir %{_sharedstatedir}/jellyfin/config
ln -sf %{_sysconfdir}/jellyfin %{_sharedstatedir}/jellyfin/config
fi
if [ ! -L %{_sharedstatedir}/jellyfin/logs ]; then
mv %{_sharedstatedir}/jellyfin/logs/* %{_var}/log/jellyfin
rmdir %{_sharedstatedir}/jellyfin/logs
ln -sf %{_var}/log/jellyfin %{_sharedstatedir}/jellyfin/logs
fi
if [ ! -L %{_sharedstatedir}/jellyfin/cache ]; then
mv %{_sharedstatedir}/jellyfin/cache/* %{_var}/cache/jellyfin
rmdir %{_sharedstatedir}/jellyfin/cache
ln -sf %{_var}/cache/jellyfin %{_sharedstatedir}/jellyfin/cache
fi
if [ "${service_state}" = "active" ]; then
systemctl start jellyfin.service
fi
fi
%changelog
* Wed Jul 13 2022 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.9.0; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.9.0
* Mon Nov 29 2021 Brian J. Murrell <brian@interlinx.bc.ca>
- Add jellyfin-server-lowports.service drop-in in a server-lowports
subpackage to allow binding to low ports
* Fri Dec 04 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
- Forthcoming stable release
* Mon Jul 27 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
- Forthcoming stable release
* Mon Mar 23 2020 Jellyfin Packaging Team <packaging@jellyfin.org>
- Forthcoming stable release
* Fri Oct 11 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.5.0; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.5.0
* Sat Aug 31 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.4.0; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.4.0
* Wed Jul 24 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.3.7; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.3.7
* Sat Jul 06 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.3.6; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.3.6
* Sun Jun 09 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.3.5; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.3.5
* Thu Jun 06 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.3.4; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.3.4
* Fri May 17 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.3.3; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.3.3
* Tue Apr 30 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.3.2; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.3.2
* Sat Apr 20 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.3.1; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.3.1
* Fri Apr 19 2019 Jellyfin Packaging Team <packaging@jellyfin.org>
- New upstream version 10.3.0; release changelog at https://github.com/jellyfin/jellyfin/releases/tag/v10.3.0

@ -0,0 +1,52 @@
%define debug_package %{nil}
%define _build_id_links none
%define _disable_source_fetch 0
%define component_name ps4-pkg-installer
Name: %{component_name}
Version: 1.0.0
Release: alt1
License: GPLv3
Summary: PS4 PKG Installer is a user friendly interface to upload pkg on your PS4
Group: Games/Emulators
Packager: Vadim Morozov <vadim@morozoff.pro>
Requires: node npm
Source0: https://github.com/derrix/ps4-pkg-installer/archive/refs/heads/master.zip
%description
PS4 PKG Installer is a user friendly interface to upload pkg on your PS4
%prep
%setup -qn ps4-pkg-installer-master
%build
%install
mkdir -p %{buildroot}/usr/share/ps4-pkg-installer
cp -R ./* %{buildroot}/usr/share/ps4-pkg-installer
%files
#%{buildroot}/usr/share/ps4-pkg-installer/
/*
%post
echo "Making magic"
npm install -g ---silent --prefix /usr/share/ps4-pkg-installer
echo "Creating systemd service for ps4-pkg-installer"
touch /lib/systemd/system/ps4-pkg-installer.service
echo -e "#!/bin/bash\nnpm start --prefix /usr/share/ps4-pkg-installer">/usr/bin/ps4-pkg-installer
chmod a+x /usr/bin/ps4-pkg-installer
echo -e "[Unit]\nPS4 Package Installer\n[Service]\nStartLimitInterval=5\nStartLimitBurst=10\nExecStart=/usr/bin/ps4-pkg-installer\n[Install]\nWantedBy=multi-user.target\n">/lib/systemd/system/ps4-pkg-installer.service
systemctl enable ps4-pkg-installer.service
systemctl daemon-reload
service ps4-pkg-installer start
%changelog
* Fri Jul 29 2022 Vadim Morozov <vadim@morozoff.pro>
- Initial build
Loading…
Cancel
Save