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