]> git.pld-linux.org Git - packages/nxproxy.git/blob - nxproxy.spec
23458ca3ef0ae0b9d04f8e49c71226ea18af4e5c
[packages/nxproxy.git] / nxproxy.spec
1 %define         _version_major  3.5.0
2 %define         _version_minor  1
3
4 Summary:        Wrapper for the functionalities built into the nxcomp library
5 Summary(pl.UTF-8):      Wrapper dla funkcjonalności wbudowanych w biblioekę nxcomp
6 Name:           nxproxy
7 Version:        %{_version_major}.%{_version_minor}
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Networking
11 #Source0Download: http://www.nomachine.com/sources.php
12 Source0:        http://64.34.161.181/download/%{_version_major}/sources/%{name}-%{_version_major}-%{_version_minor}.tar.gz
13 # Source0-md5:  488bb4d9b8e9f82dc272b4e6e9c57d30
14 URL:            http://www.nomachine.com/
15 BuildRequires:  autoconf >= 2.59-9
16 BuildRequires:  nxcomp-devel
17 BuildRequires:  sed >= 4.0
18 BuildRequires:  xorg-lib-libX11-devel
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
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
29 przez dowolnego standardowego klienta X.
30
31 %prep
32 %setup -q -n %{name}
33 sed -i 's/CXXFLAGS="-O3"/CXXFLAGS="%{rpmcflags}"/' configure.in
34 sed -i 's/CPPFLAGS="-O3"/CPPFLAGS="%{rpmcflags}"/' configure.in
35
36 %build
37 %{__autoconf}
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}/*
This page took 0.041026 seconds and 2 git commands to generate.