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