]> git.pld-linux.org Git - packages/swig.git/commitdiff
- spec adapterized and make %%{debug} (NOTE: package not compiles).
authorkloczek <kloczek@pld-linux.org>
Tue, 6 Feb 2001 11:02:29 +0000 (11:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    swig.spec -> 1.18

swig.spec

index 1520b4b4576bb752bcb815e52f5e413e14fdd168..f955a7fc50843c624d9f4964452ced74fb9832c5 100644 (file)
--- a/swig.spec
+++ b/swig.spec
@@ -5,39 +5,41 @@ Version:      1.1p5
 Release:       1
 Copyright:     distributable
 Group:         Development/Languages
+Group(de):     Entwicklung/Sprachen
 Group(pl):     Programowanie/Jêzyki
 Source0:       %{name}%{version}.tar.gz
-Patch:         swig1.1p2-fixed-paths.patch
+Patch0:                %{name}1.1p2-fixed-paths.patch
 Icon:          swig.gif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 SWIG is a compiler that attempts to make it easy to integrate C, C++,
 or Objective-C code with scripting languages including Perl, Tcl, and
-Python.  In a nutshell, you give it a bunch of ANSI C/C++ declarations
+Python. In a nutshell, you give it a bunch of ANSI C/C++ declarations
 and it generates an interface between C and your favorite scripting
-language.  However, this is only scratching the surface of what SWIG
+language. However, this is only scratching the surface of what SWIG
 can do--some of its more advanced features include automatic
 documentation generation, module and library management, extensive
 customization options, and more.
 
 SWIG is entirely the product of users who have used the system and
-suggested new idea.  There are far too many people to thank
+suggested new idea. There are far too many people to thank
 individually, but without this support, SWIG would be not be nearly as
 powerful or fun to use as it is now. Many thanks!
 
 %description -l pl
-SWIG jesk kompilatorem, który próbuje ulatwic integrowanie kodu napisanego
-w C, C++ lub Objective-C z jêzykami skryptowymitakimi jak Perl, Tcl i Python.
-Mówi±c najpro¶ciej, jesli dostarczysz mu zestaw zdeklarowanych w ANSI C/C++
-funkcji, SWIG wygeneruje Ci interfejs pomiedzy C a Twoim ulubionym jêzykiem
-skryptowym. To tylko drobna czê¶æ tego co SWIG potrafi robiæ, bardziej 
-zaawansowane zastosowania to automatyczne generowanie dokumentacji,
-zarzadzanie bibliotekami i modu³ami i wiele innych.
+SWIG jesk kompilatorem, który próbuje ulatwic integrowanie kodu
+napisanego w C, C++ lub Objective-C z jêzykami skryptowymitakimi jak
+Perl, Tcl i Python. Mówi±c najpro¶ciej, jesli dostarczysz mu zestaw
+zdeklarowanych w ANSI C/C++ funkcji, SWIG wygeneruje Ci interfejs
+pomiedzy C a Twoim ulubionym jêzykiem skryptowym. To tylko drobna
+czê¶æ tego co SWIG potrafi robiæ, bardziej zaawansowane zastosowania
+to automatyczne generowanie dokumentacji, zarzadzanie bibliotekami i
+modu³ami i wiele innych.
 
-SWIG jest w ca³o¶ci dzi³em ludzi, którzy go u¿ywali i wprowadzali nowe 
-pomys³y. Zbyt wielu ich jest, aby dziêkowaæ ka¿demu z nich osobno, 
-ale bez ich wsparcia, SWIG nie by³by anie tak pote¿nym na¿edziem, ani tak
+SWIG jest w ca³o¶ci dzi³em ludzi, którzy go u¿ywali i wprowadzali nowe
+pomys³y. Zbyt wielu ich jest, aby dziêkowaæ ka¿demu z nich osobno, ale
+bez ich wsparcia, SWIG nie by³by anie tak pote¿nym na¿edziem, ani tak
 fajnym w u¿yciu jak jest teraz. Wiekie dziêki!
 
 %prep
@@ -47,28 +49,27 @@ find Examples/ -type l -exec rm -v {} \;
 
 %build
 %configure
-%{__make} OPT="$RPM_OPT_FLAGS"
+%{__make} OPT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
 %{__make} test
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{%{_libdir}/swig_lib,%{_mandir}/man1,%{_prefix}/src/examples/swig}
+install -d $RPM_BUILD_ROOT/{%{_libdir}/swig_lib,%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}}
 
 %{__make} install \
        prefix=$RPM_BUILD_ROOT/%{_prefix} \
        exec_prefix=$RPM_BUILD_ROOT/%{_prefix} \
        MAN_DIR=$RPM_BUILD_ROOT/%{_mandir}/man1
 
-cp -a Examples/* $RPM_BUILD_ROOT/%{_prefix}/src/examples/swig/
+cp -a Examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-gzip -9nf CHANGES NEW README TROUBLESHOOTING ToDo \
-       $RPM_BUILD_ROOT/%{_mandir}/man1/*
+gzip -9nf CHANGES NEW README TROUBLESHOOTING ToDo
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,755)
+%defattr(644,root,root,755)
 %doc Doc *.gz
 %dir %{_libdir}/swig_lib
 %{_libdir}/swig_lib/*
@@ -76,4 +77,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/swig.h
 %attr(755,root,root) %{_bindir}/swig
 %{_mandir}/man1/*
-%{_prefix}/src/examples/swig
+%{_examplesdir}/%{name}-%{version}
This page took 0.032459 seconds and 4 git commands to generate.