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