summaryrefslogtreecommitdiff
path: root/gnome-common.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-common.spec.in')
-rw-r--r--gnome-common.spec.in82
1 files changed, 0 insertions, 82 deletions
diff --git a/gnome-common.spec.in b/gnome-common.spec.in
deleted file mode 100644
index aba8ca4..0000000
--- a/gnome-common.spec.in
+++ /dev/null
@@ -1,82 +0,0 @@
-# Note this is NOT a relocatable thing :)
-%define name gnome-common
-%define ver @VERSION@
-%define RELEASE 0_cvs_0
-%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
-%define prefix /usr
-%define sysconfdir /etc
-
-Name: %name
-Summary: gnome-common contains usefull things common to building gnome packages
-Version: %ver
-Distribution: GNOME
-Vendor: CVS
-Release: %rel
-Copyright: GPL
-Group: Development/Tools
-Source: %{name}-%{ver}.tar.gz
-URL: http://gnome.org
-BuildRoot: /var/tmp/%{name}-%{ver}-root
-Docdir: %{prefix}/doc
-
-%description
-gnome-common is for developing various GNOME modules that have to do similar things
-
-%changelog
-* Mon Mar 26 2000 Robin * Slomkowski <rslomkow@rslomkow.org>
-- created this thing, and replaced the generic specfile
-
-%prep
-%setup
-
-%build
-%ifarch alpha
- MYARCH_FLAGS="--host=alpha-redhat-linux"
-%endif
-
-LC_ALL=""
-LINGUAS=""
-LANG=""
-export LC_ALL LINGUAS LANG
-
-CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
- --prefix=%{prefix} \
- --enable-platform-gnome-2 \
- --sysconfdir=%{sysconfdir}
-
-if [ "$SMP" != "" ]; then
- (make "MAKE=make -k -j $SMP"; exit 0)
- make
-else
- make
-fi
-
-%install
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-
-make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install
-
-for FILE in "$RPM_BUILD_ROOT/bin/*"; do
- file "$FILE" | grep -q not\ stripped && strip $FILE
-done
-
-%clean
-[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
-
-%post
-if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then
- echo "%{prefix}/lib" >> /etc/ld.so.conf
-fi
-
-/sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-%files
-
-%defattr(0555, bin, bin)
-%{prefix}/bin/*
-
-%defattr (0444, bin, bin)
-%{prefix}/share/aclocal/gnome-macros/*
-%{prefix}/share/aclocal/gnome2-macros/*