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