]> git.pld-linux.org Git - packages/edb.git/blob - edb.spec
- proper URL
[packages/edb.git] / edb.spec
1 Summary:        Enlightenment Database Access Library
2 Summary(pl):    Biblioteka Enlightementa dostêpu do baz danych
3 Name:           edb
4 Version:        1.0.5
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
9 # Source0-md5:  c8ee165f92dbc6e6fd9c9114e90e338c
10 Patch0:         %{name}-ac_fix.patch
11 URL:            http://enlightenment.org/Libraries/Edb/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  glib-devel
15 BuildRequires:  gtk+-devel
16 BuildRequires:  libtool
17 BuildRequires:  ncurses-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
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):    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
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):    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
50 Statyczna wersja biblioteki edb.
51
52 %package gtk
53 Summary:        GTK+ editor of databases
54 Summary(pl):    Edytor baz w GTK+
55 Group:          X11/Applications
56
57 %description gtk
58 GTK+ editor of databases.
59
60 %description gtk -l pl
61 Edytor baz danych w GTK+.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 %build
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoconf}
71 %{__automake}
72 %configure \
73         --enable-cxx
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS
92 %attr(755,root,root) %{_bindir}/edb_ed
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/edb-config
98 %attr(755,root,root) %{_libdir}/lib*.so
99 %{_libdir}/lib*.la
100 %{_includedir}/Edb.h
101 %{_pkgconfigdir}/edb.pc
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/lib*.a
106
107 %files gtk
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/edb_gtk_ed
This page took 0.061412 seconds and 3 git commands to generate.