Re: xcalc missing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was also pretty annoyed to find that xcalc was missing.  The easiest way that I've found to put it back is to download this:
ftp://ftp.x.org/pub/X11R7.0/src/app/xcalc-X11R7.0-1.0.1.tar.bz2
And then just simply unpack, configure, build, and install.

Alternatively, if you have any experience with building RPMS, you can do this a bit more cleanly. (No guarantees, but this worked for me):

1) download above source from above into /usr/src/redhat/SOURCES
2) put xcalc.spec into /usr/src/redhat/SPEC (spec file is below)
3) rpmbuild -ba xcalc.spec

[size=small][font=Courier]
Summary: X.Org XCalc
Name: xcalc-X11R7.0
Version: 1.0.1
Release: 1%{?dist}
License: MIT/X11
Group: User Interface/X
URL: http://www.x.org
Source0: ftp://ftp.x.org/pub/X11R7.0/src/app/xcalc-X11R7.0-1.0.1.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description

%prep
%setup -q 

%build
%configure

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc
/usr/bin/xcalc
/usr/share/X11/app-defaults/XCalc
/usr/share/X11/app-defaults/XCalc-color
/usr/share/man/man1/xcalc.1x.gz



%changelog
* Fri Aug 25 2006 amlai <> - 
- Initial build.

[/font][/size]


-- 
This is an email sent via the webforum on http://fcp.surfsite.org
http://fcp.surfsite.org/modules/newbb/viewtopic.php?post_id=107878&topic_id=23035&forum=10#forumpost107878
If you think, this is spam, please report this to webmaster@xxxxxxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux