Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 808b77d2e7e1f144bde600b9e7d3e2d2 > files > 2

uprof-0.3-0.1.20110115gita6832f7a.fc14.src.rpm

%global githash a6832f7a

Name:           uprof
Version:        0.3
Release:        0.1.20110115git%{githash}%{?dist}
Summary:        Profiling toolkit

Group:          System Environment/Libraries
License:        LGPLv2+
URL:            http://git.moblin.org/cgit.cgi/uprof/
# Tarball generation:
# git clone git://git.moblin.org/uprof
# cd uprof
# git archive --format=tar --prefix=uprof-0.2/ %%{githash} | bzip2 > uprof-0.2-%%{githash}.tar.bz2
Source0:        %{name}-%{version}-%{githash}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  glib2-devel
BuildRequires:  gtk-doc
BuildRequires:  gnome-common
BuildRequires:  gnome-doc-utils
BuildRequires:  libtool
BuildRequires:  ncurses-devel
BuildRequires:  dbus-glib-devel

%description
An open source library providing a toolkit to assist in profiling
applications in a domain specific way and generating reports than can quickly
be digested and discussed.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       gtk-doc

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -q

%build
./autogen.sh
%configure --enable-gtk-doc --disable-static
#parallel build is broken
#make %{?_smp_mflags} V=1
make V=1

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING
%{_bindir}/uprof-tool
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%doc README
%{_includedir}/*
%{_libdir}/*.so
%{_datadir}/gtk-doc/html/uprof/
%{_libdir}/pkgconfig/uprof-0.3.pc

%changelog
* Sat Jan 15 2011 Adel Gadllah <adel.gadllah@gmail.com> - 0.3-0.1.20110115gita6832f7a
- Update to 0.3

* Tue Aug 10 2010 Adel Gadllah <adel.gadllah@gmail.com> - 0.2-0.5.20100808gitb620fb7f9
- Buildrequire libtool

* Sun Aug 08 2010 Adel Gadllah <adel.gadllah@gmail.com> - 0.2-0.4.20100808gitb620fb7f9
- Add date to release tag

* Sun Aug 08 2010 Adel Gadllah <adel.gadllah@gmail.com> - 0.2-0.3.b620fb7f9
- Some other fixups as per review

* Mon Aug 02 2010 Adel Gadllah <adel.gadllah@gmail.com> - 0.2-0.2.b620fb7f9
- Spec file cleanups as per package review

* Sun Aug 01 2010 Adel Gadllah <adel.gadllah@gmail.com> - 0.2-0.1.b620fb7f9
- Initial release