rpms/lat/devel lat.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Sat Jun 17 12:36:44 UTC 2006


Author: pghmcfc

Update of /cvs/extras/rpms/lat/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24059/devel

Modified Files:
	.cvsignore sources 
Added Files:
	lat.spec 
Log Message:
auto-import lat-1.0.5-5 on branch devel from lat-1.0.5-5.src.rpm


--- NEW FILE lat.spec ---
Name:           lat
Summary:        LDAP Administration Tool
Version:        1.0.5
Release:        5%{?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
BuildRequires:  scrollkeeper, gettext
BuildArch:      noarch
Requires:       mono-data, gtk-sharp2

Requires(post):   scrollkeeper
Requires(postun): scrollkeeper

# Horrible, horrible, mono hacks
%define _target_platform sparc86x-%{_vendor}-%{_target_os}%{?_gnu}
%define _libdir %{_prefix}/lib

%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
%configure --disable-dependency-tracking

%install
%{__rm} -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} \
	appicondir=%{_datadir}/icons/hicolor/22x22/apps \
	install

# Remove scrollkeeper crud (rebuilt in %%post)
%{__rm} -rf %{buildroot}%{_localstatedir}/scrollkeeper

# Fix up desktop file
/usr/bin/desktop-file-install \
	--vendor fedora \
	--delete-original \
	--dir %{buildroot}%{_datadir}/applications \
	--add-category X-Fedora \
	%{buildroot}%{_datadir}/applications/lat.desktop

# Find translations
%find_lang %{name}

%clean
%{__rm} -rf %{buildroot}

%post
/usr/bin/scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
/bin/touch --no-create %{_datadir}/icons/hicolor || :
[ -x %{_bindir}/gtk-update-icon-cache ] && %{_bindir}/gtk-update-icon-cache \
	--quiet %{_datadir}/icons/hicolor || :

%postun
/usr/bin/scrollkeeper-update -q || :
/bin/touch --no-create %{_datadir}/icons/hicolor || :
[ -x %{_bindir}/gtk-update-icon-cache ] && %{_bindir}/gtk-update-icon-cache \
	--quiet %{_datadir}/icons/hicolor || :

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING* README TODO
%{_bindir}/lat
%{_libdir}/lat/
%{_datadir}/application-registry/lat.applications
%{_datadir}/applications/fedora-lat.desktop
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%{_datadir}/gnome/help/lat/
%{_datadir}/icons/hicolor/22x22/apps/lat.png
%dir %{_datadir}/omf/
%{_datadir}/omf/lat/
%{_mandir}/man1/lat.1*

%changelog
* Sat Jun 17 2006 Paul Howarth <paul at city-fan.org> - 1.0.5-5
- Reinstate %%{_libdir} hack for consistency with other mono apps that actually
  need it

* Thu Jun 15 2006 Paul Howarth <paul at city-fan.org> - 1.0.5-4
- Use %%{_prefix}/lib rather than %%{_libdir}, needed for 64-bit builds

* Thu Jun 15 2006 Paul Howarth <paul at city-fan.org> - 1.0.5-3
- Pure C# apps should be noarch
- Swap one set of horrible mono hacks for another

* Mon Jun 12 2006 Paul Howarth <paul at city-fan.org> - 1.0.5-2
- Spec file cleanups (#177580)
-   No need to use update-desktop-database (no MIME type in desktop file)
-   No need to remove .la files (artefact from old package)
-   Own directories %{_datadir}/gnome/ %{_datadir}/gnome/help/ %{_datadir}/omf/
-   Put icon in %{_datadir}/icons/hicolor/22x22/apps directory rather than
    %{_datadir}/pixmaps, and update icon cache post-install/removal
-   Add doc files AUTHORS ChangeLog COPYING* README TODO
- Add missing buildreq gettext
- Remove redundant MONO_SHARED_DIR assignments in %%build and %%install
- Don't redefine %%{_libdir}, it's not needed
- Prevent creation of debuginfo package, which would be empty for a mono app

* Mon May 22 2006 Paul Howarth <paul at city-fan.org> - 1.0.5-1
- Update to 1.0.5
- Use desktop-file-install

* Thu Apr 20 2006 Paul Howarth <paul at city-fan.org> - 1.0.4-1
- Update to 1.0.4
- 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
- Hardcode %%{_libdir} as /usr/lib for mono apps
- Add %%defattr in %%files list

* Tue Jan 10 2006 David Malcolm <dmalcolm at redhat.com> - 0.8.2-1
- Initial version


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/lat/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Jun 2006 12:35:39 -0000	1.1
+++ .cvsignore	17 Jun 2006 12:36:44 -0000	1.2
@@ -0,0 +1 @@
+lat-1.0.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/lat/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Jun 2006 12:35:39 -0000	1.1
+++ sources	17 Jun 2006 12:36:44 -0000	1.2
@@ -0,0 +1 @@
+fba898aa586611de990663e030928997  lat-1.0.5.tar.gz




More information about the fedora-extras-commits mailing list