Name: lat Summary: LDAP Administration Tool Version: 1.0.3 Release: 1%{?dist} License: GPL Group: Applications/Productivity Url: http://dev.mmgsecurity.com/projects/lat/ Source0: http://dev.mmgsecurity.com/downloads/lat/lat-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: mono-devel, gtk-sharp2, gnome-keyring-devel, scrollkeeper Requires: mono-data, gtk-sharp2 Requires(post): desktop-file-utils, scrollkeeper Requires(postun): desktop-file-utils, scrollkeeper %description LAT stands for LDAP Administration Tool. The tool allows you to browse LDAP-based directories and add/edit/delete entries contained within. It can store profiles for quick access to different servers. There are also different views available such as Users, Groups and Hosts that allow you to manage objects easily without having to deal with the intricacies of LDAP. %prep %setup -q %build export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} %configure --disable-dependency-tracking %install %{__rm} -rf %{buildroot} export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} %{__make} DESTDIR=%{buildroot} install # remove libtool archives /usr/bin/find %{buildroot}%{_libdir} -name '*.la' -exec %{__rm} -f {} \; # Remove scrollkeeper crud (rebuilt in %%post) %{__rm} -rf %{buildroot}%{_localstatedir}/scrollkeeper %find_lang %{name} %clean %{__rm} -rf %{buildroot} %post /usr/bin/update-desktop-database &> /dev/null || : /usr/bin/scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : %postun /usr/bin/update-desktop-database &> /dev/null || : /usr/bin/scrollkeeper-update -q || : %files -f %{name}.lang %{_bindir}/lat %{_libdir}/lat/ %{_datadir}/application-registry/lat.applications %{_datadir}/applications/lat.desktop %{_datadir}/gnome/help/lat/ %{_datadir}/omf/lat/ %{_datadir}/pixmaps/lat.png %{_mandir}/man1/lat.1* %changelog * Tue Mar 28 2006 Paul Howarth - 1.0.3-1 - Update to 1.0.3 - Fix URL/Source tag mix-up - Use Fedora Extras standard buildroot - Buildreq/Req gtk-sharp2 rather than gtk-sharp - Consolidate scriptlet deps - Use --disable-dependency-tracking with configure to speed up build - Expand %%description - Remove buildroot unconditionally in %%clean and %%install - Use explicit paths for all commands - Remove build-time scrollkeeper data, which contains buildroot traces - Tidy up %%files section - Add %%{?dist} tag * Tue Jan 10 2006 David Malcolm - 0.8.2-1 - Initial version