Group :: Desktop gráfico/Outros
RPM: matchbox-panel
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-install /usr/bin/msgfmt /usr/bin/msgmerge /usr/bin/xgettext
# END SourceDeps(oneline)
BuildRequires: desktop-file-utils
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
# %%version is ahead of its definition. Predefining for rpm 4.0 compatibility.
%define version 0.9.3
%define url_ver %(echo %{version} | cut -d. -f1,2)
Summary: Panel for the Matchbox Desktop
Name: matchbox-panel
Version: 0.9.3
Release: alt1_12
Url: http://matchbox-project.org/
License: GPLv2+
Group: Graphical desktop/Other
Source0: https://downloads.yoctoproject.org/releases/matchbox/%name/%url_ver/%name-%version.tar.bz2
Patch0: matchbox-panel-0.9.3-linking.patch
Patch1: matchbox-panel-0.9.3-automake-1.13.patch
BuildRequires: pkgconfig(libmb)
BuildRequires: libapm-devel
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: libwireless-devel
Source44: import.info
Patch33: matchbox-panel-0.9.3-alt-xvt.patch
%description
Matchbox is a base environment for the X Window System running on non-desktop
embedded platforms such as handhelds, set-top boxes, kiosks and anything else
for which screen space, input mechanisms or system resources are limited.
This package contains the panel from Matchbox.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
#fix desktop files
sed -i -e 's,\(Icon=.*\)\.png,\1,g' applets/dotdesktop/*.desktop
%patch33 -p1
%build
autoreconf -vfi
%configure \
--enable-nls \
--enable-dnotify \
--enable-startup-notification
%make
%install
%makeinstall_std
desktop-file-install \
--vendor="" \
--set-key="Type" \
--set-value="Application" \
--remove-category="MB" \
--remove-category="Panel" \
--dir=%{buildroot}%{_datadir}/applications/ \
%{buildroot}%{_datadir}/applications/*.desktop
%find_lang %name
%files -f %name.lang
%doc AUTHORS README ChangeLog
%_bindir/*
%_datadir/pixmaps/*
%_datadir/applications/*
%changelog
…
Todas as alterações você pod ver aqui
BuildRequires: /usr/bin/desktop-file-install /usr/bin/msgfmt /usr/bin/msgmerge /usr/bin/xgettext
# END SourceDeps(oneline)
BuildRequires: desktop-file-utils
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
# %%version is ahead of its definition. Predefining for rpm 4.0 compatibility.
%define version 0.9.3
%define url_ver %(echo %{version} | cut -d. -f1,2)
Summary: Panel for the Matchbox Desktop
Name: matchbox-panel
Version: 0.9.3
Release: alt1_12
Url: http://matchbox-project.org/
License: GPLv2+
Group: Graphical desktop/Other
Source0: https://downloads.yoctoproject.org/releases/matchbox/%name/%url_ver/%name-%version.tar.bz2
Patch0: matchbox-panel-0.9.3-linking.patch
Patch1: matchbox-panel-0.9.3-automake-1.13.patch
BuildRequires: pkgconfig(libmb)
BuildRequires: libapm-devel
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: libwireless-devel
Source44: import.info
Patch33: matchbox-panel-0.9.3-alt-xvt.patch
%description
Matchbox is a base environment for the X Window System running on non-desktop
embedded platforms such as handhelds, set-top boxes, kiosks and anything else
for which screen space, input mechanisms or system resources are limited.
This package contains the panel from Matchbox.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
#fix desktop files
sed -i -e 's,\(Icon=.*\)\.png,\1,g' applets/dotdesktop/*.desktop
%patch33 -p1
%build
autoreconf -vfi
%configure \
--enable-nls \
--enable-dnotify \
--enable-startup-notification
%make
%install
%makeinstall_std
desktop-file-install \
--vendor="" \
--set-key="Type" \
--set-value="Application" \
--remove-category="MB" \
--remove-category="Panel" \
--dir=%{buildroot}%{_datadir}/applications/ \
%{buildroot}%{_datadir}/applications/*.desktop
%find_lang %name
%files -f %name.lang
%doc AUTHORS README ChangeLog
%_bindir/*
%_datadir/pixmaps/*
%_datadir/applications/*
%changelog
…
Todas as alterações você pod ver aqui