]>
Commit | Line | Data |
---|---|---|
0ccdd6bc JR |
1 | %define _version_major 3.5.0 |
2 | %define _version_minor 1 | |
88b6e57d | 3 | |
0278b5a5 | 4 | Summary: Wrapper for the functionalities built into the nxcomp library |
c2f7f460 | 5 | Summary(pl.UTF-8): Wrapper dla funkcjonalności wbudowanych w biblioekę nxcomp |
ef0745aa | 6 | Name: nxproxy |
625b9063 | 7 | Version: %{_version_major}.%{_version_minor} |
864b85ff | 8 | Release: 2 |
ef0745aa AM |
9 | License: GPL |
10 | Group: X11/Applications/Networking | |
097fe721 | 11 | #Source0Download: http://www.nomachine.com/sources.php |
9e1ebcf8 | 12 | Source0: http://64.34.161.181/download/%{_version_major}/sources/%{name}-%{_version_major}-%{_version_minor}.tar.gz |
0ccdd6bc | 13 | # Source0-md5: 488bb4d9b8e9f82dc272b4e6e9c57d30 |
ef0745aa | 14 | URL: http://www.nomachine.com/ |
022cb85f | 15 | BuildRequires: autoconf >= 2.59-9 |
ef0745aa | 16 | BuildRequires: nxcomp-devel |
5eb3cd67 | 17 | BuildRequires: sed >= 4.0 |
0278b5a5 | 18 | BuildRequires: xorg-lib-libX11-devel |
ef0745aa AM |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | nxproxy, a stand alone program wrapping the functionalities built into | |
23 | Xcomp library, needed to compress the X protocol produced by any | |
24 | standard X client. | |
25 | ||
455a583c JR |
26 | %description -l pl.UTF-8 |
27 | nxproxy to samodzielny program obudowujący funkcjonalności wbudowane w | |
28 | bibliotekę Xcomp, potrzebne do kompresji protokołu X wytwarzanego | |
cec5549c JB |
29 | przez dowolnego standardowego klienta X. |
30 | ||
ef0745aa AM |
31 | %prep |
32 | %setup -q -n %{name} | |
55ad2124 | 33 | sed -i 's/CXXFLAGS="-O3"/CXXFLAGS="%{rpmcflags}"/' configure.in |
34 | sed -i 's/CPPFLAGS="-O3"/CPPFLAGS="%{rpmcflags}"/' configure.in | |
ef0745aa AM |
35 | |
36 | %build | |
55ad2124 | 37 | %{__autoconf} |
ef0745aa AM |
38 | %configure |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_bindir} | |
44 | ||
45 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc CHANGELOG | |
53 | %attr(755,root,root) %{_bindir}/* |