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