]> git.pld-linux.org Git - packages/gASQL.git/blobdiff - gASQL.spec
- updated gettext BR
[packages/gASQL.git] / gASQL.spec
index 3966f3dff6d6a3e96f172a0569f96b0c7f476964..d89778fcefb4927aa92664f0305ef3126b57fa1a 100644 (file)
@@ -1,69 +1,58 @@
-# Note that this is NOT a relocatable package
-# defaults for redhat
-%define name   gASQL
-%define ver    0.5.3
-%define prefix     /usr
-%define sysconfdir /etc
-
-%define  RELEASE 1
-%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
-
-Summary: gASQL
-Name:          %name
-Version:       %ver
-Release:       %rel
-Copyright:     GPL
-Group:                 X11/GNOME/Applications
-Source:                %{name}-%{ver}.tar.gz
-BuildRoot:     /tmp/%{name}-%{ver}-root
-URL:           http://malerba.linuxave.net/
-DocDir:        %{prefix}/doc
+Summary:       gASQL - program which helps administer a DBMS database using the gnome-db framework
+Summary(pl.UTF-8):     gASQL - program pomagający administrować bazą danych przy użyciu gnome-db
+Name:          gASQL
+Version:       0.5.3
+Release:       2
+License:       GPL
+Group:         X11/Applications
+Source0:       http://malerba.linuxave.net/src/%{name}-%{version}.tar.gz
+# Source0-md5: b580c66eaed3db6df872c97bdf931159
+URL:           http://malerba.linuxave.net/
+BuildRequires: gettext-tools
+BuildRequires: gnome-db-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                sysconfdir      /etc/X11/GNOME
 
 %description
-gASQL is a database admin tool working with gnome-db
+gASQL is a program which helps administer a DBMS database using the
+gnome-db framework. Basically, it memorizes all the structure of the
+database, and some queries, and does the SQL queries instead of the
+user (not having to type all over again those SQL commands, although
+it is still possible to do so).
+
+%description -l pl.UTF-8
+gASQL to program pomagający administrować systemem baz danych używając
+środowiska gnome-db. Pamięta całą strukturę bazy, niektóre zapytania,
+a także wykonuje zapytania SQL zamiast użytkownika (który nie musi
+pisać całych komend SQL - ale nadal może).
 
 %prep
-%setup
+%setup -q
 
 %build
-
-# libtool workaround for alphalinux
-%ifarch alpha
-  ARCH_FLAGS="--host=alpha-redhat-linux"
-%endif
-
-CFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix} --sysconfdir=%{sysconfdir} 
-
-if [ "$SMP" != "" ]; then
-  (make "MAKE=make -k -j $SMP"; exit 0)
-  make
-else
-  make
-fi
+%{__gettextize}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} \
-gASQL_Helpdir=$RPM_BUILD_ROOT%{prefix}/share/gnome/help/gASQL \
-gnorbadir=$RPM_BUILD_ROOT%{sysconfdir}/CORBA/servers \
-Applicationsdir=$RPM_BUILD_ROOT%{prefix}/share/gnome/apps/Applications \
-Pixmapdir=$RPM_BUILD_ROOT%{prefix}/share/pixmaps \
-install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Applicationsdir={_applnkdir}/Office/Databases
+
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-                                                         
-%files
-%defattr(-, root, root)
-
-%doc AUTHORS COPYING ChangeLog NEWS README TODO
-%doc examples/ 
-%{prefix}/bin/gasql
-%{prefix}/share/pixmaps/*
-%{prefix}/share/locale/*
-%{prefix}/share/gnome/apps/Applications/gasql.desktop
-%{prefix}/share/gnome/help/gASQL/C/*
-%{prefix}/share/gnome/help/gASQL/fr/*
-%{prefix}/share/gASQL/plugins/*
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO examples
+%attr(755,root,root) %{_bindir}/gasql
+%{_pixmapsdir}/*
+%{_applnkdir}/Office/Databases/gasql.desktop
+%dir %{_datadir}/gASQL
+%dir %{_datadir}/gASQL/plugins
+%{_datadir}/gASQL/plugins/*
This page took 0.175129 seconds and 4 git commands to generate.