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