]> git.pld-linux.org Git - packages/fribidi.git/blob - fribidi.spec
5f1c8881b61aa953433cb34dcf05de62510e33e9
[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 Source0:        http://telia.dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
10 Source1:        %{name}.pc
11 URL:            http://fribi.sf.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Obsoletes:      libfribidi0
17
18 %description
19 A Free Implementation of the Unicode BiDi algorithm.
20
21 %description -l pl
22 Implementacja algorytmu Unicde BiDi.
23
24 %package devel
25 Summary:        Library implementing the Unicode BiDi algorithm
26 Summary(pl):    Implementacja algorytmu Unicode BiDi
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}
29 Obsoletes:      libfribidi0-devel
30
31 %description devel
32 The fribidi-devel package includes header files for the fribidi
33 package.
34
35 Install fribidi-devel if you want to develop programs which will use
36 fribidi.
37
38 %description devel -l pl
39 Pliki developerskie pozwalaj±ce na wykorzystywanie biblioteki fribidi
40 w swoim oprogramowaniu.
41
42 %package static
43 Summary:        Static %{name} libraries
44 Summary(pl):    Biblioteki statyczne %{name}
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 Static %{name} libraries.
50
51 %description static -l pl
52 Biblioteki statyczne %{name}.
53
54 %prep
55 %setup -q
56
57 %build
58 rm -f acinclude.m4
59 libtoolize --force --copy
60 aclocal
61 autoheader
62 autoconf
63 automake -a -c -f
64 %configure
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
70
71 install %{SOURCE1}      $RPM_BUILD_ROOT%{_pkgconfigdir}/%{name}.pc
72
73 %{__make} install DESTDIR=$RPM_BUILD_ROOT
74
75 gzip -9nf AUTHORS ChangeLog NEWS README THANKS TODO
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/fribidi
86 %attr(755,root,root) %{_libdir}/libfribidi.so.*.*.*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %doc *.gz
91 %attr(755,root,root) %{_bindir}/fribidi-config
92 %attr(755,root,root) %{_libdir}/lib*.so
93 %attr(755,root,root) %{_libdir}/lib*.la
94 %{_includedir}/fribidi
95 %{_pkgconfigdir}/*.pc
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/lib*.a
This page took 0.07055 seconds and 3 git commands to generate.