]> git.pld-linux.org Git - packages/chpwdfile.git/commitdiff
- move files to sbindir, install config
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 13 Oct 2003 16:26:24 +0000 (16:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    chpwdfile.spec -> 1.2

chpwdfile.spec

index d17d150effb34abf0e3e98c3e7ea73c4bbf920f7..3cf40a0118c0c3bb1d65eb244d042d11925e52e7 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Program to manage /etc/passwd-like files
 Summary(pl):   Program do zarz±dzania plikami podobnymi do /etc/passwd
 Name:          chpwdfile
 Version:       0.23
-Release:       0.1
+Release:       0.5
 License:       GPL v2
 Group:         Base/Authentication and Authorization
 Source0:       ftp://eclipse.che.uct.ac.za/chpwdfile/%{name}-%{version}.tar.gz
@@ -41,17 +41,21 @@ simple HTML form.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       BINDIR=%{_bindir} \
+       BINDIR=%{_sbindir} \
        MANDIR=%{_mandir}/man1
 
+install examples/chpwdfile.conf $RPM_BUILD_ROOT/etc
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README examples
-%attr(755,root,root) %{_bindir}/*
+%attr(640,root,root) %config(noreplace) /etc/chpwdfile.conf
+%attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man1/*.1*
This page took 0.075607 seconds and 4 git commands to generate.