Mageia Bugzilla – Attachment 14574 Details for
Bug 32389
kup: another KDE/Plasma easy-to-use backup program NEW PKG REQUEST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
kup spec file for Mageia 9/Cauldron
kup-backup.spec (text/x-rpm-spec), 3.57 KB, created by
Aurelian R
on 2024-06-19 11:10:51 CEST
(
hide
)
Description:
kup spec file for Mageia 9/Cauldron
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2024-06-19 11:10:51 CEST
Size:
3.57 KB
patch
obsolete
>%define uname kup > >%define QtV %( [ %{distro_release} -ge 10 ] && echo 6 || echo 5 ) >%define relKFV kf%{QtV} > >Name: kup-backup >Version: 0.10.0 >Release: %mkrel 0.2.%{relKFV} >Summary: Backup scheduler for the Plasma desktop >License: GPL-2.0-only AND GPL-3.0-only >Group: Graphical desktop//KDE >URL: https://apps.kde.org/kup/ >#URL_GIT: https://invent.kde.org/system/kup/ >Source0: https://download.kde.org/stable/kup/%{uname}-%{version}.tar.xz > >BuildRequires: cmake >BuildRequires: gcc-c++ >BuildRequires: gettext-devel >BuildRequires: %{_lib}http-parser-devel >BuildRequires: pkgconfig(libgit2) >BuildRequires: pkgconfig(openssl) >BuildRequires: pkgconfig(zlib) >BuildRequires: cmake(ECM) > >BuildRequires: kf%{QtV}-rpm-macros >BuildRequires: cmake(KF%{QtV}Config) >BuildRequires: cmake(KF%{QtV}CoreAddons) >BuildRequires: cmake(KF%{QtV}DBusAddons) >BuildRequires: cmake(KF%{QtV}I18n) >BuildRequires: cmake(KF%{QtV}IconThemes) >BuildRequires: cmake(KF%{QtV}IdleTime) >BuildRequires: cmake(KF%{QtV}JobWidgets) >BuildRequires: cmake(KF%{QtV}KCMUtils) >BuildRequires: cmake(KF%{QtV}KIO) >BuildRequires: cmake(KF%{QtV}Notifications) >BuildRequires: cmake(KF%{QtV}Solid) >BuildRequires: cmake(KF%{QtV}WidgetsAddons) >BuildRequires: cmake(KF%{QtV}XmlGui) >BuildRequires: cmake(Qt%{QtV}Core) >BuildRequires: cmake(Qt%{QtV}Gui) >BuildRequires: cmake(Qt%{QtV}Widgets) >= 5.11.0 > >%if %{QtV} >= 6 >BuildRequires: cmake(Plasma) >BuildRequires: cmake(Plasma5Support) >BuildRequires: frameworkintegration >%else >BuildRequires: cmake(KF5Init) >BuildRequires: cmake(KF5Plasma) >%endif > >Recommends: bup >Recommends: rsync > >%description >Kup is created for helping people to keep up-to-date backups of their personal files. >Connecting a USB hard drive is the primary supported way to store files, but saving >files to a server over a network connection is also possible for advanced users. > >When you plug in your external hard drive Kup will automatically start copying your >latest changes, but of course it will only do so if you have been active on your >computer for some number of hours since the last time you took a backup (and it can >of course ask you first, before copying anything). In general Kup tries to not >disturb you needlessly. > >%prep >%autosetup -p1 -n %{uname}-%{version} > ># For kup-0.10.0 release, KDE repository source has an out of date version. >sed -i '/QStringLiteral/ s/0\.9\.1/0\.10\.0/' \ > {filedigger,purger,daemon}/main.cpp kcm/kupkcm.cpp >sed -i "/<releases>/a ' <release version=\"0.10.0\" date=\"2024-05-26\"\/>'" \ > org.kde.kup.appdata.xml > >%build >%if %{QtV} >= 6 >%cmake_kf6 -DQT_MAJOR_VERSION=%{QtV} >%else >%cmake_kf5 -DQT_MAJOR_VERSION=%{QtV} >%endif >%cmake_build > >%install >%cmake_install > >%find_lang %{uname} --all-name > >%files -f %{uname}.lang >%license LICENSES/* >%doc README.md >%if %{QtV} >= 6 >%{_kf6_bindir}/kup-daemon >%{_kf6_bindir}/kup-filedigger >%{_kf6_bindir}/kup-purger >%{_kf6_categoriesdir}/kup.categories >%{_kf6_iconsdir}/hicolor/scalable/apps/kup.svg >%{_kf6_knotificationsdir}/kupdaemon.notifyrc >%{_kf6_metainfodir}/*.xml >%{_kf6_datadir}/plasma/* >%{_kf6_datadir}/plasma5support/services/kup*.operations >%{_kf6_configdir}/autostart/kup-daemon.desktop >%{_qt6_plugindir}/* >%{_datadir}/applications/kcm_kup.desktop >%else >%{_kf5_bindir}/kup-daemon >%{_kf5_bindir}/kup-filedigger >%{_kf5_bindir}/kup-purger >%{_kf5_categoriesdir}/kup.categories >%{_kf5_iconsdir}/hicolor/scalable/apps/kup.svg >%{_kf5_knotificationsdir}/kupdaemon.notifyrc >%{_kf5_metainfodir}/*.xml >%{_kf5_datadir}/plasma/* >%{_sysconfdir}/xdg/autostart/kup-daemon.desktop >%{_qt5_plugindir}/* >%{_datadir}/applications/kcm_kup.desktop >%endif
%define uname kup %define QtV %( [ %{distro_release} -ge 10 ] && echo 6 || echo 5 ) %define relKFV kf%{QtV} Name: kup-backup Version: 0.10.0 Release: %mkrel 0.2.%{relKFV} Summary: Backup scheduler for the Plasma desktop License: GPL-2.0-only AND GPL-3.0-only Group: Graphical desktop//KDE URL: https://apps.kde.org/kup/ #URL_GIT: https://invent.kde.org/system/kup/ Source0: https://download.kde.org/stable/kup/%{uname}-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: %{_lib}http-parser-devel BuildRequires: pkgconfig(libgit2) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) BuildRequires: cmake(ECM) BuildRequires: kf%{QtV}-rpm-macros BuildRequires: cmake(KF%{QtV}Config) BuildRequires: cmake(KF%{QtV}CoreAddons) BuildRequires: cmake(KF%{QtV}DBusAddons) BuildRequires: cmake(KF%{QtV}I18n) BuildRequires: cmake(KF%{QtV}IconThemes) BuildRequires: cmake(KF%{QtV}IdleTime) BuildRequires: cmake(KF%{QtV}JobWidgets) BuildRequires: cmake(KF%{QtV}KCMUtils) BuildRequires: cmake(KF%{QtV}KIO) BuildRequires: cmake(KF%{QtV}Notifications) BuildRequires: cmake(KF%{QtV}Solid) BuildRequires: cmake(KF%{QtV}WidgetsAddons) BuildRequires: cmake(KF%{QtV}XmlGui) BuildRequires: cmake(Qt%{QtV}Core) BuildRequires: cmake(Qt%{QtV}Gui) BuildRequires: cmake(Qt%{QtV}Widgets) >= 5.11.0 %if %{QtV} >= 6 BuildRequires: cmake(Plasma) BuildRequires: cmake(Plasma5Support) BuildRequires: frameworkintegration %else BuildRequires: cmake(KF5Init) BuildRequires: cmake(KF5Plasma) %endif Recommends: bup Recommends: rsync %description Kup is created for helping people to keep up-to-date backups of their personal files. Connecting a USB hard drive is the primary supported way to store files, but saving files to a server over a network connection is also possible for advanced users. When you plug in your external hard drive Kup will automatically start copying your latest changes, but of course it will only do so if you have been active on your computer for some number of hours since the last time you took a backup (and it can of course ask you first, before copying anything). In general Kup tries to not disturb you needlessly. %prep %autosetup -p1 -n %{uname}-%{version} # For kup-0.10.0 release, KDE repository source has an out of date version. sed -i '/QStringLiteral/ s/0\.9\.1/0\.10\.0/' \ {filedigger,purger,daemon}/main.cpp kcm/kupkcm.cpp sed -i "/<releases>/a ' <release version=\"0.10.0\" date=\"2024-05-26\"\/>'" \ org.kde.kup.appdata.xml %build %if %{QtV} >= 6 %cmake_kf6 -DQT_MAJOR_VERSION=%{QtV} %else %cmake_kf5 -DQT_MAJOR_VERSION=%{QtV} %endif %cmake_build %install %cmake_install %find_lang %{uname} --all-name %files -f %{uname}.lang %license LICENSES/* %doc README.md %if %{QtV} >= 6 %{_kf6_bindir}/kup-daemon %{_kf6_bindir}/kup-filedigger %{_kf6_bindir}/kup-purger %{_kf6_categoriesdir}/kup.categories %{_kf6_iconsdir}/hicolor/scalable/apps/kup.svg %{_kf6_knotificationsdir}/kupdaemon.notifyrc %{_kf6_metainfodir}/*.xml %{_kf6_datadir}/plasma/* %{_kf6_datadir}/plasma5support/services/kup*.operations %{_kf6_configdir}/autostart/kup-daemon.desktop %{_qt6_plugindir}/* %{_datadir}/applications/kcm_kup.desktop %else %{_kf5_bindir}/kup-daemon %{_kf5_bindir}/kup-filedigger %{_kf5_bindir}/kup-purger %{_kf5_categoriesdir}/kup.categories %{_kf5_iconsdir}/hicolor/scalable/apps/kup.svg %{_kf5_knotificationsdir}/kupdaemon.notifyrc %{_kf5_metainfodir}/*.xml %{_kf5_datadir}/plasma/* %{_sysconfdir}/xdg/autostart/kup-daemon.desktop %{_qt5_plugindir}/* %{_datadir}/applications/kcm_kup.desktop %endif
View Attachment As Raw
Actions:
View
Attachments on
bug 32389
: 14574 |
14575