]> git.pld-linux.org Git - packages/edb.git/blob - edb.spec
da35d7a53a4198d87a4968641be2a1cfb1a3325e
[packages/edb.git] / edb.spec
1 Summary:        Enlightenment Database Access Library
2 Summary(pl):    Biblioteka Enlightementa dostêpu do baz danych
3 Name:           edb
4 Version:        1.0.5.007
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  e5d8dcb5995913ae6b7f205e7ac28dbe
10 URL:            http://enlightenment.org/Libraries/Edb/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  glib-devel
14 BuildRequires:  gtk+-devel
15 BuildRequires:  libtool
16 BuildRequires:  ncurses-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Edb is a simple, clean high-level db access/storage library.
21
22 %description -l pl
23 Edb jest prost± bibliotek± wysokiego poziomu umo¿liwiaj±c±
24 dostêp/zapisywanie danych w bazach.
25
26 %package devel
27 Summary:        Header files and libraries for edb development
28 Summary(pl):    Pliki nag³ówkowe i dokumentacja dla edb
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 Header files and documentation needed for developing edb programs.
34
35 %description devel -l pl
36 Pliki nag³ówkowe i dokumentacja umo¿liwiaj±ce rozwijanie programów
37 korzystaj±cych z biblioteki edb.
38
39 %package static
40 Summary:        Static version of edb library
41 Summary(pl):    Statyczna wersja biblioteki edb
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static version of edb library.
47
48 %description static -l pl
49 Statyczna wersja biblioteki edb.
50
51 %package gtk
52 Summary:        GTK+ editor of databases
53 Summary(pl):    Edytor baz w GTK+
54 Group:          X11/Applications
55
56 %description gtk
57 GTK+ editor of databases.
58
59 %description gtk -l pl
60 Edytor baz danych w GTK+.
61
62 %prep
63 %setup -q
64
65 %build
66 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"; export CFLAGS
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %{__autoheader}
71 %{__automake}
72 %configure \
73         --enable-cxx \
74         --enable-gtk \
75         --enable-ncurses
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc AUTHORS COPYING COPYING-PLAIN README
94 %attr(755,root,root) %{_bindir}/edb_ed
95 %attr(755,root,root) %{_bindir}/edb_vt_ed
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/edb-config
101 %attr(755,root,root) %{_libdir}/lib*.so
102 %{_libdir}/lib*.la
103 %{_includedir}/Edb.h
104 %{_pkgconfigdir}/edb.pc
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/lib*.a
109
110 %files gtk
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/edb_gtk_ed
This page took 0.03462 seconds and 2 git commands to generate.