Improved spec file as per feedback in gnome-devel-list.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-04-04 John Gotts <jgotts@linuxsavvy.com>
|
||||||
|
|
||||||
|
* libgtop.spec.in: Fixed categories. Also build examples. Improved
|
||||||
|
file lists.
|
||||||
|
|
||||||
2001-03-17 Marius Andreiana <mandreiana@yahoo.com>
|
2001-03-17 Marius Andreiana <mandreiana@yahoo.com>
|
||||||
|
|
||||||
* configure.in: Added ro (Romanian) to ALL_LINGUAS
|
* configure.in: Added ro (Romanian) to ALL_LINGUAS
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# Note that this is NOT a relocatable package
|
# Note that this is NOT a relocatable package
|
||||||
%define ver @VERSION@
|
%define ver @VERSION@
|
||||||
%define RELEASE SNAP
|
%define RELEASE 1
|
||||||
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
|
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
|
|
||||||
@@ -9,9 +9,9 @@ Name: libgtop
|
|||||||
Version: %ver
|
Version: %ver
|
||||||
Release: %rel
|
Release: %rel
|
||||||
Copyright: LGPL
|
Copyright: LGPL
|
||||||
Group: X11/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/libgtop/libgtop-%{ver}.tar.gz
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/libgtop/libgtop-%{ver}.tar.gz
|
||||||
BuildRoot: /tmp/libgtop-root
|
BuildRoot: /var/tmp/%{name}-%{ver}-root
|
||||||
Packager: Martin Baulig <martin@home-of-linux.org>
|
Packager: Martin Baulig <martin@home-of-linux.org>
|
||||||
URL: http://www.home-of-linux.org/gnome/libgtop/
|
URL: http://www.home-of-linux.org/gnome/libgtop/
|
||||||
Prereq: /sbin/install-info
|
Prereq: /sbin/install-info
|
||||||
@@ -28,12 +28,19 @@ information from /dev/kmem or whatever.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Libraries, includes, etc to develop LibGTop applications
|
Summary: Libraries, includes, etc to develop LibGTop applications
|
||||||
Group: X11/libraries
|
Group: Development/Libraries
|
||||||
Requires: libgtop
|
Requires: libgtop
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libraries, include files, etc you can use to develop GNOME applications.
|
Libraries, include files, etc you can use to develop GNOME applications.
|
||||||
|
|
||||||
|
%package examples
|
||||||
|
Summary: Examples for LibGTop
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: libgtop
|
||||||
|
|
||||||
|
%description examples
|
||||||
|
Examples for LibGTop.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
@@ -51,12 +58,12 @@ Libraries, include files, etc you can use to develop GNOME applications.
|
|||||||
%build
|
%build
|
||||||
# Needed for snapshot releases.
|
# Needed for snapshot releases.
|
||||||
if [ ! -f configure ]; then
|
if [ ! -f configure ]; then
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-guile --with-libgtop-smp
|
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-guile --with-libgtop-smp
|
||||||
else
|
else
|
||||||
%ifarch alpha
|
%ifarch alpha
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-guile --with-libgtop-smp
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-guile --with-libgtop-smp
|
||||||
%else
|
%else
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-guile --with-libgtop-smp
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-guile --with-libgtop-smp
|
||||||
%endif
|
%endif
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -99,17 +106,25 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc TODO NEWS.old copyright.txt
|
%doc TODO NEWS.old copyright.txt
|
||||||
%doc src/inodedb/README.inodedb
|
%doc src/inodedb/README.inodedb
|
||||||
|
|
||||||
|
%{prefix}/bin/file_by_inode
|
||||||
|
%{prefix}/bin/libgtop_daemon
|
||||||
|
%{prefix}/bin/mkinodedb
|
||||||
%{prefix}/lib/lib*.so.*
|
%{prefix}/lib/lib*.so.*
|
||||||
%{prefix}/share/*
|
%{prefix}/share/locale/*/LC_MESSAGES/*.mo
|
||||||
%{prefix}/bin/*
|
%{prefix}/info/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
|
||||||
|
%{prefix}/bin/libgtop-config
|
||||||
%{prefix}/lib/lib*.so
|
%{prefix}/lib/lib*.so
|
||||||
%{prefix}/lib/*a
|
%{prefix}/lib/*a
|
||||||
%{prefix}/lib/*.sh
|
%{prefix}/lib/*.sh
|
||||||
%{prefix}/lib/*.def
|
%{prefix}/lib/*.def
|
||||||
%{prefix}/include/*
|
%{prefix}/include/glibtop/*
|
||||||
%{prefix}/lib/libgtop
|
%{prefix}/include/*.h
|
||||||
|
|
||||||
|
%files examples
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%{prefix}/libexec/libgtop/*
|
||||||
|
Reference in New Issue
Block a user