]> git.pld-linux.org Git - packages/freeciv.git/blobdiff - freeciv.spec
added BR: gtk+3-devel for gtk3 client
[packages/freeciv.git] / freeciv.spec
index e8807cb61cd3b28094cdde34e32981c201d268bc..6287862ddef824375d60eef68f6fc193f110e244 100644 (file)
@@ -1,6 +1,9 @@
 #
 # TODO: - try to create bconds for supported clients
 #      - separate desktop files for all clients
+#      - gtk3 client is broken:
+#              GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
+#      - work on authentication and Freeciv database support (fcdb)
 #
 # Conditional build:
 %bcond_without  ggz_client     # build without ggz client
@@ -26,10 +29,12 @@ URL:                http://freeciv.wikia.com/
 BuildRequires: SDL_mixer-devel
 BuildRequires: SDL_image-devel
 BuildRequires: autoconf >= 2.52
-BuildRequires: automake
+BuildRequires: automake >= 1:1.9
+BuildRequires: curl-devel
 BuildRequires: gettext-tools
 %{?with_ggz_client:BuildRequires:      ggz-gtk-client-devel}
 BuildRequires: gtk+2-devel
+BuildRequires: gtk+3-devel
 BuildRequires: libggz-devel
 BuildRequires: libpng-devel
 BuildRequires: libtool
@@ -133,6 +138,10 @@ cp -a data/civserver.dsc $RPM_BUILD_ROOT%{_sysconfdir}/ggzd/games/civserver.dsc
 cp -a data/civserver.room $RPM_BUILD_ROOT%{_sysconfdir}/ggzd/rooms/civserver.room
 %endif
 
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfreeciv{,-srv}.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man6/freeciv-qt*
+
 %find_lang %{name}
 
 %clean
@@ -191,6 +200,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/appdata/freeciv-gtk3.appdata.xml
 %{_datadir}/appdata/freeciv-modpack.appdata.xml
 %{_datadir}/appdata/freeciv-sdl.appdata.xml
+%{_datadir}/%{name}/Freeciv
 %{_datadir}/%{name}/*.*spec
 %{_datadir}/%{name}/amplio2
 %{_datadir}/%{name}/buildings
This page took 0.488869 seconds and 4 git commands to generate.