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