]> git.pld-linux.org Git - packages/edb.git/blob - edb.spec
- fix for autoconf 2.53
[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.2
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-ac_fix.patch
10 URL:            http://www.enlightement.org/
11 BuildRequires:  ncurses-devel
12 BuildRequires:  gtk+-devel
13 BuildRequires:  glib-devel
14 BuildRequires:  libtool
15 BuildRequires:  automake
16 BuildRequires:  autoconf
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _x11prefix      %{_prefix}/X11R6
20 %define         _x11bindir      %{_x11prefix}/bin
21
22 %description
23 Edb is a simple, clean high-level db access/storage library.
24
25 %description -l pl
26 Edb jest prost± bibliotek± wysokiego poziomu umo¿liwiaj±c±
27 dostêp/zapisywanie danych w bazach.
28
29 %package devel
30 Summary:        header files and libraries for %{name} development
31 Summary(pl):    Pliki nag³ówkowe i dokumentacja dla %{name}
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}
34
35 %description devel
36 Header files and documentation needed for developing %{name} programs.
37
38 %description devel -l pl
39 Pliki nag³ówkowe i dokumentacja umo¿liwiaj±ce rozwijanie programów
40 korzystaj±cych z biblioteki %{name}.
41
42 %package static
43 Summary:        Static version of %{name} libraries
44 Summary(pl):    Statyczna wersja biblioteki %{name}
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 Static version of %{name} libraries.
50
51 %description static -l pl
52 Statyczna wersja biblioteki %{name}.
53
54 %package gtk
55 Summary:        GTK editor of databases
56 Summary(pl):    Edytor baz w GTK
57 Group:          X11/Applications
58
59 %description gtk
60 GTK editor of databases.
61
62 %description gtk -l pl
63 Edytor baz danych w GTK.
64
65 %prep
66 %setup -q
67 %patch0 -p1 -b .wiget
68
69 %build
70 rm missing
71 %{__libtoolize}
72 aclocal
73 %{__autoconf}
74 %{__automake}
75 %configure \
76         --enable-cxx
77
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{_x11bindir}
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 mv $RPM_BUILD_ROOT%{_bindir}/edb_gtk_ed $RPM_BUILD_ROOT%{_x11bindir}/
88
89 gzip -9nf AUTHORS
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc *.gz
100 %attr(755,root,root) %{_bindir}/edb_ed
101 %attr(755,root,root) %{_libdir}/lib*.so.*.*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_bindir}/edb-config
106 %{_includedir}/*
107 %attr(755,root,root) %{_libdir}/lib*.la
108 %attr(755,root,root) %{_libdir}/lib*.so
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/lib*.a
113
114 %files gtk
115 %defattr(644,root,root,755)
116 %{_x11bindir}/*
This page took 0.084098 seconds and 3 git commands to generate.