|
From: <sid...@us...> - 2010-09-14 19:22:37
|
Revision: 387
http://libyahoo2.svn.sourceforge.net/libyahoo2/?rev=387&view=rev
Author: siddheshp
Date: 2010-09-14 19:22:31 +0000 (Tue, 14 Sep 2010)
Log Message:
-----------
Spec file fixes
- Included some fixes from the Fedora rpm spec file to get it to build
- Install the API documentation and man pages
- Install the sample client source code
- Remove *.la from the installation
- use parallel make
- make setup quiet
- Add doxygen to build requirements
Modified Paths:
--------------
trunk/libyahoo2/libyahoo2.spec.in
Modified: trunk/libyahoo2/libyahoo2.spec.in
===================================================================
--- trunk/libyahoo2/libyahoo2.spec.in 2010-09-12 05:07:59 UTC (rev 386)
+++ trunk/libyahoo2/libyahoo2.spec.in 2010-09-14 19:22:31 UTC (rev 387)
@@ -8,6 +8,8 @@
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: doxygen
+
%description
libyahoo2 is a C library interface to the new Yahoo! Messenger protocol. It
supports almost all current features of the protocol.
@@ -22,15 +24,19 @@
libyahoo2
%prep
-%setup
+%setup -q
%build
-%configure --with-struct-callbacks
-make
+%configure
+make %{?_smp_flags}
%install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
+# Remove man to make way for the rest of the API to be installed in
+# the right location
+rm -rf doc/api/man
+rm -f %{buildroot}/%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
@@ -43,12 +49,13 @@
%files devel
%defattr(-,root,root)
%doc doc/ymsg-9.txt NEWS COPYING AUTHORS README ChangeLog
+%doc doc/api src/sample_client.c src/autoresponder.c
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/*
+%{_mandir}/man*/*
-
%changelog
@CHANGELOG@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|