Группа :: Разработка/Прочее
Пакет: rpm-build-xdg
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: rpm-build-xdg
Version: 0.2
Release: alt1
Summary: RPM macros for XDG Base Directory Specification and more
License: %gpl3plus
Group: Development/Other
Url: http://standards.freedesktop.org/basedir-spec/
Packager: Alexey Rusakov <ktirf at altlinux.org>
BuildArch: noarch
BuildPreReq: rpm-build-licenses
%description
This package contains RPM macros that correspond to standard values defined
in XDG Base Directory Specification and other specifications that reference
this. Note that these macros do not replace values of environment variables
that are defined in the Specification, they just set some default paths
that are used for packaging XDG-compliant software.
%install
cat <<__EOF__ >xdg.rpmmacros
%%_xdgdatadir %%_datadir
%%_xdgmimedir %%_xdgdatadir/mime
%%_xdgconfigdir %%_sysconfdir/xdg
%%_xdgmenusdir %%_xdgconfigdir/menus
__EOF__
install -D -m644 xdg.rpmmacros %buildroot/%_rpmmacrosdir/xdg
%files
%_rpmmacrosdir/xdg
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.2
Release: alt1
Summary: RPM macros for XDG Base Directory Specification and more
License: %gpl3plus
Group: Development/Other
Url: http://standards.freedesktop.org/basedir-spec/
Packager: Alexey Rusakov <ktirf at altlinux.org>
BuildArch: noarch
BuildPreReq: rpm-build-licenses
%description
This package contains RPM macros that correspond to standard values defined
in XDG Base Directory Specification and other specifications that reference
this. Note that these macros do not replace values of environment variables
that are defined in the Specification, they just set some default paths
that are used for packaging XDG-compliant software.
%install
cat <<__EOF__ >xdg.rpmmacros
%%_xdgdatadir %%_datadir
%%_xdgmimedir %%_xdgdatadir/mime
%%_xdgconfigdir %%_sysconfdir/xdg
%%_xdgmenusdir %%_xdgconfigdir/menus
__EOF__
install -D -m644 xdg.rpmmacros %buildroot/%_rpmmacrosdir/xdg
%files
%_rpmmacrosdir/xdg
%changelog
…
Полный changelog можно просмотреть здесь