Commit fe8416eafd5ed8f461c413a6ede62674c88c170a

Authored by perry.werneck@gmail.com
1 parent fac82185

Desativando construção do pacote libreoffice até descobrir o problema com o idlc

Showing 2 changed files with 17 additions and 1 deletions   Show diff stats
po/pt_BR.po
... ... @@ -5,7 +5,7 @@ msgid ""
5 5 msgstr ""
6 6 "Project-Id-Version: pw3270 5.0\n"
7 7 "Report-Msgid-Bugs-To: \n"
8   -"POT-Creation-Date: 2013-11-27 09:36-0200\n"
  8 +"POT-Creation-Date: 2013-11-27 11:36-0200\n"
9 9 "PO-Revision-Date: 2013-11-12 08:07-0200\n"
10 10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n"
11 11 "Language-Team: Português <perry.werneck@gmail.com>\n"
... ...
pw3270.spec.in
... ... @@ -82,7 +82,13 @@ BuildRequires: gettext-devel
82 82 BuildRequires: findutils
83 83 BuildRequires: coreutils
84 84 BuildRequires: desktop-file-utils
  85 +BuildRequires: dbus-1-devel
  86 +BuildRequires: dbus-1-glib-devel
  87 +
  88 +%if 0%{?_office}
85 89 BuildRequires: libreoffice-sdk
  90 +%endif
  91 +
86 92 BuildRequires: rsvg-view
87 93  
88 94 %description
... ... @@ -131,6 +137,7 @@ Plugin exporting a DBUS object from every %{name} open session.
131 137  
132 138 Revision @PACKAGE_REVISION@ from @PACKAGE_SOURCE@
133 139  
  140 +%if 0%{?_office}
134 141 %package -n %{name}-libreoffice
135 142 Summary: %{name} extension for libreoffice
136 143 Group: Productivity/Office/Suite
... ... @@ -141,6 +148,7 @@ Requires: libreoffice
141 148 This package provides 3270 access object to StarBasic.
142 149  
143 150 Revision @PACKAGE_REVISION@ from @PACKAGE_SOURCE@
  151 +%endif
144 152  
145 153 %if 0%{?_ooRexx}
146 154 %package -n %{name}-plugin-rexx
... ... @@ -167,9 +175,14 @@ autoconf
167 175 export CFLAGS="$RPM_OPT_FLAGS"
168 176 export CXXFLAGS="$RPM_OPT_FLAGS"
169 177 export FFLAGS="$RPM_OPT_FLAGS"
  178 +
  179 +%if 0%{?_office}
170 180 export OFFICE_HOME=%{_libdir}/libreoffice
171 181 export OO_SDK_HOME=%{_libdir}/libreoffice/sdk
172 182 %configure
  183 +%else
  184 +%configure --disable-office
  185 +%endif
173 186  
174 187 %build
175 188 make clean
... ... @@ -219,6 +232,7 @@ rm -rf $RPM_BUILD_ROOT
219 232 %{_includedir}/lib3270.h
220 233 %{_includedir}/pw3270.h
221 234 %{_datadir}/@PACKAGE_NAME@/ui/99debug.xml
  235 +%{_datadir}/@PACKAGE_NAME@/ui/98trace.xml
222 236 %{_libdir}/pkgconfig/*.pc
223 237 %{_libdir}/lib3270.so
224 238 %{_libdir}/libpw3270.so
... ... @@ -230,6 +244,7 @@ rm -rf $RPM_BUILD_ROOT
230 244 %defattr(-,root,root)
231 245 %{_libdir}/@PACKAGE_NAME@-plugins/dbus3270.so
232 246  
  247 +%if 0%{?_office}
233 248 %files -n %{name}-libreoffice
234 249 %defattr(-,root,root)
235 250 %dir %{_libdir}/libreoffice/share/extensions/%{name}
... ... @@ -239,6 +254,7 @@ rm -rf $RPM_BUILD_ROOT
239 254 %{_libdir}/libreoffice/share/extensions/%{name}/pw3270.png
240 255 %{_libdir}/libreoffice/share/extensions/%{name}/pw3270.uno.rdb
241 256 %{_libdir}/libreoffice/share/extensions/%{name}/pw3270.uno.so
  257 +%endif
242 258  
243 259 %if 0%{?_ooRexx}
244 260 %files -n %{name}-plugin-rexx
... ...