]>
Commit | Line | Data |
---|---|---|
31e77444 | 1 | %define _snap 20080813 |
1e4cc749 | 2 | Summary: Enlightenment Database Access Library |
3c2cb57a | 3 | Summary(pl.UTF-8): Biblioteka Enlightementa dostępu do baz danych |
1e4cc749 | 4 | Name: edb |
31e77444 | 5 | Version: 1.0.5.043 |
e5643d4a | 6 | Release: 0.%{_snap}.4 |
8589d357 | 7 | License: BSD |
1e4cc749 | 8 | Group: Libraries |
31e77444 | 9 | Source0: %{name}-%{version}-%{_snap}.tar.bz2 |
10 | # Source0-md5: e5d58d14f0333b2b292a23153cee8da3 | |
26502833 | 11 | URL: http://enlightenment.org/Libraries/Edb/ |
0f2d2a75 JB |
12 | BuildRequires: autoconf >= 2.52 |
13 | BuildRequires: automake >= 1.6 | |
9aaafe54 | 14 | BuildRequires: gtk+-devel |
1e4cc749 | 15 | BuildRequires: libtool |
9aaafe54 | 16 | BuildRequires: ncurses-devel |
9c40eb62 | 17 | # only for configure |
cf71e48d | 18 | BuildRequires: zlib-devel |
1e4cc749 AM |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
1e4cc749 AM |
21 | %description |
22 | Edb is a simple, clean high-level db access/storage library. | |
23 | ||
764c654f JR |
24 | %description -l pl.UTF-8 |
25 | Edb jest prostą biblioteką wysokiego poziomu umożliwiającą | |
26 | dostęp/zapisywanie danych w bazach. | |
1e4cc749 AM |
27 | |
28 | %package devel | |
21d7a500 | 29 | Summary: Header files and libraries for edb development |
3c2cb57a | 30 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja dla edb |
1e4cc749 | 31 | Group: Development/Libraries |
8f5d3ce5 | 32 | Requires: %{name} = %{version}-%{release} |
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 |
9c40eb62 | 55 | Summary(pl.UTF-8): Edytor baz oparty na 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 |
9c40eb62 | 62 | Edytor baz danych oparty na GTK+. |
1e4cc749 AM |
63 | |
64 | %prep | |
31e77444 | 65 | %setup -q -n %{name}-%{version}-%{_snap} |
1e4cc749 AM |
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-gtk \ |
76 | --enable-ncurses | |
1e4cc749 AM |
77 | |
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
1e4cc749 AM |
82 | |
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
1e4cc749 AM |
86 | %clean |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post -p /sbin/ldconfig | |
90 | %postun -p /sbin/ldconfig | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
8589d357 | 94 | %doc AUTHORS COPYING COPYING-PLAIN README |
1e4cc749 | 95 | %attr(755,root,root) %{_bindir}/edb_ed |
8589d357 | 96 | %attr(755,root,root) %{_bindir}/edb_vt_ed |
0f2d2a75 JB |
97 | %attr(755,root,root) %{_libdir}/libedb.so.*.*.* |
98 | %attr(755,root,root) %ghost %{_libdir}/libedb.so.1 | |
1e4cc749 AM |
99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
9c40eb62 JB |
102 | %attr(755,root,root) %{_libdir}/libedb.so |
103 | %{_libdir}/libedb.la | |
8f5d3ce5 JB |
104 | %{_includedir}/Edb.h |
105 | %{_pkgconfigdir}/edb.pc | |
1e4cc749 AM |
106 | |
107 | %files static | |
108 | %defattr(644,root,root,755) | |
9c40eb62 | 109 | %{_libdir}/libedb.a |
1e4cc749 AM |
110 | |
111 | %files gtk | |
112 | %defattr(644,root,root,755) | |
75ab62bf | 113 | %attr(755,root,root) %{_bindir}/edb_gtk_ed |