]> git.pld-linux.org Git - packages/fribidi.git/blame_incremental - fribidi.spec
- updated to 1.0.13
[packages/fribidi.git] / fribidi.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without glib # Glib usage
4%bcond_without static_libs # static library
5#
6Summary: GNU FriBidi - library implementing the Unicode BiDi algorithm
7Summary(pl.UTF-8): GNU FriBidi - biblioteka implementująca algorytm Unicode BiDi
8Name: fribidi
9Version: 0.19.7
10Release: 1
11License: LGPL v2.1+
12Group: Libraries
13Source0: https://fribidi.org/download/%{name}-%{version}.tar.bz2
14# Source0-md5: 6c7e7cfdd39c908f7ac619351c1c5c23
15URL: https://fribidi.org/
16BuildRequires: autoconf >= 2.64
17BuildRequires: automake >= 1:1.11.1
18%{?with_glib:BuildRequires: glib2-devel >= 1:2.4}
19BuildRequires: libtool >= 2:2.2
20BuildRequires: pkgconfig
21%{?with_glib:Requires: glib2 >= 1:2.4}
22Obsoletes: libfribidi0
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26GNU FriBidi is a free Implementation of the Unicode BiDi algorithm.
27
28%description -l pl.UTF-8
29GNU FriBidi to wolnodostępna implementacja algorytmu Unicode BiDi.
30
31%package devel
32Summary: Header files for FriBidi library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FriBidi
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36%{?with_glib:Requires: glib2-devel >= 1:2.4}
37Obsoletes: libfribidi0-devel
38
39%description devel
40The fribidi-devel package includes header files for the fribidi
41package.
42
43%description devel -l pl.UTF-8
44Pliki programistyczne pozwalające na wykorzystywanie biblioteki
45fribidi w swoim oprogramowaniu.
46
47%package static
48Summary: Static FriBidi library
49Summary(pl.UTF-8): Biblioteka statyczna FriBidi
50Group: Development/Libraries
51Requires: %{name}-devel = %{version}-%{release}
52
53%description static
54Static FriBidi library.
55
56%description static -l pl.UTF-8
57Biblioteka statyczna FriBidi.
58
59%prep
60%setup -q
61
62%build
63%{__libtoolize}
64%{__aclocal}
65%{__autoheader}
66%{__autoconf}
67%{__automake}
68%configure \
69 --disable-silent-rules \
70 %{?with_static_libs:--enable-static} \
71 --with-glib%{!?with_glib:=no}
72
73%{__make}
74
75%install
76rm -rf $RPM_BUILD_ROOT
77
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%files
88%defattr(644,root,root,755)
89%doc AUTHORS ChangeLog NEWS README THANKS TODO
90%attr(755,root,root) %{_bindir}/fribidi
91%attr(755,root,root) %{_libdir}/libfribidi.so.*.*.*
92%attr(755,root,root) %ghost %{_libdir}/libfribidi.so.0
93
94%files devel
95%defattr(644,root,root,755)
96%attr(755,root,root) %{_libdir}/libfribidi.so
97%{_libdir}/libfribidi.la
98%{_includedir}/fribidi
99%{_pkgconfigdir}/fribidi.pc
100%{_mandir}/man3/fribidi_*.3*
101
102%if %{with static_libs}
103%files static
104%defattr(644,root,root,755)
105%{_libdir}/libfribidi.a
106%endif
This page took 0.071718 seconds and 4 git commands to generate.