]> git.pld-linux.org Git - packages/fribidi.git/blob - fribidi.spec
- release 2: rebuild against glib2 1.3.14
[packages/fribidi.git] / fribidi.spec
1 %define snap    20011029
2 Summary:        Library implementing the Unicode BiDi algorithm
3 Summary(pl):    Biblioteka implementuj±ca algorytm Unicode BiDi
4 Name:           fribidi
5 Version:        0.10.1
6 Release:        2
7 License:        LGPL
8 Group:          Libraries
9 Group(de):      Libraries
10 Group(es):      Bibliotecas
11 Group(fr):      Librairies
12 Group(pl):      Biblioteki
13 Group(pt_BR):   Bibliotecas
14 Group(ru):      âÉÂÌÉÏÔÅËÉ
15 Group(uk):      â¦Â̦ÏÔÅËÉ
16 Source0:        http://telia.dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
17 Source1:        %{name}.pc
18 URL:            http://fribi.sf.net/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  libtool
22 BuildRequires:  glib2-devel >= 1.3.14
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Obsoletes:      libfribidi0
25
26 %description
27 A Free Implementation of the Unicode BiDi algorithm.
28
29 %description -l pl
30 Implementacja algorytmu Unicde BiDi.
31
32 %package devel
33 Summary:        Library implementing the Unicode BiDi algorithm
34 Summary(pl):    Implementacja algorytmu Unicode BiDi
35 Group:          Development/Libraries
36 Group(de):      Entwicklung/Libraries
37 Group(es):      Desarrollo/Bibliotecas
38 Group(fr):      Development/Librairies
39 Group(pl):      Programowanie/Biblioteki
40 Group(pt_BR):   Desenvolvimento/Bibliotecas
41 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
42 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
43 Requires:       %{name} = %{version}
44 Requires:       glib2-devel
45 Obsoletes:      libfribidi0-devel
46
47 %description devel
48 The fribidi-devel package includes header files for the fribidi
49 package.
50
51 Install fribidi-devel if you want to develop programs which will use
52 fribidi.
53
54 %description -l pl devel
55 Pliki developerskie pozwalaj±ce na wykorzystywanie biblioteki fribidi
56 w swoim oprogramowaniu.
57
58 %package static
59 Summary:        Static %{name} libraries
60 Summary(pl):    Biblioteki statyczne %{name}
61 Group:          Development/Libraries
62 Group(de):      Entwicklung/Libraries
63 Group(es):      Desarrollo/Bibliotecas
64 Group(fr):      Development/Librairies
65 Group(pl):      Programowanie/Biblioteki
66 Group(pt_BR):   Desenvolvimento/Bibliotecas
67 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
68 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
69 Requires:       %{name}-devel = %{version}
70
71 %description static
72 Static %{name} libraries.
73
74 %description -l pl static
75 Biblioteki statyczne %{name}.
76
77 %prep
78 %setup -q
79
80 %build
81 rm -f acinclude.m4
82 libtoolize --force --copy
83 aclocal
84 autoheader
85 autoconf
86 automake -a -c
87 %configure 
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
93
94 install %{SOURCE1}      $RPM_BUILD_ROOT%{_pkgconfigdir}/%{name}.pc
95
96 %{__make} install DESTDIR=$RPM_BUILD_ROOT
97
98 gzip -9nf AUTHORS ChangeLog NEWS README THANKS TODO
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_bindir}/fribidi
109 %attr(755,root,root) %{_libdir}/libfribidi.so.*.*.*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc *.gz
114 %attr(755,root,root) %{_bindir}/fribidi-config
115 %attr(755,root,root) %{_libdir}/lib*.so
116 %attr(755,root,root) %{_libdir}/lib*.la
117 %{_includedir}/fribidi
118 %{_pkgconfigdir}/*.pc
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/lib*.a
This page took 0.051527 seconds and 4 git commands to generate.