avatar
Rosa has added d4ab4decca
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "LibVNCServer-0.9.8.tar.gz": 71e88ea95ad147185bbf6ca24ba7b0fbb8634421
view file @ d4ab4decca
... ... --- /dev/null
... ... +++ b/LibVNCServer-0.9.7-fix-format-errors.patch
... ... @@ -0,0 +1,36 @@
1
diff -Naur LibVNCServer-0.9.7/libvncclient/rfbproto.c LibVNCServer-0.9.7-fix-format-errors/libvncclient/rfbproto.c
2
--- LibVNCServer-0.9.7/libvncclient/rfbproto.c	2008-02-04 18:58:11.000000000 +0100
3
+++ LibVNCServer-0.9.7-fix-format-errors/libvncclient/rfbproto.c	2009-02-05 19:28:40.000000000 +0100
4
@@ -72,7 +72,7 @@
5
 
6
     time(&log_clock);
7
     strftime(buf, 255, "%d/%m/%Y %X ", localtime(&log_clock));
8
-    fprintf(stderr,buf);
9
+    fprintf(stderr,"%s",buf);
10
 
11
     vfprintf(stderr, format, args);
12
     fflush(stderr);
13
diff -Naur LibVNCServer-0.9.7/libvncserver/main.c LibVNCServer-0.9.7-fix-format-errors/libvncserver/main.c
14
--- LibVNCServer-0.9.7/libvncserver/main.c	2007-03-17 01:13:13.000000000 +0100
15
+++ LibVNCServer-0.9.7-fix-format-errors/libvncserver/main.c	2009-02-05 19:26:12.000000000 +0100
16
@@ -242,7 +242,7 @@
17
 
18
     time(&log_clock);
19
     strftime(buf, 255, "%d/%m/%Y %X ", localtime(&log_clock));
20
-    fprintf(stderr,buf);
21
+    fprintf(stderr,"%s",buf);
22
 
23
     vfprintf(stderr, format, args);
24
     fflush(stderr);
25
diff -Naur LibVNCServer-0.9.7/test/encodingstest.c LibVNCServer-0.9.7-fix-format-errors/test/encodingstest.c
26
--- LibVNCServer-0.9.7/test/encodingstest.c	2005-05-24 11:59:31.000000000 +0200
27
+++ LibVNCServer-0.9.7-fix-format-errors/test/encodingstest.c	2009-02-05 19:30:42.000000000 +0100
28
@@ -277,7 +277,7 @@
29
 
30
 	time(&log_clock);
31
 	strftime(buf, 255, "%d/%m/%Y %X (client) ", localtime(&log_clock));
32
-	fprintf(stderr,buf);
33
+	fprintf(stderr,"%s",buf);
34
 
35
 	vfprintf(stderr, format, args);
36
 	fflush(stderr);
