mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Remove packaging for RPM
This commit is contained in:
parent
724389fac4
commit
c94b6c348c
3 changed files with 0 additions and 214 deletions
|
|
@ -1,151 +0,0 @@
|
|||
#
|
||||
# Do NOT Edit the Auto-generated Part!
|
||||
# Generated by: spectacle version 0.27
|
||||
#
|
||||
|
||||
Name: plasma-phone-components
|
||||
|
||||
# >> macros
|
||||
# << macros
|
||||
|
||||
Summary: Plasma Phone Components
|
||||
Version: 0.2.2
|
||||
Release: 1
|
||||
Group: System/GUI/Other
|
||||
License: GPLv2+
|
||||
URL: http://www.kde.org
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source100: plasma-phone-components.yaml
|
||||
Requires: greenisland
|
||||
Requires: plasma-workspace
|
||||
Requires: plasma-workspace-wallpaper-image
|
||||
Requires: plasma-desktop
|
||||
Requires: breeze-icon-theme
|
||||
Requires: oxygen-fonts
|
||||
Requires: frameworkintegration
|
||||
Requires: libqofono-qt5
|
||||
Requires: libqofono-qt5-declarative
|
||||
Requires: voicecall-qt5
|
||||
Requires: voicecall-qt5-plugin-ofono
|
||||
Requires: nemo-qml-plugin-contextkit-qt5
|
||||
Requires: tone-generator
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: pkgconfig(Qt5Qml)
|
||||
BuildRequires: pkgconfig(Qt5Quick)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: kf5-rpm-macros
|
||||
BuildRequires: qt5-tools
|
||||
BuildRequires: plasma-devel
|
||||
|
||||
%description
|
||||
Plasma Phone Components.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
# >> setup
|
||||
# << setup
|
||||
|
||||
%build
|
||||
# >> build pre
|
||||
%kf5_make
|
||||
# << build pre
|
||||
|
||||
|
||||
|
||||
# >> build post
|
||||
# << build post
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
# >> install pre
|
||||
%kf5_make_install
|
||||
# << install pre
|
||||
|
||||
# >> install post
|
||||
|
||||
# Script that runs the UI
|
||||
# File with environment variables, used by compositor systemd unit
|
||||
mkdir -p %{buildroot}%{_sharedstatedir}/environment/greenisland
|
||||
cat > %{buildroot}%{_sharedstatedir}/environment/greenisland/greenisland.conf <<EOF
|
||||
# Use QScreen backend
|
||||
KSCREEN_BACKEND=QScreen
|
||||
|
||||
# This one is often set to 1 but, at least for hammerhead, we need it set to 0
|
||||
# TODO: Check whether this is always the case when we'll support more devices
|
||||
QT_COMPOSITOR_NEGATE_INVERTED_Y=0
|
||||
EOF
|
||||
|
||||
# File with environment variables, used by shell systemd unit
|
||||
mkdir -p %{buildroot}%{_sharedstatedir}/environment/plasma-phone
|
||||
cat > %{buildroot}%{_sharedstatedir}/environment/plasma-phone/plasma-phone.conf <<EOF
|
||||
QT_QPA_PLATFORM=wayland
|
||||
QT_QPA_PLATFORMTHEME=KDE
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
XDG_CURRENT_DESKTOP=KDE
|
||||
KSCREEN_BACKEND=QScreen
|
||||
|
||||
KDE_FULL_SESSION=1
|
||||
KDE_SESSION_VERSION=5
|
||||
EOF
|
||||
|
||||
# Default configuration for the UI
|
||||
mkdir -p %{buildroot}%{_kf5_configdir}
|
||||
cat > %{buildroot}%{_kf5_configdir}/kded5rc << EOF
|
||||
[General]
|
||||
CheckSycoca=false
|
||||
EOF
|
||||
|
||||
cat > %{buildroot}%{_kf5_configdir}/kdeglobals <<EOF
|
||||
[KDE]
|
||||
LookAndFeelPackage=org.kde.plasma.phone
|
||||
|
||||
[General]
|
||||
desktopFont=Oxygen Sans,9,-1,5,50,0,0,0,0,0
|
||||
fixed=Oxygen Mono,8,-1,5,50,0,0,0,0,0
|
||||
font=Oxygen Sans,9,-1,5,50,0,0,0,0,0
|
||||
menuFont=Oxygen Sans,9,-1,5,50,0,0,0,0,0
|
||||
smallestReadableFont=Oxygen Sans,7,-1,5,50,0,0,0,0,0
|
||||
taskbarFont=Oxygen Sans,9,-1,5,50,0,0,0,0,0
|
||||
toolBarFont=Oxygen Sans,8,-1,5,50,0,0,0,0,0
|
||||
|
||||
[Icons]
|
||||
Theme=breeze
|
||||
|
||||
[Theme]
|
||||
name=default
|
||||
EOF
|
||||
|
||||
# Install services links
|
||||
mkdir -p %{buildroot}%{_libdir}/systemd/user/user-session.target.wants
|
||||
#UNITS="plasma-phone-compositor plasma-phone-ui"
|
||||
UNITS="plasma-phone"
|
||||
for service in $UNITS; do
|
||||
ln -sf ../${service}.service %{buildroot}%{_libdir}/systemd/user/user-session.target.wants/${service}.service
|
||||
done
|
||||
# << install post
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%config %{_kf5_configdir}/kdeglobals
|
||||
%config %{_kf5_configdir}/kded5rc
|
||||
%{_bindir}/plasma-phone
|
||||
%{_kf5_sharedir}/plasma/*
|
||||
%{_kf5_sharedir}/wallpapers/*
|
||||
%{_kf5_sharedir}/settingsmodules/*
|
||||
%{_kf5_servicesdir}/*.desktop
|
||||
%{_sharedstatedir}/environment/greenisland/*
|
||||
%{_sharedstatedir}/environment/plasma-phone/*
|
||||
%{_libdir}/systemd/user/*
|
||||
%{_libdir}/systemd/user/user-session.target.wants/*
|
||||
%{_libdir}/qt5/qml/*
|
||||
# >> files
|
||||
# << files
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
Name : plasma-phone-components
|
||||
Version : 0.2.2
|
||||
Release : 1
|
||||
Group : System/GUI/Other
|
||||
License : GPLv2+
|
||||
Summary : Plasma Phone Components
|
||||
Description : |
|
||||
Plasma Phone Components.
|
||||
URL : http://www.kde.org
|
||||
Sources :
|
||||
- "%{name}-%{version}.tar.xz"
|
||||
SetupOptions: -q -n %{name}-%{version}
|
||||
|
||||
Requires:
|
||||
- greenisland
|
||||
- plasma-workspace
|
||||
- plasma-workspace-wallpaper-image
|
||||
- plasma-desktop
|
||||
- breeze-icon-theme
|
||||
- oxygen-fonts
|
||||
- frameworkintegration
|
||||
- libqofono-qt5
|
||||
- libqofono-qt5-declarative
|
||||
- voicecall-qt5
|
||||
- voicecall-qt5-plugin-ofono
|
||||
- nemo-qml-plugin-contextkit-qt5
|
||||
- tone-generator
|
||||
|
||||
PkgBR:
|
||||
- extra-cmake-modules
|
||||
- kf5-rpm-macros
|
||||
- qt5-tools
|
||||
- plasma-devel
|
||||
PkgConfigBR:
|
||||
- Qt5Core
|
||||
- Qt5DBus
|
||||
- Qt5Xml
|
||||
- Qt5Network
|
||||
- Qt5Gui
|
||||
- Qt5Widgets
|
||||
- Qt5Test
|
||||
- Qt5Qml
|
||||
- Qt5Quick
|
||||
- systemd
|
||||
|
||||
Configure: none
|
||||
Builder: none
|
||||
|
||||
Files:
|
||||
- "%config %{_kf5_configdir}/kdeglobals"
|
||||
- "%config %{_kf5_configdir}/kded5rc"
|
||||
- "%{_bindir}/plasma-phone"
|
||||
- "%{_kf5_sharedir}/plasma/*"
|
||||
- "%{_kf5_sharedir}/wallpapers/*"
|
||||
- "%{_kf5_sharedir}/settingsmodules/*"
|
||||
- "%{_kf5_servicesdir}/*.desktop"
|
||||
- "%{_sharedstatedir}/environment/greenisland/*"
|
||||
- "%{_sharedstatedir}/environment/plasma-phone/*"
|
||||
- "%{_libdir}/systemd/user/*"
|
||||
- "%{_libdir}/systemd/user/user-session.target.wants/*"
|
||||
- "%{_libdir}/qt5/qml/*"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
gbs remotebuild -T home:plfiorini:phone
|
||||
Loading…
Reference in a new issue