%if %{?rhel}%{!?rhel:0} <= 5 %global _datarootdir %{_datadir} %endif Name: nordugrid-arc-RTE-ENV-X509_USER_PROXY Version: 0.1 Release: 2%{?dist} Summary: Nordugrid ARC 'ENV/X509_USER_PROXY' RTE Group: Applications/System License: ASL 2.0 URL: http://trac.grid.org.ua/repos/workarea/arc-misc/arc-runtime-manage/ Source0: PROXY BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: nordugrid-arc-runtime-manage %description Nordugrid ARC 'ENV/X509_USER_PROXY' RTE %prep %setup -q -c -T install -pm 644 %{SOURCE0} . %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_datarootdir}/arc/RTE/ENV install -Dpm 644 %{SOURCE0} %{buildroot}%{_datarootdir}/arc/RTE/ENV/X509_USER_PROXY %post %{_sbindir}/nordugrid-arc-runtime-manage -i ENV/X509_USER_PROXY %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_datarootdir}/arc/RTE/ENV/X509_USER_PROXY %changelog * Mon Oct 07 2013 Andrii Salnikov - 0.2-1 - Initial Package