Group :: Desktop gráfico/Outros
RPM: ayatana-indicator-printers
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define _libexecdir %_prefix/libexec
Name: ayatana-indicator-printers
Version: 22.2.0
Release: alt2
Summary: Ayatana Indicator showing active print jobs
License: GPLv3
Group: Graphical desktop/Other
Url: https://github.com/AyatanaIndicators/ayatana-indicator-printers
Packager: Nikolay Strelkov <snk at altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-macros-cmake rpm-macros-systemd
BuildRequires: libaccounts-glib-devel libayatana-indicator3-devel libcups-devel libdbusmenu-gtk3-devel mate-common
BuildRequires: ayatana-indicator-common
BuildRequires: libdbus-devel
BuildRequires: libsystemd-devel
%description
This Ayatana Indicator is designed to let you view and control
active print jobs.
Use an indicator plugin for your desktop environment or a desktop
environment that natively supports indicators to provide this
indicator to the user.
%prep
%setup
%build
NOCONFIGURE=1 mate-autogen
%configure \
--disable-static \
--disable-gcov
%make_build V=1
%install
%makeinstall_std
find %buildroot -type f -name "*.la" -delete -print
# these translations are ignored by %%find_lang
rm -fv %buildroot%_datadir/locale/it_CARES/LC_MESSAGES/%name.mo
rm -fv %buildroot%_datadir/locale/zh_LATN at pinyin/LC_MESSAGES/%name.mo
%find_lang %name
%post
%systemd_user_post %name.service
%preun
%systemd_user_preun %name.service
%postun
%systemd_user_postun %name.service
%files -f %name.lang
%doc COPYING AUTHORS AUTHORS.Canonical NEWS README
%config %_sysconfdir/xdg/autostart/%name.desktop
%dir %_libexecdir/%name/
%_libexecdir/%name/%{name}-service
%dir %_libdir/ayatana-indicators3
%dir %_libdir/ayatana-indicators3/7
%_libdir/ayatana-indicators3/7/libayatana-printersmenu.so
%dir %_prefix/lib/systemd
%dir %_userunitdir
%_userunitdir/%name.service
%changelog
…
Todas as alterações você pod ver aqui
%define _libexecdir %_prefix/libexec
Name: ayatana-indicator-printers
Version: 22.2.0
Release: alt2
Summary: Ayatana Indicator showing active print jobs
License: GPLv3
Group: Graphical desktop/Other
Url: https://github.com/AyatanaIndicators/ayatana-indicator-printers
Packager: Nikolay Strelkov <snk at altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-macros-cmake rpm-macros-systemd
BuildRequires: libaccounts-glib-devel libayatana-indicator3-devel libcups-devel libdbusmenu-gtk3-devel mate-common
BuildRequires: ayatana-indicator-common
BuildRequires: libdbus-devel
BuildRequires: libsystemd-devel
%description
This Ayatana Indicator is designed to let you view and control
active print jobs.
Use an indicator plugin for your desktop environment or a desktop
environment that natively supports indicators to provide this
indicator to the user.
%prep
%setup
%build
NOCONFIGURE=1 mate-autogen
%configure \
--disable-static \
--disable-gcov
%make_build V=1
%install
%makeinstall_std
find %buildroot -type f -name "*.la" -delete -print
# these translations are ignored by %%find_lang
rm -fv %buildroot%_datadir/locale/it_CARES/LC_MESSAGES/%name.mo
rm -fv %buildroot%_datadir/locale/zh_LATN at pinyin/LC_MESSAGES/%name.mo
%find_lang %name
%post
%systemd_user_post %name.service
%preun
%systemd_user_preun %name.service
%postun
%systemd_user_postun %name.service
%files -f %name.lang
%doc COPYING AUTHORS AUTHORS.Canonical NEWS README
%config %_sysconfdir/xdg/autostart/%name.desktop
%dir %_libexecdir/%name/
%_libexecdir/%name/%{name}-service
%dir %_libdir/ayatana-indicators3
%dir %_libdir/ayatana-indicators3/7
%_libdir/ayatana-indicators3/7/libayatana-printersmenu.so
%dir %_prefix/lib/systemd
%dir %_userunitdir
%_userunitdir/%name.service
%changelog
…
Todas as alterações você pod ver aqui