Commit 659f7786675cf94ed467b6e20f5ac17898d490f5
1 parent
1eb24efa
Exists in
master
and in
5 other branches
Atualizando empacotamento rpm.
Showing
1 changed file
with
2 additions
and
20 deletions
Show diff stats
rpm/pw3270.spec
| ... | ... | @@ -131,6 +131,7 @@ BuildRequires: rsvg-view |
| 131 | 131 | # https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto |
| 132 | 132 | %if 0%{suse_version} > 120100 |
| 133 | 133 | BuildRequires: autoconf-archive |
| 134 | +BuildRequires: update-desktop-files | |
| 134 | 135 | %endif |
| 135 | 136 | |
| 136 | 137 | %endif |
| ... | ... | @@ -215,26 +216,6 @@ make all -j1 |
| 215 | 216 | |
| 216 | 217 | %find_lang pw3270 langfiles |
| 217 | 218 | |
| 218 | -cat > pw3270.desktop << EOF | |
| 219 | -[Desktop Entry] | |
| 220 | -X-SuSE-translate=true | |
| 221 | -GenericName=pw3270 | |
| 222 | -Name=3270 Terminal | |
| 223 | -Comment=IBM 3270 Terminal emulator | |
| 224 | -Exec=pw3270 | |
| 225 | -Icon=%{_datadir}/pw3270/pw3270.png | |
| 226 | -Terminal=false | |
| 227 | -Type=Application | |
| 228 | -StartupNotify=true | |
| 229 | -EOF | |
| 230 | -chmod 644 pw3270.desktop | |
| 231 | - | |
| 232 | -desktop-file-install --mode 644 \ | |
| 233 | - --dir %{buildroot}/%{_datadir}/applications \ | |
| 234 | - --add-category System \ | |
| 235 | - --add-category TerminalEmulator \ | |
| 236 | - pw3270.desktop | |
| 237 | - | |
| 238 | 219 | %fdupes %{buildroot}/%{_prefix} |
| 239 | 220 | |
| 240 | 221 | #---[ Files ]--------------------------------------------------------------------------------------------------------- |
| ... | ... | @@ -267,6 +248,7 @@ desktop-file-install --mode 644 \ |
| 267 | 248 | %{_datadir}/pw3270/colors.conf |
| 268 | 249 | %{_datadir}/pw3270/pw3270.png |
| 269 | 250 | %{_datadir}/pw3270/pw3270-logo.png |
| 251 | +%{_datadir}/pixmaps/pw3270.png | |
| 270 | 252 | |
| 271 | 253 | %files devel |
| 272 | 254 | ... | ... |