]> git.pld-linux.org Git - packages/swig.git/blob - swig.spec
- "s-/usr/lib/-%{_libdir}-"
[packages/swig.git] / swig.spec
1 Summary: Interface generator for Perl, Tcl, Guile and Python
2 Summary(pl): Generator interfejsu do Perl'a, Tcl'a, Guile'a i Python'a
3 Name: swig
4 Version: 1.1p5
5 Release: 1
6 Copyright: distributable
7 Group: Development/Languages
8 Group(pl): Programowanie/Jêzyki
9 Source0: swig1.1p5.tar.gz
10 Patch: swig1.1p2-fixed-paths.patch
11 Icon: swig.gif
12 BuildRoot: /tmp/swig-root
13
14 %description
15 SWIG is a compiler that attempts to make it easy to integrate C, C++,
16 or Objective-C code with scripting languages including Perl, Tcl, and
17 Python.  In a nutshell, you give it a bunch of ANSI C/C++ declarations
18 and it generates an interface between C and your favorite scripting
19 language.  However, this is only scratching the surface of what SWIG
20 can do--some of its more advanced features include automatic
21 documentation generation, module and library management, extensive
22 customization options, and more.
23
24 SWIG is entirely the product of users who have used the system and
25 suggested new idea.  There are far too many people to thank
26 individually, but without this support, SWIG would be not be nearly as
27 powerful or fun to use as it is now. Many thanks!
28
29
30 %description -l pl
31 SWIG jesk kompilatorem, który próbuje ulatwic integrowanie kodu napisanego
32 w C, C++ lub Objective-C z jêzykami skryptowymitakimi jak Perl, Tcl i Python.
33 Mówi±c najpro¶ciej, jesli dostarczysz mu zestaw zdeklarowanych w ANSI C/C++
34 funkcji, SWIG wygeneruje Ci interfejs pomiedzy C a Twoim ulubionym jêzykiem
35 skryptowym. To tylko drobna czê¶æ tego co SWIG potrafi robiæ, bardziej 
36 zaawansowane zastosowania to automatyczne generowanie dokumentacji,
37 zarzadzanie bibliotekami i modu³ami i wiele innych.
38
39 SWIG jest w ca³o¶ci dzi³em ludzi, którzy go u¿ywali i wprowadzali nowe 
40 pomys³y. Zbyt wielu ich jest, aby dziêkowaæ ka¿demu z nich osobno, 
41 ale bez ich wsparcia, SWIG nie by³by anie tak pote¿nym na¿edziem, ani tak
42 fajnym w u¿yciu jak jest teraz. Wiekie dziêki!
43
44 %prep
45 %setup -n SWIG1.1p5
46 find Examples/ -type l -exec rm -v {} \;
47 %patch -p1
48
49 %build
50 %configure
51 make OPT="$RPM_OPT_FLAGS"
52 make test
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 mkdir -p $RPM_BUILD_ROOT/usr
57 make prefix=$RPM_BUILD_ROOT/usr install
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Doc Examples CHANGES Copyright INSTALL NEW README TROUBLESHOOTING ToDo
65 %dir %{_libdir}/swig_lib
66 %{_libdir}/libswig.a
67 /usr/include/swig.h
68 %attr(711,root,root) /usr/bin/swig
69 %{_mandir}/man1/swig.1
This page took 0.08352 seconds and 4 git commands to generate.