]> git.pld-linux.org Git - packages/gaby.git/blobdiff - gaby.spec
- fix for gnome/help dir and safe gdb-both.dsl
[packages/gaby.git] / gaby.spec
index 84cf6bbd4df63b6800da42051ff3e0ea5c17d022..e9a10265c5eda6636d99c5f81a54c5bf74a9fdf9 100644 (file)
--- a/gaby.spec
+++ b/gaby.spec
@@ -8,40 +8,32 @@
 # _without_gdk_pixbuf  - without gdk-pixbuf
 #
 Summary:       Gaby is a small personal databases manager
-Summary(pl):   Gaby - ma³y osobisty menad¿er baz danych
+Summary(pl):   Gaby - ma³y osobisty zarz±dca baz danych
 Name:          gaby
 Version:       2.0.2
 Release:       1
-Group:         X11/Applications
-Group(de):     X11/Applikationen
-Group(es):     X11/Aplicaciones
-Group(pl):     X11/Aplikacje
-Group(pt_BR):  X11/Aplicações
-Group(pt):     X11/Aplicações
 License:       GPL
-Url:           http://gaby.sourceforge.net/
+Group:         X11/Applications
 Source0:       http://gaby.sourceforge.net/archives/%{name}-%{version}.tar.gz
-Patch0:                gaby-DESTDIR.patch
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-BuildRequires: libtool
+# Source0-md5: 1203f7a548e46bc0bf5987fb2e1508ee
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://gaby.sourceforge.net/
 BuildRequires: bison
-%{!?_without_gui:BuildRequires:                gtk+-devel >= 1.2.0}
-%{!?_without_python:BuildRequires:     python-devel}
+%{!?_without_gdk_pixbuf:BuildRequires: gdk-pixbuf-devel}
 %{!?_without_gnome:BuildRequires:      gnome-libs-devel}
+%{!?_without_gui:BuildRequires:                gtk+-devel >= 1.2.0}
 %{!?_without_libglade:BuildRequires:   libglade-devel}
-# shouldn't this dependency be moved to libglade-devel ?
+BuildRequires: libtool
 %{!?_without_libglade:BuildRequires:   libxml-devel}
 %{!?_without_xml:BuildRequires:                libxml-devel}
-%{!?_without_gdk_pixbuf:BuildRequires: gdk-pixbuf-devel}
-%{!?_without_gui:Requires:     gtk+ >= 1.2.0}
-%{!?_without_python:Requires:  python}
-%{!?_without_gnome:Requires:   gnome-libs}
+%{!?_without_python:BuildRequires:     python-devel}
 # python-pygtk and gtk+-devel require to be installed with the same prefix
 # to be visible; currently not this case :(
 %{!?_without_python:%{!?_without_gui:Requires: python-pygtk}}
-
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
+%{!?_without_gnome:Requires:   gnome-libs}
+%{!?_without_gui:Requires:     gtk+ >= 1.2.0}
+%{!?_without_python:Requires:  python}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Gaby is a small personal databases manager using GTK+ and Gnome (if
@@ -52,11 +44,11 @@ On a technical side it was designed with extensibility in mind and
 relies a lot on plug-ins.
 
 %description -l pl
-Gaby jest ma³ym osobistym menad¿erem baz danych u¿ywaj±cym GTK+ i
-GNOME. Zosta³ zaprojektowany aby dostarczyæ prosty dostêp do baz
+Gaby jest ma³ym osobistym zarz±dc± baz danych u¿ywaj±cym GTK+ i
+GNOME. Zosta³ zaprojektowany aby udostêpniæ prosty dostêp do baz
 danych, które "zwyk³y" u¿ytkownik chcia³by mieæ (adresy, ksi±¿ki...),
 pozwalaj±c ³atwo tworzyæ bazy do innych celów. Od technicznej strony
-zosta³ zaprojektowany tak, by byæ rozszerzalnym poprzez pluginy.
+zosta³ zaprojektowany tak, by byæ rozszerzalnym poprzez wtyczki.
 
 %prep
 %setup -q
@@ -72,32 +64,31 @@ CFLAGS="%{rpmcflags}" ./configure \
        %{?_without_libglade:--without-libglade-config} \
        %{?_without_xml:--without-xml-config} \
        %{?_without_gdk_pixbuf:--disable-gdk_pixbuftest} \
-       
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
 
-gzip -9nf AUTHORS BUGS ChangeLog NEWS README* TODO*
+%{__make} install \
+       prefix=$RPM_BUILD_ROOT%{_prefix}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS.gz BUGS.gz ChangeLog.gz Gabyrc NEWS.gz README.gz
-%doc README.translations.gz README.upgrading.gz TODO.gz TODO.more.gz 
-%doc doc/*.sgml doc/C/*.sgml 
+%doc AUTHORS BUGS ChangeLog NEWS README* TODO* Gabyrc 
+%doc doc/*.sgml doc/C/*.sgml
 %{_sysconfdir}/gaby
 %{_libdir}/gaby
 %{_datadir}/gaby
-%attr(755,root,root) %{_bindir}/gaby 
-%attr(755,root,root) %{_bindir}/gabyprint 
-%attr(755,root,root) %{_bindir}/gbc 
-%attr(755,root,root) %{_bindir}/gcd 
-%attr(755,root,root) %{_bindir}/videobase 
-%attr(755,root,root) %{_bindir}/gnomecard 
+%attr(755,root,root) %{_bindir}/gaby
+%attr(755,root,root) %{_bindir}/gabyprint
+%attr(755,root,root) %{_bindir}/gbc
+%attr(755,root,root) %{_bindir}/gcd
+%attr(755,root,root) %{_bindir}/videobase
+%attr(755,root,root) %{_bindir}/gnomecard
 %attr(755,root,root) %{_bindir}/builder
 %lang(da) %{_datadir}/locale/da/LC_MESSAGES/gaby.mo
 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/gaby.mo
This page took 0.048171 seconds and 4 git commands to generate.