]> git.pld-linux.org Git - packages/edb.git/blob - edb.spec
- spec adapterized and few cosmetics.
[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 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
16 URL:            http://www.enlightement.org/
17 BuildRequires:  ncurses-devel
18 BuildRequires:  gtk+-devel
19 BuildRequires:  glib-devel
20 BuildRequires:  libtool
21 BuildRequires:  automake
22 BuildRequires:  autoconf
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _x11prefix      %{_prefix}/X11R6
26 %define         _x11bindir      %{_x11prefix}/bin
27
28 %description
29 Edb is a simple, clean high-level db access/storage library.
30
31 %description -l pl
32 Edb jest prost± bibliotek± wysokiego poziomu umo¿liwiaj±c±
33 dostêp/zapisywanie danych w bazach.
34
35 %package devel
36 Summary:        header files and libraries for %{name} development
37 Summary(pl):    Pliki nag³ówkowe i dokumentacja dla %{name}
38 Group:          Development/Libraries
39 Group(de):      Entwicklung/Libraries
40 Group(es):      Desarrollo/Bibliotecas
41 Group(fr):      Development/Librairies
42 Group(pl):      Programowanie/Biblioteki
43 Group(pt_BR):   Desenvolvimento/Bibliotecas
44 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
45 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
46 Requires:       %{name} = %{version}
47
48 %description devel
49 Pliki nag³ówkowe i dokumentacja umo¿liwiaj±ce rozwijanie programów
50 korzystaj±cych z biblioteki %{name}.
51
52 %package static
53 Summary:        Static version of %{name} libraries
54 Summary(pl):    Statyczna wersja biblioteki %{name}
55 Group:          Development/Libraries
56 Group(de):      Entwicklung/Libraries
57 Group(es):      Desarrollo/Bibliotecas
58 Group(fr):      Development/Librairies
59 Group(pl):      Programowanie/Biblioteki
60 Group(pt_BR):   Desenvolvimento/Bibliotecas
61 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
62 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
63 Requires:       %{name}-devel = %{version}
64
65 %description static
66 Static version of %{name} libraries.
67
68 %description -l pl
69 Statyczna wersja biblioteki %{name}.
70
71 %package gtk
72 Summary:        GTK editor of databases
73 Summary(pl):    Edytor baz w GTK
74 Group:          X11/Applications
75 Group(de):      X11/Applikationen
76 Group(pl):      X11/Aplikacje
77
78 %description gtk
79 GTK editor of databases.
80
81 %description -l pl gtk
82 Edytor baz danych w GTK.
83
84 %prep
85 %setup -q
86
87 %build
88 rm missing
89 libtoolize --copy --force
90 aclocal
91 autoconf
92 automake -a -c
93 %configure \
94         --enable-cxx
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100 install -d $RPM_BUILD_ROOT%{_x11bindir}
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT
104
105 mv $RPM_BUILD_ROOT%{_bindir}/edb_gtk_ed \
106    $RPM_BUILD_ROOT%{_x11bindir}/
107
108 gzip -9nf AUTHORS
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %post   -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
115
116 %files
117 %defattr(644,root,root,755)
118 %doc *.gz
119 %attr(755,root,root) %{_bindir}/edb_ed
120 %attr(755,root,root) %{_libdir}/lib*.so.*.*
121
122 %files devel
123 %defattr(644,root,root,755)
124 %{_includedir}/*
125 %attr(755,root,root) %{_libdir}/lib*.la
126 %attr(755,root,root) %{_libdir}/lib*.so
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/lib*.a
131
132 %files gtk
133 %defattr(644,root,root,755)
134 %{_x11bindir}/*
This page took 0.058291 seconds and 3 git commands to generate.