]> git.pld-linux.org Git - packages/edb.git/blob - edb.spec
- tabs in preamble
[packages/edb.git] / edb.spec
1 Summary:        Enlightenment Database Access Library
2 Summary(pl.UTF-8):      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 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Edb is a simple, clean high-level db access/storage library.
22
23 %description -l pl.UTF-8
24 Edb jest prostą biblioteką wysokiego poziomu umożliwiającą
25 dostęp/zapisywanie danych w bazach.
26
27 %package devel
28 Summary:        Header files and libraries for edb development
29 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja dla edb
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       zlib-devel
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 w 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 w GTK+.
63
64 %prep
65 %setup -q
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-cxx \
76         --enable-gtk \
77         --enable-ncurses
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
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)
95 %doc AUTHORS COPYING COPYING-PLAIN README
96 %attr(755,root,root) %{_bindir}/edb_ed
97 %attr(755,root,root) %{_bindir}/edb_vt_ed
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_bindir}/edb-config
103 %attr(755,root,root) %{_libdir}/lib*.so
104 %{_libdir}/lib*.la
105 %{_includedir}/Edb.h
106 %{_pkgconfigdir}/edb.pc
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/lib*.a
111
112 %files gtk
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_bindir}/edb_gtk_ed
This page took 0.49542 seconds and 3 git commands to generate.