Various .spec cleanups

This commit is contained in:
Ignacio Vazquez-Abrams 2005-03-19 15:57:41 +00:00
parent 459965c041
commit d6c65fe8b7

View File

@ -1,6 +1,6 @@
Name: linphone Name: linphone
Version: 0.12.2 Version: 0.12.2
Release: 3 Release: 4
Summary: Phone anywhere in the whole world by using the Internet Summary: Phone anywhere in the whole world by using the Internet
Group: Applications/Communications Group: Applications/Communications
@ -13,8 +13,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gnome-panel-devel libgnomeui-devel glib2-devel alsa-lib-devel BuildRequires: gnome-panel-devel libgnomeui-devel glib2-devel alsa-lib-devel
BuildRequires: libosip-devel speex-devel gettext BuildRequires: libosip-devel speex-devel gettext
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description %description
Linphone is mostly sip compliant. It works successfully with these Linphone is mostly sip compliant. It works successfully with these
@ -54,40 +52,44 @@ make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post -p /sbin/ldconfig
/sbin/ldconfig
%postun %postun -p /sbin/ldconfig
/sbin/ldconfig
%files %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%{_libdir}/bonobo %{_libdir}/bonobo/servers/*.server
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_libexecdir}/* %{_libexecdir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%{_datadir}/gnome %{_datadir}/gnome/apps/Internet/*.desktop
%{_datadir}/gnome-2.0 %{_datadir}/gnome/help/linphone
%{_datadir}/gtk-doc %{_datadir}/gnome-2.0/ui/*.xml
%{_datadir}/linphonec/linphonec %{_datadir}/gtk-doc/html/mediastreamer
%{_datadir}/locale/*/* %{_datadir}/linphonec
%{_datadir}/pixmaps %{_datadir}/pixmaps/linphone
%{_datadir}/sounds %{_datadir}/sounds/linphone
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/*/*.h %{_includedir}/*
%{_libdir}/*.a %{_libdir}/*.a
%{_libdir}/*.la %{_libdir}/*.la
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%changelog %changelog
* Sat Mar 19 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-4
- Used %find_lang
- Tightened up %files
- Streamlined spec file
* Thu Mar 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-3 * Thu Mar 17 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.12.2-3
- Broke %description at 80 columns - Broke %description at 80 columns