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