]> git.pld-linux.org Git - packages/edb.git/blob - edb.spec
- more verbose files, deps cleanup
[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 >= 1.4
13 BuildRequires:  gtk+-devel
14 BuildRequires:  libtool
15 BuildRequires:  ncurses-devel
16 # only for configure
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
33 %description devel
34 Header files and documentation needed for developing edb programs.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe i dokumentacja umożliwiające rozwijanie programów
38 korzystających z biblioteki edb.
39
40 %package static
41 Summary:        Static version of edb library
42 Summary(pl.UTF-8):      Statyczna wersja biblioteki edb
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static version of edb library.
48
49 %description static -l pl.UTF-8
50 Statyczna wersja biblioteki edb.
51
52 %package gtk
53 Summary:        GTK+ editor of databases
54 Summary(pl.UTF-8):      Edytor baz oparty na GTK+
55 Group:          X11/Applications
56
57 %description gtk
58 GTK+ editor of databases.
59
60 %description gtk -l pl.UTF-8
61 Edytor baz danych oparty na GTK+.
62
63 %prep
64 %setup -q
65
66 %build
67 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"; export CFLAGS
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoconf}
71 %{__autoheader}
72 %{__automake}
73 %configure \
74         --enable-cxx \
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
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/edb-config
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.074547 seconds and 4 git commands to generate.