Mageia Bugzilla – Attachment 749 Details for
Bug 2588
Request for 'units'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec file
units.spec (text/x-rpm-spec), 1.17 KB, created by
Olivier Delaune
on 2011-09-02 10:06:30 CEST
(
hide
)
Description:
spec file
Filename:
MIME Type:
Creator:
Olivier Delaune
Created:
2011-09-02 10:06:30 CEST
Size:
1.17 KB
patch
obsolete
>%define name units >%define version 1.88 >%define release %mkrel 1 > >Summary: A utility for converting amounts from one unit to another >Name: %{name} >Version: %{version} >Release: %{release} >Source0: ftp://ftp.gnu.org/pub/gnu/units/%{name}-%{version}.tar.gz >Url: http://www.gnu.org/software/units/units.html >License: GPLv2 >Group: Office >BuildRequires: ncurses-devel readline-devel >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot > >%description >The âunits' program converts quantities expressed in various scales to >their equivalents in other scales. The âunits' program can handle >multiplicative scale changes as well as nonlinear conversions such as >Fahrenheit to Celsius. Temperature and other nonlinear conversions >are handled using a functional notation. > >%prep >%setup -q > >%build >%configure2_5x >%make >make check > >%install >rm -rf $RPM_BUILD_ROOT >%makeinstall > >%post >%_install_info %{name}.info > >%preun >%_remove_install_info %{name}.info > >%clean >rm -rf $RPM_BUILD_ROOT > >%files >%defattr(-,root,root) >%{_bindir}/units >%{_datadir}/units.dat >%{_infodir}/* >%{_mandir}/man1/units.1* > >%changelog >* Fri Sep 2 2011 Olivier Delaune <olivier.delaune@wanadoo.fr> 1.88-1.mga1 >- Package creation
%define name units %define version 1.88 %define release %mkrel 1 Summary: A utility for converting amounts from one unit to another Name: %{name} Version: %{version} Release: %{release} Source0: ftp://ftp.gnu.org/pub/gnu/units/%{name}-%{version}.tar.gz Url: http://www.gnu.org/software/units/units.html License: GPLv2 Group: Office BuildRequires: ncurses-devel readline-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description The âunits' program converts quantities expressed in various scales to their equivalents in other scales. The âunits' program can handle multiplicative scale changes as well as nonlinear conversions such as Fahrenheit to Celsius. Temperature and other nonlinear conversions are handled using a functional notation. %prep %setup -q %build %configure2_5x %make make check %install rm -rf $RPM_BUILD_ROOT %makeinstall %post %_install_info %{name}.info %preun %_remove_install_info %{name}.info %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/units %{_datadir}/units.dat %{_infodir}/* %{_mandir}/man1/units.1* %changelog * Fri Sep 2 2011 Olivier Delaune <olivier.delaune@wanadoo.fr> 1.88-1.mga1 - Package creation
View Attachment As Raw
Actions:
View
Attachments on
bug 2588
: 749