From f7677b8c1edceefe6d282a9881b52f0d795278e4 Mon Sep 17 00:00:00 2001 From: Denis Leroy Date: Oct 08 2006 21:16:50 +0000 Subject: auto-import glom-1.0.5-4 on branch devel from glom-1.0.5-4.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..4b33d34 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +glom-1.0.5.tar.bz2 diff --git a/glom-1.0.5-poconfig.patch b/glom-1.0.5-poconfig.patch new file mode 100644 index 0000000..ca9840d --- /dev/null +++ b/glom-1.0.5-poconfig.patch @@ -0,0 +1,10 @@ +--- glom-1.0.5/configure.in.orig 2006-10-04 19:32:11.000000000 -0700 ++++ glom-1.0.5/configure.in 2006-10-04 19:32:24.000000000 -0700 +@@ -21,6 +21,7 @@ + [The domain name to use with gettext.]) + + ALL_LINGUAS="ca cs de en_CA en_GB es fi fr gu hu it nb ne nl pa pt pt_BR rw sq sv tr vi zh_CN" ++AC_SUBST(ALL_LINGUAS) + + AM_GLIB_GNU_GETTEXT + IT_PROG_INTLTOOL([0.35.0]) diff --git a/glom.spec b/glom.spec new file mode 100644 index 0000000..8cb04fd --- /dev/null +++ b/glom.spec @@ -0,0 +1,139 @@ +%define major_version 1.0 +%define minor_version 5 + +Name: glom +Version: %{major_version}.%{minor_version} +Release: 4%{?dist} +Summary: Easy-to-use database designer and user interface + +Group: Applications/Databases +License: GPL +URL: http://www.glom.org/ +Source0: http://ftp.gnome.org/pub/GNOME/sources/glom/%{major_version}/%{name}-%{major_version}.%{minor_version}.tar.bz2 +Patch0: glom-1.0.5-poconfig.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: bakery-devel >= 2.4 +BuildRequires: desktop-file-utils gettext intltool +BuildRequires: libgdamm-devel >= 1.3.7 +BuildRequires: python-devel +BuildRequires: gnome-python2-gda-devel +BuildRequires: libgnomecanvasmm26-devel >= 2.10 +BuildRequires: libgnome-devel >= 2.6.0 +BuildRequires: libxslt-devel >= 1.1.10 +BuildRequires: pygtk2-devel >= 2.6 +BuildRequires: iso-codes-devel +BuildRequires: gnome-doc-utils +BuildRequires: scrollkeeper +%ifarch x86_64 +BuildRequires: automake libtool +%endif + +Requires: compat-gda-postgres + +Requires(post): shared-mime-info desktop-file-utils +Requires(postun): shared-mime-info desktop-file-utils +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires(post): scrollkeeper +Requires(postun): scrollkeeper + + +%description +Glom lets you design database systems - the database and the user +interface. Glom has high-level features such as relationships, +lookups, related fields, related records, calculated fields, drop-down +choices, searching, reports, users and groups. It has Numeric, Text, +Date, Time, Boolean, and Image field types. Glom systems require +almost no programming, but you may use Python for calculated fields or +buttons. Glom uses the PostgreSQL database backend. + + +%prep +%setup -q +%patch0 -p1 -b .poconfig + + +%build +%ifarch x86_64 +autoreconf -f -i +%endif +%configure \ + --disable-dependency-tracking \ + --disable-static \ + --disable-update-mime-database \ + --disable-scrollkeeper \ + --disable-rpath +make %{?_smp_mflags} + + +%install +rm -rf ${RPM_BUILD_ROOT} +make install DESTDIR=${RPM_BUILD_ROOT} +%find_lang %{name} +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' + +rm -f ${RPM_BUILD_ROOT}%{_libdir}/libglom.so + +cat << EOF >> ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop +MimeType=application/x-glom; +EOF + +desktop-file-install --vendor fedora --delete-original \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + --add-category X-Fedora \ + ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop + + +%clean +rm -rf ${RPM_BUILD_ROOT} + + +%post +update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : +scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : +/sbin/ldconfig + + +%postun +update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : +scrollkeeper-update -q || : +/sbin/ldconfig + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog NEWS README +%{_bindir}/%{name} +%{_libdir}/lib%{name}.so.* +%{_libdir}/python2.4/site-packages/%{name}.so +%{_datadir}/%{name}/ +%{_datadir}/applications/fedora-%{name}.desktop +%{_datadir}/gnome/help/%{name} +%{_datadir}/icons/hicolor/48x48/apps/%{name}.png +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%{_datadir}/mime/packages/%{name}.xml +%{_datadir}/mime-info/* + + +%changelog +* Fri Oct 6 2006 Denis Leroy - 1.0.5-4 +- fixed x86_64 spec, vfsmm patch no longer needed + +* Thu Oct 5 2006 Denis Leroy - 1.0.5-3 +- Added scrollkeeper db updates +- Added mime-type key to desktop file +- Added autoreconf and patch to fix rpath problem + +* Wed Oct 4 2006 Denis Leroy - 1.0.5-2 +- Fixed BRs +- Enabled scrollkeeper + +* Tue Oct 3 2006 Denis Leroy - 1.0.5-1 +- Update to 1.0.5 + +* Thu Aug 3 2006 Denis Leroy - 1.0.4-1 +- First version + diff --git a/sources b/sources index e69de29..6976031 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +55e5b35d268e342ed5305e9c798856a4 glom-1.0.5.tar.bz2