Compare commits
10 Commits
6b957f17f9
...
aabaf3a3dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aabaf3a3dc | ||
|
|
9f1ee1d111 | ||
|
|
ec42f87bd0 | ||
|
|
881a91066b | ||
|
|
9f4b9429a9 | ||
|
|
a014cb6fff | ||
|
|
09b35fa888 | ||
|
|
457566fb22 | ||
|
|
1ba39c85c2 | ||
|
|
bb1da5be59 |
12
BSD-3-Clause.txt
Normal file
12
BSD-3-Clause.txt
Normal file
@ -0,0 +1,12 @@
|
||||
Copyright (c) <year> <owner>.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
46
kf5.spec
46
kf5.spec
@ -1,17 +1,19 @@
|
||||
Name: kf5
|
||||
Version: 5.90.0
|
||||
Version: 5.113.0
|
||||
Release: 1
|
||||
Summary: Filesystem and RPM macros for KDE Frameworks 5
|
||||
License: BSD
|
||||
URL: http://www.kde.org
|
||||
|
||||
Source0: macros.kf5
|
||||
Source1: BSD-3-Clause.txt
|
||||
|
||||
%description
|
||||
Filesystem and RPM macros for KDE Frameworks 5
|
||||
|
||||
%package filesystem
|
||||
Summary: Filesystem for KDE Frameworks 5
|
||||
Requires: kde-filesystem >= 5
|
||||
Obsoletes: kf5-filesystem < 5.10.0-2
|
||||
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
||||
|
||||
@ -27,11 +29,14 @@ BuildArch: noarch
|
||||
%description rpm-macros
|
||||
RPM macros for building KDE Frameworks 5 packages.
|
||||
|
||||
%prep
|
||||
cp %{SOURCE1} LICENSE
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt5/plugins/kf5/
|
||||
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/kconf_update_bin
|
||||
mkdir -p %{buildroot}%{_includedir}/KF5
|
||||
mkdir -p %{buildroot}%{_datadir}/{config.kcfg,kconf_update,kf5,kservicetypes5}
|
||||
mkdir -p %{buildroot}%{_datadir}/{kf5,kservicetypes5}
|
||||
mkdir -p %{buildroot}%{_datadir}/kpackage/{genericqml,kcms}
|
||||
mkdir -p %{buildroot}%{_datadir}/kservices5/ServiceMenus
|
||||
mkdir -p %{buildroot}%{_datadir}/knsrcfiles/
|
||||
@ -39,27 +44,54 @@ mkdir -p %{buildroot}%{_datadir}/qlogging-categories5/
|
||||
mkdir -p %{buildroot}%{_datadir}/solid/{actions,devices}
|
||||
mkdir -p %{buildroot}%{_docdir}/qt5
|
||||
mkdir -p %{buildroot}%{_libexecdir}/kf5
|
||||
mkdir -p %{buildroot}%{_datadir}/locale/tok
|
||||
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/kconf_update_bin
|
||||
mkdir -p %{buildroot}%{_datadir}/{config.kcfg,kconf_update}
|
||||
mkdir -p %{buildroot}%{_datadir}/kpackage/{genericqml,kcms}
|
||||
mkdir -p %{buildroot}%{_datadir}/knsrcfiles/
|
||||
mkdir -p %{buildroot}%{_datadir}/solid/{actions,devices}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/{env,shutdown}
|
||||
install -Dpm644 %{_sourcedir}/macros.kf5 %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf5
|
||||
sed -i -e "s|@@KF5_VERSION@@|%{version}|g" %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf5
|
||||
|
||||
%files filesystem
|
||||
%{_sysconfdir}/xdg/plasma-workspace/
|
||||
%license LICENSE
|
||||
%{_prefix}/lib/qt5/plugins/kf5/
|
||||
%{_prefix}/%{_lib}/qt5/plugins/kf5/
|
||||
%{_prefix}/lib/kconf_update_bin/
|
||||
%{_prefix}/%{_lib}/kconf_update_bin/
|
||||
%{_includedir}/KF5/
|
||||
%{_libexecdir}/kf5/
|
||||
%{_datadir}/{config.kcfg,kconf_update,kf5,kpackage,kservices5,kservicetypes5,solid}
|
||||
%{_datadir}/knsrcfiles/
|
||||
%{_datadir}/{kf5,kservices5,kservicetypes5}
|
||||
%{_datadir}/qlogging-categories5/
|
||||
%{_docdir}/qt5/
|
||||
%{_datadir}/locale/tok
|
||||
%{_sysconfdir}/xdg/plasma-workspace/
|
||||
%{_prefix}/lib/kconf_update_bin/
|
||||
%{_prefix}/%{_lib}/kconf_update_bin/
|
||||
%{_datadir}/config.kcfg/
|
||||
%{_datadir}/kconf_update/
|
||||
%{_datadir}/kpackage/
|
||||
%{_datadir}/knsrcfiles/
|
||||
%{_datadir}/solid/
|
||||
|
||||
%files rpm-macros
|
||||
%{_rpmconfigdir}/macros.d/macros.kf5
|
||||
|
||||
%changelog
|
||||
* Tue Jan 02 2024 Paul Thomas <paulthomas100199@gmail.com> - 5.113.0-1
|
||||
- update to version 5.113.0
|
||||
|
||||
* Thu Aug 03 2023 zhangkea <zhangkea@uniontech.cn> - 5.108.0-1
|
||||
- Update version to 5.108.0
|
||||
|
||||
* Fri Dec 09 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.100.0-1
|
||||
- Update package to version 5.100.0
|
||||
|
||||
* Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 5.97.0-1
|
||||
- update to upstream version 5.97.0
|
||||
|
||||
* Mon Jul 04 2022 loong_C <loong_c@yeah.net> - 5.95.0-1
|
||||
- update to upstream version 5.95.0
|
||||
|
||||
* Fri Feb 11 2022 tanyulong <tanyulong@kylinos.com> - 5.90.0-1
|
||||
- update to upstream version 5.90.0
|
||||
|
||||
|
||||
29
macros.kf5
29
macros.kf5
@ -68,3 +68,32 @@
|
||||
(find %{buildroot}/%{_datadir}/locale/ -name "%1.qm" -type f | sed ' \
|
||||
s:%{buildroot}/:: \
|
||||
s:%{_datadir}/locale/\\([a-zA-Z_\\@]*\\)/\\([a-zA-Z_]*\\)/%1.qm:%lang(\\1) %{_datadir}/locale/\\1/\\2/%1.qm:' > %1.lang)
|
||||
|
||||
# Start of backwards compatible macros
|
||||
# Used mostly in plasma and gear packages:
|
||||
# %%maj_ver_kf5
|
||||
# %%min_ver_kf5
|
||||
# %%bug_ver_kf5
|
||||
# %%majmin_ver_kf5
|
||||
# %%stable_kf5
|
||||
|
||||
%maj_ver_kf5 %(echo %{version} | cut -d. -f1)
|
||||
%min_ver_kf5 %(echo %{version} | cut -d. -f2)
|
||||
%bug_ver_kf5 %(echo %{version} | cut -d. -f3)
|
||||
|
||||
%stable_kf5 %( \
|
||||
if test %bug_ver_kf5 -ge 50 ; then
|
||||
echo "unstable"
|
||||
else
|
||||
echo "stable"
|
||||
fi
|
||||
)
|
||||
|
||||
%majmin_ver_kf5 %( \
|
||||
if test %bug_ver_kf5 -ge 50 ; then
|
||||
echo %{maj_ver_kf5}.%{min_ver_kf5}.50
|
||||
else
|
||||
echo %{maj_ver_kf5}.%{min_ver_kf5}
|
||||
fi
|
||||
)
|
||||
# End of backwards compatible macros
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user