[packages/fonts-TTF-KDE-Oxygen] - rel 4, noarch and drop useless devel
baggins
baggins at pld-linux.org
Sat Mar 21 23:45:58 CET 2026
commit 779d18666f375cba422351338be0627775461dca
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Mar 22 00:45:35 2026 +0100
- rel 4, noarch and drop useless devel
fonts-TTF-KDE-Oxygen.spec | 27 ++++++---------------------
1 file changed, 6 insertions(+), 21 deletions(-)
---
diff --git a/fonts-TTF-KDE-Oxygen.spec b/fonts-TTF-KDE-Oxygen.spec
index 2971d71..da58a17 100644
--- a/fonts-TTF-KDE-Oxygen.spec
+++ b/fonts-TTF-KDE-Oxygen.spec
@@ -1,7 +1,7 @@
Summary: Oxygen fonts created by the KDE Community
Name: fonts-TTF-KDE-Oxygen
Version: 5.3.0
-Release: 3
+Release: 4
License: OFL or GPLv3 with exceptions
Group: Fonts
Source0: http://download.kde.org/stable/plasma/%{version}/oxygen-fonts-%{version}.tar.xz
@@ -13,6 +13,7 @@ BuildRequires: cmake
BuildRequires: fontforge
Requires(post,postun): fontpostinst
Requires: %{_fontsdir}/TTF
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _ttffontsdir %{_fontsdir}/TTF
@@ -20,27 +21,14 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Oxygen fonts created by the KDE Community.
-%package devel
-Summary: Header files for %{name} development
-Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{name}
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-Header files for %{name} development.
-
-%description devel -l pl.UTF-8
-Pliki nagłówkowe dla programistów używających %{name}.
-
%prep
%setup -q -n oxygen-fonts-%{version}
%build
install -d build
cd build
-%{cmake} \
- -DOXYGEN_FONT_INSTALL_DIR=%{_ttffontsdir} \
- ..
+%{cmake} .. \
+ -DOXYGEN_FONT_INSTALL_DIR=%{_ttffontsdir}
%install
rm -rf $RPM_BUILD_ROOT
@@ -55,6 +43,8 @@ cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/61-oxygen-mono
ln -s %{_datadir}/fontconfig/conf.avail/61-oxygen-sans.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
ln -s %{_datadir}/fontconfig/conf.avail/61-oxygen-mono.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -69,8 +59,3 @@ fontpostinst TTF
%{_ttffontsdir}/Oxygen*.ttf
%{_datadir}/fontconfig/conf.avail/61-oxygen-*.conf
%{_sysconfdir}/fonts/conf.d/61-oxygen-*.conf
-
-%files devel
-%defattr(644,root,root,755)
-%{_libdir}/cmake/OxygenFont
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fonts-TTF-KDE-Oxygen.git/commitdiff/779d18666f375cba422351338be0627775461dca
More information about the pld-cvs-commit
mailing list