]> git.pld-linux.org Git - packages/edb.git/blobdiff - edb.spec
- rel 4
[packages/edb.git] / edb.spec
index a55977f609597664af67f020492eb7bb935a6ba3..e2095311dacdbda584a05b5f2467613d57cfef9c 100644 (file)
--- a/edb.spec
+++ b/edb.spec
@@ -1,91 +1,88 @@
+%define                _snap   20080813
 Summary:       Enlightenment Database Access Library
-Summary(pl):   Biblioteka Enlightementa dostêpu do baz danych
+Summary(pl.UTF-8):     Biblioteka Enlightementa dostępu do baz danych
 Name:          edb
-Version:       1.0.2
-Release:       1
-License:       LGPL
+Version:       1.0.5.043
+Release:       0.%{_snap}.4
+License:       BSD
 Group:         Libraries
-Source0:       http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
-URL:           http://www.enlightement.org/
-BuildRequires: ncurses-devel
+Source0:       %{name}-%{version}-%{_snap}.tar.bz2
+# Source0-md5: e5d58d14f0333b2b292a23153cee8da3
+URL:           http://enlightenment.org/Libraries/Edb/
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1.6
 BuildRequires: gtk+-devel
-BuildRequires: glib-devel
 BuildRequires: libtool
-BuildRequires: automake
-BuildRequires: autoconf
+BuildRequires: ncurses-devel
+# only for configure
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _x11prefix      %{_prefix}/X11R6
-%define                _x11bindir      %{_x11prefix}/bin
-
 %description
 Edb is a simple, clean high-level db access/storage library.
 
-%description -l pl
-Edb jest prost± bibliotek± wysokiego poziomu umo¿liwiaj±c±
-dostêp/zapisywanie danych w bazach.
+%description -l pl.UTF-8
+Edb jest prostą biblioteką wysokiego poziomu umożliwiającą
+dostęp/zapisywanie danych w bazach.
 
 %package devel
-Summary:       header files and libraries for %{name} development
-Summary(pl):   Pliki nag³ówkowe i dokumentacja dla %{name}
+Summary:       Header files and libraries for edb development
+Summary(pl.UTF-8):     Pliki nagłówkowe i dokumentacja dla edb
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
-Header files and documentation needed for developing %{name} programs.
+Header files and documentation needed for developing edb programs.
 
-%description devel -l pl
-Pliki nag³ówkowe i dokumentacja umo¿liwiaj±ce rozwijanie programów
-korzystaj±cych z biblioteki %{name}.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i dokumentacja umożliwiające rozwijanie programów
+korzystających z biblioteki edb.
 
 %package static
-Summary:       Static version of %{name} libraries
-Summary(pl):   Statyczna wersja biblioteki %{name}
+Summary:       Static version of edb library
+Summary(pl.UTF-8):     Statyczna wersja biblioteki edb
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
-Static version of %{name} libraries.
+Static version of edb library.
 
-%description static -l pl
-Statyczna wersja biblioteki %{name}.
+%description static -l pl.UTF-8
+Statyczna wersja biblioteki edb.
 
 %package gtk
-Summary:       GTK editor of databases
-Summary(pl):   Edytor baz w GTK
+Summary:       GTK+ editor of databases
+Summary(pl.UTF-8):     Edytor baz oparty na GTK+
 Group:         X11/Applications
 
 %description gtk
-GTK editor of databases.
+GTK+ editor of databases.
 
-%description gtk -l pl
-Edytor baz danych w GTK.
+%description gtk -l pl.UTF-8
+Edytor baz danych oparty na GTK+.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{_snap}
 
 %build
-rm missing
-libtoolize --copy --force
-aclocal
-autoconf
-automake -a -c
+CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"; export CFLAGS
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
-       --enable-cxx
+       --enable-gtk \
+       --enable-ncurses
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_x11bindir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_bindir}/edb_gtk_ed $RPM_BUILD_ROOT%{_x11bindir}/
-
-gzip -9nf AUTHORS
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -94,20 +91,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS COPYING COPYING-PLAIN README
 %attr(755,root,root) %{_bindir}/edb_ed
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_bindir}/edb_vt_ed
+%attr(755,root,root) %{_libdir}/libedb.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libedb.so.1
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/*
-%attr(755,root,root) %{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/libedb.so
+%{_libdir}/libedb.la
+%{_includedir}/Edb.h
+%{_pkgconfigdir}/edb.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libedb.a
 
 %files gtk
 %defattr(644,root,root,755)
-%{_x11bindir}/*
+%attr(755,root,root) %{_bindir}/edb_gtk_ed
This page took 0.128182 seconds and 4 git commands to generate.