Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
mfsm
mfsm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mfsm.spec of Package mfsm
# # spec file for package mfsm (Version 1.4) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: mfsm BuildRequires: openmotif openmotif-devel update-desktop-files License: Other License(s), see package Group: System/Monitoring Autoreqprov: on URL: http://members.tripod.com/SDHEngSoft/mfsm.html Version: 1.4 Release: 288 Summary: X Window System Based du Source: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop Patch: %{name}-%{version}.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description X Window Motif utility that monitors free space and user quotas of file systems. Authors: -------- Shane D. Hill <Shane.Hill@dsto.defence.gov.au> %if "%(xft-config --prefix)" == "/usr" %define _xorg7libs %_lib %define _xorg7libs32 lib %define _xorg7bin bin %define _xorg7_mandir %_mandir %define _xorg7pixmaps include %define _xorg7libshare share %define _xorg7_xkb /usr/share/X11/xkb %define _xorg7_termcap /usr/lib/X11/etc %define _xorg7_serverincl /usr/include/xorg %define _xorg7_fonts /usr/share/fonts %define _xorg7_prefix /usr %else %define _xorg7libs X11R6/%_lib %define _xorg7libs32 X11R6/lib %define _xorg7bin X11R6/bin %define _xorg7_mandir /usr/X11R6/man %define _xorg7pixmaps X11R6/include %define _xorg7libshare X11R6/lib/ %define _xorg7_xkb /etc/X11/xkb %define _xorg7_termcap /usr/X11R6/lib/X11/etc %define _xorg7_serverincl /usr/X11R6/lib/Server/include %define _xorg7_fonts /usr/X11R6/lib/X11/fonts %define _xorg7_prefix /usr/X11R6 %endif %prep %setup -q -n %{name}-%{version} %patch %build xmkmf -a test -x /usr/sbin/switch_motif_linking && \ /usr/sbin/switch_motif_linking dynamic make CCOPTIONS="$RPM_OPT_FLAGS" LDFLAGS="-L/usr/%{_xorg7libs}" #mv mfsm mfsm.SuSE-dynamic #test -x /usr/sbin/switch_motif_linking && \ # /usr/sbin/switch_motif_linking static #make LDFLAGS="-L/usr/X11R6/lib" #mv mfsm mfsm.SuSE-static #make %install mkdir -p $RPM_BUILD_ROOT/usr/%{_xorg7bin} mkdir -p $RPM_BUILD_ROOT/%{_xorg7_mandir}/man1 install -m 0755 mfsm $RPM_BUILD_ROOT/usr/%{_xorg7bin} install -m 0644 mfsm._man $RPM_BUILD_ROOT/%{_xorg7_mandir}/man1/mfsm.1x #install -m 0755 mfsm.SuSE-static /usr/%{_xorg7bin} #ln -s /usr/%{_xorg7bin}/mfsm.SuSE-static /usr/%{_xorg7bin}/mfsm %suse_update_desktop_file -i %name System Filesystem %files %defattr(-,root,root) /usr/share/applications/%name.desktop /usr/%{_xorg7bin}/mfsm #/usr/%{_xorg7bin}/mfsm.SuSE-dynamic #/usr/%{_xorg7bin}/mfsm.SuSE-static %doc %{_xorg7_mandir}/man1/mfsm.1x.gz %doc README THANKS TODO FIXES %changelog -n mfsm * Thu Jul 27 2006 - lmichnovic@suse.cz - builds also with new X.org 7.x, checks the version of X.org * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Sun Jan 15 2006 - schwab@suse.de - Don't strip binaries. * Wed Jun 15 2005 - meissner@suse.de - use RPM_OPT_FLAGS. * Thu Feb 26 2004 - hmacht@suse.de - building as non-root * Sat Aug 16 2003 - adrian@suse.de - add desktop file * Sat Jan 11 2003 - tcrhak@suse.cz - update to version 1.4 - added BuildRoot * Tue Sep 17 2002 - ro@suse.de - removed bogus self-provides * Tue Jul 31 2001 - adostal@suse.cz - bzip2 source and convert dif to patch * Tue Nov 21 2000 - ro@suse.de - use openmotif * Mon Sep 13 1999 - bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Mon Jul 12 1999 - uli@suse.de - now builds with lesstif * Tue Sep 15 1998 - ro@suse.de - added lib Xp for motif * Tue Aug 11 1998 - ray@suse.de - new package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor