]> git.pld-linux.org Git - packages/vde2.git/blob - vde2.spec
8b6f676136bbe8b7273714c66760381f4983cf17
[packages/vde2.git] / vde2.spec
1 Summary:        VDE2: Virtual Distributed Ethernet
2 Summary(pl.UTF-8):      VDE2: wirtualny rozproszony ethernet
3 Name:           vde2
4 Version:        2.1.6
5 Release:        0.1
6 License:        GPL v2
7 Group:          Networking/Utilities
8 Source0:        http://dl.sourceforge.net/vde/%{name}-%{version}.tar.bz2
9 # Source0-md5:  68a9a5c4c8cf713bd4d97acc1eb341a6
10 URL:            http://sourceforge.net/projects/vde/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 VDE2: Virtual Distributed Ethernet. It creates the abstraction of a
18 virtual ethernet: a single vde can be accessed by virtual and real
19 computers.
20
21 %description -l pl.UTF-8
22 VDE2: wirtualny rozproszony ethernet. Narzędzie to tworzy abstrakcyjny
23 wirtualny ethernet - pojedynczy vde może być dostępny z wirtualnych
24 jak i rzeczywistych komputerów.
25
26 %package devel
27 Summary:        Header files for VDE2 library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki VDE2
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 Header files for VDE2 library.
34
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe biblioteki VDE2.
37
38 %package static
39 Summary:        Static VDE2 library
40 Summary(pl.UTF-8):      Statyczna biblioteka VDE2
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static VDE2 library.
46
47 %description static -l pl.UTF-8
48 Statyczna biblioteka VDE2.
49
50 %prep
51 %setup -q 
52
53 %build
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %{__automake}
58 %configure 
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install  \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 #rm -f $RPM_BUILD_ROOT%{_bindir}/vdeqemu
69 #ln -sf vdeq $RPM_BUILD_ROOT%{_bindir}/vdeqemu
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc README
80 %attr(755,root,root) %{_bindir}/*
81 %attr(755,root,root) %{_libdir}/libvdeplug.so.*.*.*
82 %{_libdir}/vde2/libvdetap.la
83 %attr(755,root,root) %{_libdir}/vde2/libvdetap.so
84 %attr(755,root,root) %{_libdir}/vdetap
85 %{_mandir}/man1/*.1*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %{_includedir}/libvdeplug.h
90 /usr/lib64/libvdeplug.la
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libvdeplug.a
95 %{_libdir}/vde2/libvdetap.a
This page took 0.091684 seconds and 3 git commands to generate.