view file @ d4ab4decca
... ... --- /dev/null
... ... +++ b/libvncserver.spec
... ... @@ -0,0 +1,177 @@
1
%define name        libvncserver
2
%define up_name     LibVNCServer
3
%define version     0.9.8
4
%define release     %mkrel 2
5
%define major       0
6
%define libname     %mklibname vncserver %{major}
7
%define develname   %mklibname -d vncserver
8
9
Name:       %{name}
10
Version:    %{version}
11
Release:    %{release}
12
Summary:    An easy API to write one's own VNC server
13
Group:      System/Libraries
14
License:    GPL
15
URL:        http://sourceforge.net/projects/libvncserver/
16
Source:     http://downloads.sourceforge.net/libvncserver/%{up_name}-%{version}.tar.gz
17
Patch:      LibVNCServer-0.9.7-fix-format-errors.patch
18
BuildRequires:  libx11-devel
19
BuildRequires:  libxdamage-devel
20
BuildRequires:  libxext-devel
21
BuildRequires:  libxrandr-devel
22
BuildRequires:  libxtst-devel
23
BuildRequires:  libxinerama-devel
24
BuildRequires:  libxfixes-devel
25
BuildRequires:  openssl-devel
26
BuildRequires:  zlib-devel
27
BuildRequires:  jpeg-devel
28
BuildRoot:  %{_tmppath}/%{name}-%{version}
29
30
%description
31
LibVNCServer makes writing a VNC server (or more correctly, a program
32
exporting a framebuffer via the Remote Frame Buffer protocol) easy.
33
34
It is based on OSXvnc, which in turn is based on the original Xvnc by
35
ORL, later AT&T research labs in UK.
36
37
It hides the programmer from the tedious task of managing clients and
38
compression schemata.
39
40
%package -n %{libname}
41
Summary:	An easy API to write one's own VNC server
42
Group:		System/Libraries
43
44
%description -n %{libname}
45
LibVNCServer makes writing a VNC server (or more correctly, a program
46
exporting a framebuffer via the Remote Frame Buffer protocol) easy.
47
48
It is based on OSXvnc, which in turn is based on the original Xvnc by
49
ORL, later AT&T research labs in UK.
50
51
It hides the programmer from the tedious task of managing clients and
52
compression schemata.
53
54
%package -n %{develname}
55
Summary:	Headers for developing programs that will use %{name}
56
Group:		Development/C
57
Requires:	%{libname} = %{version}
58
Provides:	%{name}-devel = %{version}-%{release}
59
Obsoletes:  %{libname}-devel
60
61
%description -n %{develname}
62
Static libraries and header files for LibVNCServer.
63
64
%package -n linuxvnc
65
Summary:      VNC server to monitor a text session
66
Group:        Networking/Remote access
67
68
%description -n linuxvnc
69
With linuxvnc you can export your currently running text sessions to any VNC
70
client. So it can be useful, if you want to move to another computer without
71
having to log out and if you've forgotten to attach a 'screen' session to it,
72
or to help a distant colleague to solve a problem.
73
74
Based on the ideas of x0rfbserver and on LibVNCServer, it has evolved
75
into a versatile and performant while still easy to use program.
76
77
%prep
78
%setup -q -n %{up_name}-%{version}
79
#patch -p 1
80
81
%build
82
%configure2_5x
83
%make
84
85
%install
86
rm -rf %{buildroot}
87
%makeinstall_std
88
89
%multiarch_binaries %{buildroot}%{_bindir}/libvncserver-config
90
91
%clean
92
rm -rf %{buildroot}
93
94
%files -n %{libname}
95
%defattr(-,root,root)
96
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
97
%{_libdir}/*.so.*
98
99
%files -n %{develname}
100
%defattr(-,root,root)
101
%{_includedir}/rfb
102
%{_libdir}/*.a
103
%{_libdir}/*.so
104
%{_libdir}/*.la
105
%{_bindir}/libvncserver-config
106
%{multiarch_bindir}/libvncserver-config
107
%{_libdir}/pkgconfig/libvncclient.pc
108
%{_libdir}/pkgconfig/libvncserver.pc
109
110
%files -n linuxvnc
111
%defattr(-,root,root)
112
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
113
%{_bindir}/LinuxVNC
114
115
116
%changelog
117
* Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 0.9.8-2mdv2011.0
118
+ Revision: 661681
119
- multiarch fixes
120
121
* Wed Apr 06 2011 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.8-1
122
+ Revision: 650978
123
- new version
124
125
* Sun Nov 28 2010 Oden Eriksson <oeriksson@mandriva.com> 0.9.7-4mdv2011.0
126
+ Revision: 602613
127
- rebuild
128
129
* Sun Jan 10 2010 Oden Eriksson <oeriksson@mandriva.com> 0.9.7-3mdv2010.1
130
+ Revision: 488785
131
- rebuilt against libjpeg v8
132
133
* Sat Aug 15 2009 Oden Eriksson <oeriksson@mandriva.com> 0.9.7-2mdv2010.0
134
+ Revision: 416627
135
- rebuilt against libjpeg v7
136
137
* Thu Feb 05 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.7-1mdv2009.1
138
+ Revision: 337875
139
- new release
140
- new devel policy
141
142
* Mon Jun 16 2008 Thierry Vignaud <tv@mandriva.org> 0.9.1-2mdv2009.0
143
+ Revision: 219560
144
- rebuild
145
- kill re-definition of %%buildroot on Pixel's request
146
147
  + Olivier Blin <oblin@mandriva.com>
148
    - restore BuildRoot
149
150
* Sat Jun 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.1-1mdv2008.0
151
+ Revision: 34726
152
- new version
153
154
* Thu May 24 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.9-2mdv2008.0
155
+ Revision: 30918
156
- don't ship x11vnc, it is distributed separatly
157
158
* Tue May 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.9-1mdv2008.0
159
+ Revision: 29922
160
- new version
161
162
* Tue Apr 24 2007 Laurent Montel <lmontel@mandriva.org> 0.8.2-3mdv2008.0
163
+ Revision: 17763
164
- Fix include when it used with c++
165
166
167
* Mon Feb 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.2-2mdv2007.0
168
+ Revision: 119029
169
- fix the binary swap between subpackages (fix #28546)
170
171
* Mon Dec 11 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.2-1mdv2007.1
172
+ Revision: 94802
173
- Import libvncserver
174
175
* Thu Dec 07 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.2-1mdv2007.1
176
- first mdv release
177

Comments