]> git.pld-linux.org Git - packages/fribidi.git/blobdiff - fribidi.spec
- updated to 1.0.13
[packages/fribidi.git] / fribidi.spec
index bdac6c2c6456fb0fe387a44ad57fdcdc38381d35..aadab5147409cc9c9512ad7851c2e110c874e25a 100644 (file)
-%define        snap    20011029
-Summary:       Library implementing the Unicode BiDi algorithm
-Summary(pl):   Biblioteka implementuj±ca algorytm Unicode BiDi
+#
+# Conditional build:
+%bcond_without static_libs     # static library
+#
+Summary:       GNU FriBidi - library implementing the Unicode BiDi algorithm
+Summary(pl.UTF-8):     GNU FriBidi - biblioteka implementująca algorytm Unicode BiDi
 Name:          fribidi
-Version:       0.10.0
+Version:       1.0.13
 Release:       1
-License:       LGPL
+License:       LGPL v2.1+
 Group:         Libraries
-Group(de):     Libraries
-Group(es):     Bibliotecas
-Group(fr):     Librairies
-Group(pl):     Biblioteki
-Group(pt_BR):  Bibliotecas
-Group(ru):     âÉÂÌÉÏÔÅËÉ
-Group(uk):     â¦Â̦ÏÔÅËÉ
-Source0:       http://telia.dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-Source1:       %{name}.pc
-Patch0:                %{name}-am_ac.patch
-URL:           http://fribi.sf.net/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
-BuildRequires: glib2-devel >= 1.3.10
+#Source0Download: https://github.com/fribidi/fribidi/releases
+Source0:       https://github.com/fribidi/fribidi/releases/download/v%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 49b17442e0d8fa2e97b5c898078f6f51
+URL:           https://fribidi.org/
+BuildRequires: autoconf >= 2.64
+BuildRequires: automake >= 1:1.11.1
+BuildRequires: libtool >= 2:2.2
+BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Obsoletes:     libfribidi0 < 1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A Free Implementation of the Unicode BiDi algorithm.
+GNU FriBidi is a free Implementation of the Unicode BiDi algorithm.
 
-%description -l pl
-Implementacja algorytmu Unicde BiDi.
+%description -l pl.UTF-8
+GNU FriBidi to wolnodostępna implementacja algorytmu Unicode BiDi.
 
 %package devel
-Summary:       Library implementing the Unicode BiDi algorithm
-Summary(pl):   Implementacja algorytmu Unicode BiDi
+Summary:       Header files for FriBidi library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki FriBidi
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(es):     Desarrollo/Bibliotecas
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
-Group(pt_BR):  Desenvolvimento/Bibliotecas
-Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name} = %{version}
-Requires:      glib2-devel
+Requires:      %{name} = %{version}-%{release}
+Obsoletes:     libfribidi0-devel < 1
 
 %description devel
 The fribidi-devel package includes header files for the fribidi
 package.
 
-Install fribidi-devel if you want to develop programs which will use
-fribidi.
-
-%description -l pl devel
-Pliki developerskie pozwalaj±ce na wykorzystywanie biblioteki fribidi
-w swoim oprogramowaniu.
+%description devel -l pl.UTF-8
+Pliki programistyczne pozwalające na wykorzystywanie biblioteki
+fribidi w swoim oprogramowaniu.
 
 %package static
-Summary:       Static %{name} libraries
-Summary(pl):   Biblioteki statyczne %{name}
+Summary:       Static FriBidi library
+Summary(pl.UTF-8):     Biblioteka statyczna FriBidi
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(es):     Desarrollo/Bibliotecas
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
-Group(pt_BR):  Desenvolvimento/Bibliotecas
-Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
-Static %{name} libraries.
+Static FriBidi library.
 
-%description -l pl static
-Biblioteki statyczne %{name}.
+%description static -l pl.UTF-8
+Biblioteka statyczna FriBidi.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-rm -f acinclude.m4
-libtoolize --force --copy
-aclocal
-autoheader
-autoconf
-automake -a -c
-%configure 
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-silent-rules \
+       %{?with_static_libs:--enable-static}
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
-
-install %{SOURCE1}     $RPM_BUILD_ROOT%{_pkgconfigdir}/%{name}.pc
-
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf AUTHORS ChangeLog NEWS README THANKS TODO
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -105,18 +84,21 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/fribidi
 %attr(755,root,root) %{_libdir}/libfribidi.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfribidi.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_bindir}/fribidi-config
-%attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libfribidi.so
+%{_libdir}/libfribidi.la
 %{_includedir}/fribidi
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/fribidi.pc
+%{_mandir}/man3/fribidi_*.3*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libfribidi.a
+%endif
This page took 0.033559 seconds and 4 git commands to generate.