]> git.pld-linux.org Git - packages/freeciv.git/commitdiff
- fixed app-defaults dir (is it used at all now?), cosmetics
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 23 May 2005 18:29:22 +0000 (18:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freeciv.spec -> 1.84

freeciv.spec

index e05b923ceaec94bcb2f2d4a51420698b9028fa8d..f9280becce9b2015b5b73227b07ec153de183d1e 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without gtk2            # build gtk1 client, not gtk2
-
+#
 Summary:       FREE CIVilization clone
 Summary(es):   Clon del juego Civilization
 Summary(pl):   Niekomercyjny klon CIVilization
@@ -30,6 +30,8 @@ BuildRequires:        readline-devel
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _appdefsdir     /usr/X11R6/lib/X11/app-defaults
+
 %description
 Free clone of Sid Meier's Civilization. Free Civilization clone for
 unix and X. This is multiplayer strategic game and you can also play
@@ -89,8 +91,7 @@ cp -f /usr/share/automake/config.sub bootstrap
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults \
-       $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_appdefsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -123,11 +124,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/%{name}/nation
 %{_datadir}/%{name}/scenario
 %{_datadir}/%{name}/*.serv
-%{_mandir}/man6/civserver.6.gz
+%{_mandir}/man6/civserver.6*
 
 %files client
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/civclient
+%attr(755,root,root) %{_bindir}/civmanual
 %{_desktopdir}/%{name}-client.desktop
 %{_datadir}/%{name}/freeciv.rc*
 %{_datadir}/%{name}/isotrident
@@ -137,5 +139,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/%{name}/flags
 %{_datadir}/%{name}/*.*spec
 %{_datadir}/%{name}/stdsounds
-%{_mandir}/man6/civclient.6.gz
-%{_bindir}/civmanual
+%{_mandir}/man6/civclient.6*
This page took 0.095469 seconds and 4 git commands to generate.