1 ## |
1 ## |
2 ## cgicc.spec -- OpenPKG RPM Specification |
2 ## cgicc.spec -- OpenPKG RPM Specification |
3 ## Copyright (c) 2009 Michael Schloh von Bennewitz <michael@schloh.com> |
3 ## Copyright (c) 2010 Michael Schloh von Bennewitz <michael@schloh.com> |
4 ## |
4 ## |
5 ## Permission to use, copy, modify, and distribute this software for |
5 ## Permission to use, copy, modify, and distribute this software for |
6 ## any purpose with or without fee is hereby granted, provided that |
6 ## any purpose with or without fee is hereby granted, provided that |
7 ## the above copyright notice and this permission notice appear in all |
7 ## the above copyright notice and this permission notice appear in all |
8 ## copies. |
8 ## copies. |
99 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
99 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
100 |
100 |
101 # determine installation files |
101 # determine installation files |
102 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ |
102 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ |
103 %{l_files_std} \ |
103 %{l_files_std} \ |
104 '%doc %{l_prefix}/share/webalizer/doc/*' |
104 "%doc %{l_prefix}/share/%{name}/doc" |
105 |
105 |
106 %files -f files |
106 %files -f files |
107 |
107 |
108 %clean |
108 %clean |
109 rm -rf $RPM_BUILD_ROOT |
109 rm -rf $RPM_BUILD_ROOT |