Name: gnomint Version: 0.5.4 Release: 2%{?dist} Summary: Graphical x509 Certification Authority management tool Group: Applications/System License: GPLv3+ URL: http://gnomint.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gnutls-devel >= 2 BuildRequires: libgnomeui-devel BuildRequires: gettext BuildRequires: desktop-file-utils BuildRequires: perl(XML::Parser) BuildRequires: sqlite-devel >= 3 BuildRequires: intltool Requires(pre): GConf2 Requires(post): GConf2 Requires(preun):GConf2 %description Certification Authority management made easy. gnoMint is a x509 Certification Authority management tool for GTK/Gnome environments. %prep %setup -q %build sed -i -e 's|CFLAGS="-Wall -Werror -g "|true|' configure %configure --disable-schemas-install make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" desktop-file-install --delete-original \ --remove-category=Application \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : fi %post update-mime-database %{_datadir}/mime/ &> /dev/null || : update-desktop-database %{_datadir}/applications || : export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : %postun update-mime-database %{_datadir}/mime/ &> /dev/null || : update-desktop-database %{_datadir}/applications || : %files -f %{name}.lang %defattr(-,root,root,-) %doc README AUTHORS COPYING NEWS MAINTAINERS %doc ChangeLog %{_bindir}/%{name} %{_bindir}/%{name}-upgrade-db %dir %{_datadir}/%{name} %{_datadir}/%{name}/*.png %{_datadir}/%{name}/%{name}.glade %{_datadir}/mime/packages/%{name}.xml %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %{_sysconfdir}/gconf/schemas/%{name}.schemas %changelog * Thu Oct 9 2008 Adam Huffman - 0.5.4-2 - ensure correct CFLAGS - don't call gconf-2 during rpmbuild - fix scriptlet closures * Sun Oct 5 2008 Adam Huffman - 0.5.4-1 - new upstream release - remove compilation fix patch - add BR for intltool - remove Application category from .desktop file * Sun Sep 28 2008 Adam Huffman - 0.5.3-3 - add compilation fix patch * Tue Sep 23 2008 Adam Huffman - 0.5.3-2 - remove redundant BR - remove empty/inappropriate doc files - pre/post/preun Requires - fix License tag * Sun Sep 21 2008 Adam Huffman - 0.5.3-1 - initial version