source: spec/trunk/SPECS/beebeep.spec@ 1566

Last change on this file since 1566 was 1459, checked in by tellie, 7 years ago

spec: beebeep: Release version 5.4.3-1.

File size: 3.4 KB
Line 
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
19Name: beebeep
20Version: 5.4.3
21Release: 1
22Summary: Secure Lan Messenger
23License: GPL-3.0+
24Group: Productivity/Networking/Instant Messenger
25Url: http://beebeep.sourceforge.net/
26#Source0: http://sourceforge.net/projects/beebeep/files/Sources/beebeep-code-%{version}.zip
27
28Vendor: bww bitwise works GmbH
29%scm_source svn f:/git-src/beebeep-code r1050
30
31BuildRequires: unzip
32BuildRequires: dos2unix
33BuildRequires: pkgconfig
34
35%description
36BeeBEEP is a secure (encryption based on Rjandell Algorithm, AES) peer to
37peer lan messenger. You can talk and send files with all your friends
38inside a local area network such of an office, home or internet cafe
39without a server.
40
41%prep
42%scm_setup
43
44dos2unix -k CHANGELOG*
45
46%build
47export QMAKE_SH=$SHELL
48# do a fast qt build, as runmapsym and wmapsym is not needed here
49export FAST_BUILD=1
50LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
51
52c:/usr/lib/qt4/bin/lrelease.exe beebeep-desktop.pro
53qmake \
54 TARGET_INSTALL_PATH="%{_bindir}" \
55 LIB_INSTALL_PATH="%{_libdir}" \
56 DATA_INSTALL_PATH="%{_datadir}/pixmaps/" \
57 beebeep-desktop.pro
58make %{?_smp_mflags}
59
60%install
61make INSTALL_ROOT=%{buildroot} install
62mkdir -p %{buildroot}%{_bindir}
63mkdir -p %{buildroot}%{_libdir}
64mkdir -p %{buildroot}%{_datadir}/pixmaps
65mkdir -p %{buildroot}%{_datadir}/translations
66mkdir -p %{buildroot}%{_datadir}/misc
67cp D:/rpmbuild/Build/beebeep-5.4.2/test/beebeep.exe %{buildroot}%{_bindir}
68cp D:/rpmbuild/Build/beebeep-5.4.2/test/*.dll %{buildroot}%{_libdir}
69cp D:/rpmbuild/Build/beebeep-5.4.2/src/images/beebeep.png %{buildroot}%{_datadir}/pixmaps
70cp D:/rpmbuild/Build/beebeep-5.4.2/locale/*.qm %{buildroot}%{_datadir}/translations
71cp D:/rpmbuild/Build/beebeep-5.4.2/misc/*.rc %{buildroot}%{_datadir}/misc
72cp D:/rpmbuild/Build/beebeep-5.4.2/misc/*.ini %{buildroot}%{_datadir}/misc
73cp D:/rpmbuild/Build/beebeep-5.4.2/misc/*.wav %{buildroot}%{_datadir}/misc
74
75install -Dm 0755 test/%{name}.exe %{buildroot}%{_bindir}
76#install -m 0755 ${dll}$VERSION %{buildroot}%{_libdir}; done
77install -m 0644 misc/*.rc %{buildroot}%{_datadir}/misc/
78install -m 0644 misc/*.ini %{buildroot}%{_datadir}/misc/
79install -m 0644 misc/*.wav %{buildroot}%{_datadir}/misc/
80install -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
Note: See TracBrowser for help on using the repository browser.