2 Summary: High-level, retained-mode toolkit for effective 3D graphics development
3 Summary(pl.UTF-8): Zbiór narzędzi wysokiego poziomu do efektywnego rozwijania grafiki 3D.
9 Source0: http://ftp.coin3d.org/coin/src/all/%{name}-%{version}.tar.gz
10 # Source0-md5: 1538682f8d92cdf03e845c786879fbea
11 URL: http://www.coin3d.org/
12 BuildRequires: OpenGL-GLU-devel
13 BuildRequires: OpenGL-devel
14 BuildRequires: automake
15 BuildRequires: libstdc++-devel
16 BuildRequires: xorg-lib-libX11-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define specflags -DCOIN_INTERNAL -DCOIN_DEBUG=0
22 High-level, retained-mode toolkit for effective 3D graphics
26 Summary: Header files for ... library
27 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ...
28 Group: X11/Development/Libraries
29 # if base package contains shared library for which these headers are
30 Requires: %{name} = %{version}-%{release}
31 # if -libs package contains shared library for which these headers are
32 #Requires: %{name}-libs = %{version}-%{release}
35 Header files for ... library.
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki ....
45 #%setup -q -n %{name}-%{version}.orig -a 1
49 #find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
51 # remove CVS control files
52 #find -name CVS -print0 | xargs -0 rm -rf
54 # you'll need this if you cp -a complete dir in source
55 # cleanup backups after patching
56 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
59 # if ac/am/* rebuilding is necessary, do it in this order and add
60 # appropriate BuildRequires
68 # if not running libtool or automake, but config.sub is too old:
69 # cp -f /usr/share/automake/config.sub .
74 LIBS="-ldl -lGL -X11 -lpthread"
77 rm -rf $RPM_BUILD_ROOT
78 # create directories if necessary
79 #install -d $RPM_BUILD_ROOT
80 %if %{with initscript}
81 install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
83 #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
86 DESTDIR=$RPM_BUILD_ROOT
89 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog NEWS README THANKS
100 %attr(755,root,root) %{_bindir}/coin-config
101 %attr(755,root,root) %{_libdir}/libCoin.so.*.*.*
105 %defattr(644,root,root,755)
107 %{_libdir}/libCoin.so
108 %{_libdir}/libCoin.la
109 %{_includedir}/Inventor
110 %{_includedir}/SoDebug.h
111 %{_includedir}/SoWinEnterScope.h
112 %{_includedir}/SoWinLeaveScope.h
114 %{_pkgconfigdir}/*.pc