]> git.pld-linux.org Git - SPECS.git/blob - libnxcl.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / libnxcl.spec
1 Summary:        A Library for building NoMachine (NX) clients
2 Summary(pl.UTF-8):      Biblioteka potrzebna do kompilacji klientów NoMachine (NX)
3 Name:           libnxcl
4 Version:        0.9
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://download.berlios.de/freenx/freenx-client-%{version}.tar.bz2
9 # Source0-md5:  777b3cda7a245e3870d4870a9460cb73
10 Patch0:         %{name}-stdlib.patch
11 URL:            http://freenx.berlios.de/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 A Library for building NoMachine (NX) clients.
16
17 %description -l pl.UTF-8
18 Biblioteka potrzebna do kompilacji klientów NoMachine (NX).
19
20 %package devel
21 Summary:        Header files for nxcl library
22 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki nxcl
23 Group:          Development/Libraries
24 Requires:       %{name} = %{version}-%{release}
25
26 %description devel
27 Header files for nxcl library.
28
29 %description devel -l pl.UTF-8
30 Pliki nagłówkowe biblioteki nxcl.
31
32 %package static
33 Summary:        Static nxcl library
34 Summary(pl.UTF-8):      Statyczna biblioteka nxcl
35 Group:          Development/Libraries
36 Requires:       %{name}-devel = %{version}-%{release}
37
38 %description static
39 Static nxcl library.
40
41 %description static -l pl.UTF-8
42 Statyczna biblioteka nxcl.
43
44 %prep
45 %setup -q -n freenx-client-%{version}
46 %patch0 -p1
47
48 %build
49 cd nxcl
50 %{__aclocal}
51 %{__autoheader}
52 %{__autoconf}
53 libtoolize --copy --automake
54 %{__automake}
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 cd nxcl
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post -p /sbin/ldconfig
69
70 %postun -p /sbin/ldconfig
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/*
75 %attr(755,root,root) %{_libdir}/libnxcl.so.*
76
77 %files devel
78 %defattr(644,root,root,755)
79 %_libdir/libnxcl.so
80 %{_includedir}/nxcl
81 %_libdir/libnxcl.la
82 %_libdir/pkgconfig/nxcl.pc
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/libnxcl.a
This page took 0.375658 seconds and 3 git commands to generate.