summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/various3.spec
diff options
context:
space:
mode:
Diffstat (limited to 't/data/SPECS/various3.spec')
-rw-r--r--t/data/SPECS/various3.spec38
1 files changed, 38 insertions, 0 deletions
diff --git a/t/data/SPECS/various3.spec b/t/data/SPECS/various3.spec
new file mode 100644
index 00000000..5d147f75
--- /dev/null
+++ b/t/data/SPECS/various3.spec
@@ -0,0 +1,38 @@
+Summary: various3
+Name: various3
+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}