]> git.pld-linux.org Git - packages/env-update.git/blob - env-update.spec
- orphaned, outdated
[packages/env-update.git] / env-update.spec
1 Summary:        env-update - create /etc/profile.env from /etc/env.d files
2 Name:           env-update - tworzenie /etc/profile.env z plików /etc/env.d
3 Version:        1.6.14
4 Release:        0.2
5 License:        GPL v2
6 Group:          Base
7 Source0:        http://distfiles.gentoo.org/distfiles/rc-scripts-%{version}.tar.bz2
8 # Source0-md5:  3ef9ae479847d474c33d7d54f4912e77
9 Patch0:         %{name}.patch
10 Patch1:         %{name}-cflags.patch
11 BuildRequires:  gawk-devel
12 Requires:       gawk
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This is env-update rip from gentoo's baselayout.
17
18 env-update creates /etc/profile.env file from /etc/env.d files, so
19 your shell is able to read initial env quickly even at high system
20 loads.
21
22 %description -l pl
23 Ten pakiet zawiera narzêdzie env-update wyci±gniête z podstawowych
24 narzêdzi gentoo.
25
26 env-update tworzy plik /etc/profile.env z plików /etc/env.d, dziêki
27 czemu pow³oka jest w stanie szybko wczytaæ pocz±tkowe ¶rodowisko nawet
28 przy du¿ym obci±¿eniu systemu.
29
30 %prep
31 %setup -q -n rc-scripts-%{version}
32 %patch0 -p1
33 %patch1 -p1
34
35 %build
36 %{__make} -C src/filefuncs \
37         CC="%{__cc}" \
38         CFLAGS="%{rpmcflags}" \
39         LD="%{__ld}" 
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_libdir},%{_libexecdir},%{_sbindir}}
44 install src/filefuncs/filefuncs.so $RPM_BUILD_ROOT%{_libdir}
45 install -p src/awk/{functions.awk,genenviron.awk} $RPM_BUILD_ROOT%{_libexecdir}
46 install sbin/env-update.sh $RPM_BUILD_ROOT%{_sbindir}/env-update
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_sbindir}/*
54 %attr(755,root,root) %{_libdir}/filefuncs.so
55 %{_libexecdir}/*.awk
This page took 0.033305 seconds and 3 git commands to generate.