]> git.pld-linux.org Git - packages/axel.git/commitdiff
- updated to 1.0a
authorfilon <filon@sokrates.mimuw.edu.pl>
Wed, 20 Feb 2002 17:14:14 +0000 (17:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added localization
- new buid and install sections

Changed files:
    axel.spec -> 1.19

axel.spec

index b9a1d461ebe9b96e3dfe907041fea97c324a2ac8..6ce24a3933db0c19dae287e7dce893edf7d66fa9 100644 (file)
--- a/axel.spec
+++ b/axel.spec
@@ -1,7 +1,7 @@
 Summary:       An light Linux download accelerator     
 Summary(pl):   Niewielki dopalacz ¶ci±gania plików
 Name:          axel
-Version:       0.99a
+Version:       1.0a
 Release:       1
 License:       GPL
 Group:         Networking/Utilities
@@ -25,25 +25,33 @@ wszystkie dane w jednym pliku. Dlatego powinien by
 
 %prep
 %setup  -q 
-%patch -p1
 
 %build
-%{__make} CC="%{__cc}" CFLAGS="%{rpmcflags} -D_REENTRANT -DETCDIR=\\\"/etc\\\""
+# it doesn't use autoconf
+./configure \
+       --prefix=%{_prefix} \
+       --bindir=%{_bindir} \
+       --etcdir=%{_sysconfdir} \
+       --mandir=%{_mandir} \
+       --locale=%{_datadir}/locale \
+       --i18n=1
 
-gzip -9nf CHANGES README
+%{__make} CC=%{__cc} CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
 
-install axel $RPM_BUILD_ROOT%{_bindir}
-install axel.1 $RPM_BUILD_ROOT%{_mandir}/man1
-install axelrc.example $RPM_BUILD_ROOT%{_sysconfdir}/axelrc
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir},%{_datadir}/locale}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+gzip -9nf CHANGES README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc *.gz
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
This page took 0.099126 seconds and 4 git commands to generate.