rpms/oprofileui/devel oprofileui.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dave Jones davej at fedoraproject.org
Wed Feb 18 21:47:17 UTC 2009


Author: davej

Update of /cvs/pkgs/rpms/oprofileui/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23935

Modified Files:
	.cvsignore sources 
Added Files:
	oprofileui.spec 
Log Message:
import



--- NEW FILE oprofileui.spec ---
Name:		oprofileui
Version:	0.2.0
Release:	2%{?dist}
Summary:	GTK2 user interface for oprofile
License:	GPLv2
Group:		User Interface/Desktops
URL:		http://labs.o-hand.com/oprofileui/
Source0:	http://labs.o-hand.com/sources/oprofileui/oprofileui-%{version}.tar.gz
BuildRequires:	autoconf automake libtool intltool
BuildRequires:	avahi-devel avahi-glib-devel gtk2-devel desktop-file-utils
BuildRequires:	libglade2-devel libxml-devel gnome-vfs2-devel GConf2-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	avahi oprofile gnome-vfs2 GConf2

%description
This is a GTK2 user interface for the oprofile performance profiling tool.

%prep
%setup -q

%build
aclocal
autoconf
automake --add-missing
%configure --bindir=%{_bindir} --docdir=%{_docdir}/%{name} --with-avahi
make CFLAGS="%{optflags}" %{?_smp_mflags}

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
make DESTDIR=%{buildroot} INSTALL='%{__install} -p' install
desktop-file-install					\
	--dir %{buildroot}%{_datadir}/applications	\
	--add-category X-Fedora				\
	--delete-original				\
	%{buildroot}/%{_datadir}/applications/oprofile-viewer.desktop
rm -rf %{buildroot}/%{_docdir}

%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%files
%defattr(-, root, root, -)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/oprofile-server
%{_bindir}/oprofile-viewer
%{_bindir}/oparchconv
%{_datadir}/applications/oprofile-viewer.desktop
%{_datadir}/icons/hicolor/scalable/apps/oprofile-viewer.svg
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/oprofileui/oprofile-viewer.glade

%clean
rm -rf %{buildroot} 

%changelog
* Mon Jun 30 2008 Terje Rosten <terje.rosten at ntnu.no> - 0.2.0-2
- add desktop-file-utils
- remove vendor in desktop-file-install
- remove libglade2 and libxml from reqs (picked up by rpm)
- fix macro usage
- fix timestamp on sources and installed files
- fix docs
- add %%post/%%postun scripts
- license is GPLv2

* Sat Apr 12 2008 Dave Jones <davej at redhat.com> - 0.2.0-1
- Initial packaging.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/oprofileui/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Feb 2009 18:44:21 -0000	1.1
+++ .cvsignore	18 Feb 2009 21:46:47 -0000	1.2
@@ -0,0 +1 @@
+oprofileui-0.2.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/oprofileui/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Feb 2009 18:44:21 -0000	1.1
+++ sources	18 Feb 2009 21:46:47 -0000	1.2
@@ -0,0 +1 @@
+4ebd15796d44f2fd29ecd37c77021d41  oprofileui-0.2.0.tar.gz




More information about the fedora-extras-commits mailing list