spec cleanup for changed packaging guidelines

This commit is contained in:
Parag Nemade 2012-10-16 11:20:50 +05:30
parent 2e6b928cb3
commit b94f6d2445

View File

@ -1,13 +1,11 @@
Summary: Library implementing the Unicode Bidirectional Algorithm Summary: Library implementing the Unicode Bidirectional Algorithm
Name: fribidi Name: fribidi
Version: 0.19.2 Version: 0.19.2
Release: 5%{?dist} Release: 6%{?dist}
URL: http://fribidi.org URL: http://fribidi.org
Source0: http://fribidi.org/download/%{name}-%{version}.tar.gz Source0: http://fribidi.org/download/%{name}-%{version}.tar.gz
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake, autoconf, libtool, pkgconfig
%description %description
A library to handle bidirectional scripts (for example Hebrew, Arabic), A library to handle bidirectional scripts (for example Hebrew, Arabic),
@ -17,8 +15,7 @@ is always written in logical order.
%package devel %package devel
Summary: Libraries and include files for FriBidi Summary: Libraries and include files for FriBidi
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %name = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel %description devel
Include files and libraries needed for developing applications which use 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} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-)
%doc README AUTHORS COPYING ChangeLog THANKS NEWS TODO %doc README AUTHORS COPYING ChangeLog THANKS NEWS TODO
%{_bindir}/fribidi %{_bindir}/fribidi
%{_libdir}/libfribidi.so.* %{_libdir}/libfribidi.so.*
%files devel %files devel
%defattr(-,root,root,-)
%{_includedir}/fribidi %{_includedir}/fribidi
%{_libdir}/libfribidi.so %{_libdir}/libfribidi.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/%{name}_*.gz %{_mandir}/man3/%{name}_*.gz
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild