]> git.pld-linux.org Git - packages/wesnoth.git/blobdiff - wesnoth.spec
- release 4 (rebuild against libpng-1.5)
[packages/wesnoth.git] / wesnoth.spec
index 62c820370742f924eafc5ac8e89bd7e3a18e7eed..1d7c250b4767bc6ea17da4a169f19d4f9678fba7 100644 (file)
@@ -11,13 +11,14 @@ Summary(hu.UTF-8):  Fantasy környezetben játszódó stratégiai játék
 Summary(pl.UTF-8):     Strategiczna gra z motywem fantasy
 Name:          wesnoth
 Version:       1.10
-Release:       0.1
+Release:       4
 Epoch:         1
 License:       GPL v2+
 Group:         X11/Applications/Games/Strategy
 Source0:       http://downloads.sourceforge.net/wesnoth/%{name}-%{version}.tar.bz2
 # Source0-md5: 707daa13e2f5b3976d9b169aab62dc29
 Source1:       %{name}d.init
+Source2:       %{name}.tmpfiles
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-locale_dir.patch
 URL:           http://www.wesnoth.org/
@@ -137,7 +138,8 @@ cd build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/var/run/wesnothd,/etc/rc.d/init.d,%{_docdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/var/run/wesnothd,/etc/rc.d/init.d} \
+       $RPM_BUILD_ROOT{/usr/lib/tmpfiles.d,%{_docdir}/%{name}-%{version}}
 
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -148,6 +150,7 @@ gzip -9nf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{changelog,README}
 
 %if %{with server}
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/wesnothd
+install %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 %endif
 
 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/nb{_NO,}
@@ -245,6 +248,7 @@ fi
 %lang(zh_CN) %{_mandir}/zh_CN/man6/wesnothd.6*
 %lang(zh_TW) %{_mandir}/zh_TW/man6/wesnothd.6*
 %attr(770,wesnothd,wesnothd) %dir /var/run/wesnothd
+/usr/lib/tmpfiles.d/%{name}.conf
 %endif
 
 %if %{with tools}
This page took 0.027129 seconds and 4 git commands to generate.