| 1 | #
|
|---|
| 2 | # spec file for package beebeep
|
|---|
| 3 | #
|
|---|
| 4 | # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|---|
| 5 | #
|
|---|
| 6 | # All modifications and additions to the file contributed by third parties
|
|---|
| 7 | # remain the property of their copyright owners, unless otherwise agreed
|
|---|
| 8 | # upon. The license for this file, and modifications and additions to the
|
|---|
| 9 | # file, is the same license as for the pristine package itself (unless the
|
|---|
| 10 | # license for the pristine package is not an Open Source License, in which
|
|---|
| 11 | # case the license is the MIT License). An "Open Source License" is a
|
|---|
| 12 | # license that conforms to the Open Source Definition (Version 1.9)
|
|---|
| 13 | # published by the Open Source Initiative.
|
|---|
| 14 |
|
|---|
| 15 | # Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|---|
| 16 | #
|
|---|
| 17 |
|
|---|
| 18 | %define rsvn r1047
|
|---|
| 19 | Name: beebeep
|
|---|
| 20 | Version: 5.4.3
|
|---|
| 21 | Release: 1
|
|---|
| 22 | Summary: Secure Lan Messenger
|
|---|
| 23 | License: GPL-3.0+
|
|---|
| 24 | Group: Productivity/Networking/Instant Messenger
|
|---|
| 25 | Url: http://beebeep.sourceforge.net/
|
|---|
| 26 | #Source0: http://sourceforge.net/projects/beebeep/files/Sources/beebeep-code-%{version}.zip
|
|---|
| 27 |
|
|---|
| 28 | Vendor: bww bitwise works GmbH
|
|---|
| 29 | %scm_source svn f:/git-src/beebeep-code r1050
|
|---|
| 30 |
|
|---|
| 31 | BuildRequires: unzip
|
|---|
| 32 | BuildRequires: dos2unix
|
|---|
| 33 | BuildRequires: pkgconfig
|
|---|
| 34 |
|
|---|
| 35 | %description
|
|---|
| 36 | BeeBEEP is a secure (encryption based on Rjandell Algorithm, AES) peer to
|
|---|
| 37 | peer lan messenger. You can talk and send files with all your friends
|
|---|
| 38 | inside a local area network such of an office, home or internet cafe
|
|---|
| 39 | without a server.
|
|---|
| 40 |
|
|---|
| 41 | %prep
|
|---|
| 42 | %scm_setup
|
|---|
| 43 |
|
|---|
| 44 | dos2unix -k CHANGELOG*
|
|---|
| 45 |
|
|---|
| 46 | %build
|
|---|
| 47 | export QMAKE_SH=$SHELL
|
|---|
| 48 | # do a fast qt build, as runmapsym and wmapsym is not needed here
|
|---|
| 49 | export FAST_BUILD=1
|
|---|
| 50 | LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
|
|---|
| 51 |
|
|---|
| 52 | c:/usr/lib/qt4/bin/lrelease.exe beebeep-desktop.pro
|
|---|
| 53 | qmake \
|
|---|
| 54 | TARGET_INSTALL_PATH="%{_bindir}" \
|
|---|
| 55 | LIB_INSTALL_PATH="%{_libdir}" \
|
|---|
| 56 | DATA_INSTALL_PATH="%{_datadir}/pixmaps/" \
|
|---|
| 57 | beebeep-desktop.pro
|
|---|
| 58 | make %{?_smp_mflags}
|
|---|
| 59 |
|
|---|
| 60 | %install
|
|---|
| 61 | make INSTALL_ROOT=%{buildroot} install
|
|---|
| 62 | mkdir -p %{buildroot}%{_bindir}
|
|---|
| 63 | mkdir -p %{buildroot}%{_libdir}
|
|---|
| 64 | mkdir -p %{buildroot}%{_datadir}/pixmaps
|
|---|
| 65 | mkdir -p %{buildroot}%{_datadir}/translations
|
|---|
| 66 | mkdir -p %{buildroot}%{_datadir}/misc
|
|---|
| 67 | cp D:/rpmbuild/Build/beebeep-5.4.2/test/beebeep.exe %{buildroot}%{_bindir}
|
|---|
| 68 | cp D:/rpmbuild/Build/beebeep-5.4.2/test/*.dll %{buildroot}%{_libdir}
|
|---|
| 69 | cp D:/rpmbuild/Build/beebeep-5.4.2/src/images/beebeep.png %{buildroot}%{_datadir}/pixmaps
|
|---|
| 70 | cp D:/rpmbuild/Build/beebeep-5.4.2/locale/*.qm %{buildroot}%{_datadir}/translations
|
|---|
| 71 | cp D:/rpmbuild/Build/beebeep-5.4.2/misc/*.rc %{buildroot}%{_datadir}/misc
|
|---|
| 72 | cp D:/rpmbuild/Build/beebeep-5.4.2/misc/*.ini %{buildroot}%{_datadir}/misc
|
|---|
| 73 | cp D:/rpmbuild/Build/beebeep-5.4.2/misc/*.wav %{buildroot}%{_datadir}/misc
|
|---|
| 74 |
|
|---|
| 75 | install -Dm 0755 test/%{name}.exe %{buildroot}%{_bindir}
|
|---|
| 76 | #install -m 0755 ${dll}$VERSION %{buildroot}%{_libdir}; done
|
|---|
| 77 | install -m 0644 misc/*.rc %{buildroot}%{_datadir}/misc/
|
|---|
| 78 | install -m 0644 misc/*.ini %{buildroot}%{_datadir}/misc/
|
|---|
| 79 | install -m 0644 misc/*.wav %{buildroot}%{_datadir}/misc/
|
|---|
| 80 | install -Dm 0644 src/images/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|---|
| 81 |
|
|---|
| 82 |
|
|---|
| 83 | %files
|
|---|
| 84 | %defattr (-,root,root)
|
|---|
| 85 | %license LICENSE*
|
|---|
| 86 | %doc BEEBEEP-HELP* CHANGELOG*
|
|---|
| 87 | %{_bindir}/%{name}.exe
|
|---|
| 88 | %{_libdir}/*.dll
|
|---|
| 89 | %{_datadir}/misc/*.wav
|
|---|
| 90 | %{_datadir}/misc/*.ini
|
|---|
| 91 | %{_datadir}/misc/*.rc
|
|---|
| 92 | %{_datadir}/pixmaps/*.png
|
|---|
| 93 | #%{_datadir}/applications/%{name}.desktop
|
|---|
| 94 | %{_datadir}/translations/*.qm
|
|---|
| 95 | #%exclude %{_datadir}/%{name}/translations
|
|---|
| 96 |
|
|---|
| 97 | %changelog
|
|---|
| 98 | * Fri Aug 17 2018 Elbert Pol <elbert.pol@gmail.com> 5.4.3-1
|
|---|
| 99 | - First OS/2 rpm release
|
|---|