spec cleanup for changed packaging guidelines
This commit is contained in:
parent
2e6b928cb3
commit
b94f6d2445
18
fribidi.spec
18
fribidi.spec
@ -1,13 +1,11 @@
|
||||
Summary: Library implementing the Unicode Bidirectional Algorithm
|
||||
Name: fribidi
|
||||
Version: 0.19.2
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
URL: http://fribidi.org
|
||||
Source0: http://fribidi.org/download/%{name}-%{version}.tar.gz
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: automake, autoconf, libtool, pkgconfig
|
||||
|
||||
%description
|
||||
A library to handle bidirectional scripts (for example Hebrew, Arabic),
|
||||
@ -17,8 +15,7 @@ is always written in logical order.
|
||||
%package devel
|
||||
Summary: Libraries and include files for FriBidi
|
||||
Group: System Environment/Libraries
|
||||
Requires: %name = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Include files and libraries needed for developing applications which use
|
||||
@ -44,32 +41,29 @@ export CFLAGS="$RPM_OPT_FLAGS -DPAGE_SIZE=4096"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
|
||||
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README AUTHORS COPYING ChangeLog THANKS NEWS TODO
|
||||
%{_bindir}/fribidi
|
||||
%{_libdir}/libfribidi.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/fribidi
|
||||
%{_libdir}/libfribidi.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_mandir}/man3/%{name}_*.gz
|
||||
|
||||
%changelog
|
||||
* Tue Oct 16 2012 Parag Nemade <paragn AT fedoraproject DOT org> - 0.19.2-6
|
||||
- spec cleanup for changed packaging guidelines
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user