]>
Commit | Line | Data |
---|---|---|
a9951dc5 | 1 | Summary: Library implementing the Unicode BiDi algorithm |
2 | Name: fribidi | |
3 | Version: 0.1.12 | |
4 | Release: 2 | |
5 | License: LGPL | |
6 | Group: Libraries | |
7 | Group(pl): Biblioteki | |
8 | Source0: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi/fribidi-%{version}.tar.gz | |
069d2cc3 | 9 | Patch0: fribidi-0.1.12-glib2.patch |
a9951dc5 | 10 | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | URL: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi | |
9ac10850 | 13 | ## this spec is prepared for glib,gtk 2.0 |
14 | BuildRequires: glib-devel >= 1.3.1 | |
a9951dc5 | 15 | |
16 | %description | |
17 | A Free Implementation of the Unicode BiDi algorithm | |
18 | ||
19 | %package devel | |
20 | Summary: Library implementing the Unicode BiDi algorithm | |
21 | Group: Development/Libraries | |
22 | Group(pl): Programowanie/Biblioteki | |
23 | Requires: %{name} = %{version} | |
24 | ||
25 | %description devel | |
26 | The fribidi-devel package includes the static libraries and header | |
27 | files for the fribidi package. | |
28 | ||
29 | Install fribidi-devel if you want to develop programs which will use | |
30 | fribidi. | |
31 | ||
32 | %package static | |
33 | Summary: Static %{name} libraries | |
34 | Summary(pl): Biblioteki statyczne %{name} | |
35 | Group: Development/Libraries | |
36 | Group(fr): Development/Librairies | |
37 | Group(pl): Programowanie/Biblioteki | |
38 | Requires: %{name}-devel = %{version} | |
39 | ||
40 | %description static | |
41 | Static %{name} libraries. | |
42 | ||
43 | %description -l pl static | |
44 | Biblioteki statyczne %{name}. | |
45 | ||
46 | %prep | |
47 | %setup -q | |
069d2cc3 | 48 | %patch -p1 |
a9951dc5 | 49 | |
50 | # .gtkbeta patch changes Makefile.am | |
51 | libtoolize --force --copy | |
52 | autoconf | |
53 | automake | |
54 | ||
55 | %build | |
56 | CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS | |
069d2cc3 | 57 | ##GLIB_CONFIG="%{_bindir}/glib-config-2.0"; export GLIB_CONFIG |
a9951dc5 | 58 | %configure |
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | %{__make} DESTDIR=$RPM_BUILD_ROOT install | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS COPYING ChangeLog NEWS README | |
74 | %attr(755,root,root) %{_bindir}/fribidi | |
9ac10850 | 75 | %attr(755,root,root) %{_libdir}/libfribidi.so.*.*.* |
a9951dc5 | 76 | |
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %{_libdir}/lib*.so | |
80 | %{_includedir}/fribidi | |
81 | %attr(755,root,root) %{_bindir}/fribidi-config | |
82 | ||
83 | %files static | |
84 | %defattr(644,root,root,755) | |
85 | %{_libdir}/*.a |