diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-05-29 07:30:32 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-05-29 07:30:32 +0000 |
commit | ce597d6a01fda649be99c7fae25a0604bdefa23c (patch) | |
tree | b65380f6ae301ab9660d3d4728c48fec4eaef7be /t/data/SPECS/various.spec | |
parent | ef337715b4b8124322d5bb458dc9686da7d8fb8b (diff) | |
download | urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.gz urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.bz2 urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.tar.xz urpmi-ce597d6a01fda649be99c7fae25a0604bdefa23c.zip |
re-sync after the big svn loss
Diffstat (limited to 't/data/SPECS/various.spec')
-rw-r--r-- | t/data/SPECS/various.spec | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/t/data/SPECS/various.spec b/t/data/SPECS/various.spec new file mode 100644 index 00000000..b7d62e8f --- /dev/null +++ b/t/data/SPECS/various.spec @@ -0,0 +1,38 @@ +Summary: various +Name: various +Version: 1 +Release: 1 +License: x +Group: x +Url: x +BuildRoot: %{_tmppath}/%{name} + +%prep +echo foo > foo + +%build + +%install +rm -rf $RPM_BUILD_ROOT +for i in /etc/test-%{name} \ + /var/lib/test-%{name}/foo1 /var/lib/test-%{name}/foo2 /var/lib/test-%{name}/foo3 \ + /usr/share/locale/fr/LC_MESSAGES/test-%{name}.mo \ + /usr/test-%{name}/foo; do + install -d `dirname $RPM_BUILD_ROOT$i` + echo foo > $RPM_BUILD_ROOT$i +done + +%find_lang test-%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%description +x + +%files -f test-%{name}.lang +%defattr(-,root,root) +%doc foo +%config(noreplace) /etc/* +/var/lib/* +/usr/test-%{name} |