source: spec/trunk/SPECS/uclip.spec@ 1330

Last change on this file since 1330 was 796, checked in by Yuri Dario, 9 years ago

spec: uclip, bot build changes.

File size: 2.1 KB
Line 
1#define svn_url F:/rd/AOO/tools/UniClip
2%define svn_url https://svn.netlabs.org/repos/openoffice/trunk/tools/UniClip
3%define svn_rev 955
4
5%define kmk_dist out/os2.x86/release/dist
6
7Summary: UClip, enhanced OS/2 clipboard support
8Name: uclip
9Version: 0.3.0
10Release: 1%{?dist}
11License: unknown
12Group: Development/Libraries
13Source: %{name}-%{version}-r%{svn_rev}.zip
14
15
16%description
17UClip is designed to allow OS/2 programs to exchange unicode text using the clipboard
18with other native programs or with odin-ized programs.
19It is compiled using Odin source code, so it shares the same clipboard formats recognized
20in win32 native programs.
21Note: UClip will not enable your existing OS/2 software, it will work only for programs
22specifically developed with it.
23
24
25%package devel
26Summary: Header files developing apps which will use UClip
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29
30%description devel
31Header files and a library of UClip functions, for developing apps
32which will use the library.
33
34
35%debug_package
36
37
38%prep
39%if %(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')
40%setup -q
41%else
42%setup -n "%{name}-%{version}" -T -c
43svn export -r %{svn_rev} %{svn_url} . --force
44rm -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip"
45(cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" "%{name}-%{version}")
46%endif
47
48%build
49export KCFLAGS="%{optflags}"
50export ODIN="E:/BuildBot/BUILD/Odin/trunk"
51kmk -C src ODIN="E:/BuildBot/BUILD/Odin/trunk"
52
53%install
54rm -rf %{buildroot}
55
56kmk -C src PATH_INS="%{buildroot}/@unixroot/usr" ODIN="E:/BuildBot/BUILD/Odin/trunk" install
57
58%clean
59rm -rf %{buildroot}
60
61%files
62%defattr(-,root,root)
63%{_libdir}/UClip.dll
64%doc License.txt ReadMe.txt
65
66%files devel
67%defattr(-,root,root)
68%{_libdir}/*.lib
69%{_includedir}/*
70
71%changelog
72* Thu Mar 17 2016 yd <yd@os2power.com> 0.3.0-1
73- r955, move to kmk build system.
74- r954, Update code to compile with gcc 4.9.2, revert to full c++ build.
75- r953, Add libwrap from current odin tree build.
76- r952, Tree cleanup.
77- First rpm build.
Note: See TracBrowser for help on using the repository browser.