diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-19 08:51:10 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-20 11:03:46 -0400 |
commit | b36f0b680ad77eeae4085137c2467f2c69e2a1a2 (patch) | |
tree | fd875cc18a63b69bcfdc7c846cfb280c13ec2240 | |
parent | 9c34508fc840db1228bf03726a3e33c105b83fcc (diff) | |
download | sssd-b36f0b680ad77eeae4085137c2467f2c69e2a1a2.tar.gz sssd-b36f0b680ad77eeae4085137c2467f2c69e2a1a2.tar.bz2 sssd-b36f0b680ad77eeae4085137c2467f2c69e2a1a2.zip |
Better detect installed language files
-rw-r--r-- | contrib/sssd.spec.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 2f33e2f7..c79da9c9 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -87,6 +87,10 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT +# Prepare language files +/usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT sss_daemon +/usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT sss_client + # Copy default sssd.conf file mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sssd install -m600 server/examples/sssd.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf @@ -113,7 +117,7 @@ fi %clean rm -rf $RPM_BUILD_ROOT -%files -f locator.filelist +%files -f locator.filelist -f sss_daemon.lang %defattr(-,root,root,-) %doc COPYING %{_initrddir}/%{name} @@ -148,14 +152,12 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/sss_userdel.8* %{_mandir}/man8/sss_usermod.8* %{_mandir}/man8/sssd_krb5_locator_plugin.8* -%{_datadir}/locale/*/LC_MESSAGES/sss_client.mo -%{_datadir}/locale/*/LC_MESSAGES/sss_daemon.mo %{python_sitearch}/pysss.so %{python_sitelib}/*.py* %{?fedora:%{python_sitelib}/*.egg-info} -%files client +%files client -f sss_client.lang %defattr(-,root,root,-) /%{_lib}/libnss_sss.so.2 /%{_lib}/security/pam_sss.so @@ -182,6 +184,9 @@ if [ $1 -ge 1 ] ; then fi %changelog +* Mon Sep 28 2009 Sumit Bose <sbose@redhat.com> - 0.6.0-0 +- New upstream release 0.6.0 + * Fri Sep 25 2009 Simo Sorce <ssorce@redhat.com> - 0.5.0-1 - Split package into server and clients components - Convert to new config file format |