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

Last change on this file since 788 was 705, checked in by Yuri Dario, 10 years ago

spec: UClip, enhanced OS/2 clipboard support.

File size: 2.0 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}"
50kmk -C src
51
52%install
53rm -rf %{buildroot}
54
55kmk -C src PATH_INS="%{buildroot}/@unixroot/usr" install
56
57%clean
58rm -rf %{buildroot}
59
60%files
61%defattr(-,root,root)
62%{_libdir}/UClip.dll
63%doc License.txt ReadMe.txt
64
65%files devel
66%defattr(-,root,root)
67%{_libdir}/*.lib
68%{_includedir}/*
69
70%changelog
71* Thu Mar 17 2016 yd <yd@os2power.com> 0.3.0-1
72- r955, move to kmk build system.
73- r954, Update code to compile with gcc 4.9.2, revert to full c++ build.
74- r953, Add libwrap from current odin tree build.
75- r952, Tree cleanup.
76- First rpm build.
Note: See TracBrowser for help on using the repository browser.