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