Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#9982) Freeciv .spec file
Home

[Freeciv-Dev] (PR#9982) Freeciv .spec file

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9982) Freeciv .spec file
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Wed, 8 Sep 2004 02:16:34 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9982 >

This is the first version of Freeciv .spec file (RPM configuration
file). I think we need some semi-official RPM policy, because for
example Mandrake did it bad.

I divided Freeciv into three packages:
freeciv-server (civserver, rulesetdirs, *.serv, civserver man)
freeciv-client (civclient, tilesets, *.rc, civclient man)
freeciv-l10n (*.mo files)

This package works only for GTK-2 client

Most documentation is included in freeciv-server, but README.graphics
and README.attributes are included in freeciv-client.

I didn't include menu files.

What do you think about that?
--
mateusz

Attachment: freeciv.spec.in
Description: Binary data

Index: Makefile.am
===================================================================
RCS file: /home/freeciv/CVS/freeciv/Makefile.am,v
retrieving revision 1.44
diff -u -r1.44 Makefile.am
--- Makefile.am 6 Sep 2004 02:50:50 -0000       1.44
+++ Makefile.am 8 Sep 2004 09:05:45 -0000
@@ -91,7 +91,8 @@
                vms/freeciv_h.vms               \
                vms/imlib_config.h_vms          \
                vms/readme.vms                  \
-               vms/vms_build.com
+               vms/vms_build.com               \
+               freeciv.spec.in
 
 noinst_HEADERS= version.in
 
Index: configure.ac
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.ac,v
retrieving revision 1.73
diff -u -r1.73 configure.ac
--- configure.ac        6 Sep 2004 17:13:06 -0000       1.73
+++ configure.ac        8 Sep 2004 09:05:47 -0000
@@ -16,7 +16,8 @@
 dnl different patch versions are compatible
 m4_include(version.in)
 
-VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${VERSION_LABEL}
+VERSION_WITHOUT_LABEL=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}
+VERSION=${VERSION_WITHOUT_LABEL}${VERSION_LABEL}
 
 dnl Similar to following are already done by AM_INIT_AUTOMAKE:
 dnl (but different in terms of producing quoted vs bare strings)
@@ -409,6 +410,8 @@
 AC_SUBST(CLIENT_LDFLAGS)
 AC_SUBST(SOUND_CFLAGS)
 AC_SUBST(SOUND_LIBS)
+AC_SUBST(VERSION_WITHOUT_LABEL)
+AC_SUBST(VERSION_LABEL)
 AM_CONDITIONAL(ESD, test "x$ESD" = "xyes")
 AM_CONDITIONAL(SDL, test "x$SDL_mixer" = "xyes")
 AM_CONDITIONAL(ALSA, test "x$ALSA" = "xyes")
@@ -661,7 +664,8 @@
          doc/ja/Makefile
          doc/nl/Makefile
          doc/sv/Makefile
-         undep.sh])
+         undep.sh
+         freeciv.spec])
 AC_CONFIG_FILES([civ], [chmod +x civ])
 AC_CONFIG_FILES([ser], [chmod +x ser])
 AC_CONFIG_COMMANDS([default],[[ chmod +x undep.sh ; ./undep.sh ]],[[]])
Index: configure.in
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.in,v
retrieving revision 1.250
diff -u -r1.250 configure.in
--- configure.in        6 Sep 2004 17:13:06 -0000       1.250
+++ configure.in        8 Sep 2004 09:05:47 -0000
@@ -15,7 +15,8 @@
 dnl different patch versions are compatible
 sinclude(version.in)
 
-VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${VERSION_LABEL}
+VERSION_WITHOUT_LABEL=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}
+VERSION=${VERSION_WITHOUT_LABEL}${VERSION_LABEL}
 
 dnl Similar to following are already done by AM_INIT_AUTOMAKE:
 dnl (but different in terms of producing quoted vs bare strings)
@@ -402,6 +403,7 @@
 AC_SUBST(CLIENT_LDFLAGS)
 AC_SUBST(SOUND_CFLAGS)
 AC_SUBST(SOUND_LIBS)
+AC_SUBST(VERSION_WITHOUT_LABEL)
 AM_CONDITIONAL(ESD, test x"$ESD" = "xyes")
 AM_CONDITIONAL(ALSA, test "x$ALSA" = "xyes")
 AM_CONDITIONAL(SDL, test x"$SDL_mixer" = "xyes")
@@ -659,5 +661,6 @@
          doc/sv/Makefile
          civ
          ser
-         undep.sh,
+         undep.sh
+         freeciv.spec,
          [ chmod +x undep.sh civ ser ; ./undep.sh ])

[Prev in Thread] Current Thread [Next in Thread]