]> git.pld-linux.org Git - packages/Coin.git/blame_incremental - Coin.spec
- cleaned-up LIBS passing
[packages/Coin.git] / Coin.spec
... / ...
CommitLineData
1#
2Summary: High-level, retained-mode toolkit for effective 3D graphics development
3Summary(pl.UTF-8): Zbiór narzędzi wysokiego poziomu do efektywnego rozwijania grafiki 3D.
4Name: Coin
5Version: 3.1.3
6Release: 0.1
7License: GPL
8Group: X11/Libraries
9Source0: http://ftp.coin3d.org/coin/src/all/%{name}-%{version}.tar.gz
10# Source0-md5: 1538682f8d92cdf03e845c786879fbea
11URL: http://www.coin3d.org/
12BuildRequires: OpenGL-GLU-devel
13BuildRequires: OpenGL-devel
14BuildRequires: automake
15BuildRequires: libstdc++-devel
16BuildRequires: xorg-lib-libX11-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define specflags -DCOIN_INTERNAL -DCOIN_DEBUG=0
20
21%description
22High-level, retained-mode toolkit for effective 3D graphics
23development
24
25%package devel
26Summary: Header files for ... library
27Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ...
28Group: X11/Development/Libraries
29# if base package contains shared library for which these headers are
30Requires: %{name} = %{version}-%{release}
31# if -libs package contains shared library for which these headers are
32#Requires: %{name}-libs = %{version}-%{release}
33
34%description devel
35Header files for ... library.
36
37%description devel -l pl.UTF-8
38Pliki nagłówkowe biblioteki ....
39
40
41%prep
42%setup -q
43#%setup -q -c -T
44#%setup -q -n %{name}
45#%setup -q -n %{name}-%{version}.orig -a 1
46#%patch0 -p1
47
48# undos the source
49#find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
50
51# remove CVS control files
52#find -name CVS -print0 | xargs -0 rm -rf
53
54# you'll need this if you cp -a complete dir in source
55# cleanup backups after patching
56find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
57
58%build
59# if ac/am/* rebuilding is necessary, do it in this order and add
60# appropriate BuildRequires
61#%%{__intltoolize}
62#%%{__gettextize}
63#%%{__libtoolize}
64#%%{__aclocal}
65#%%{__autoconf}
66#%%{__autoheader}
67#%%{__automake}
68# if not running libtool or automake, but config.sub is too old:
69# cp -f /usr/share/automake/config.sub .
70%configure \
71 --enable-system-expat
72
73%{__make} \
74 LIBS="-ldl -lGL -X11 -lpthread"
75
76%install
77rm -rf $RPM_BUILD_ROOT
78# create directories if necessary
79#install -d $RPM_BUILD_ROOT
80%if %{with initscript}
81install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
82%endif
83#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91
92%if %{with ldconfig}
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95%endif
96
97%files
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.*.*.*
102%{_datadir}/%{name}
103
104%files devel
105%defattr(644,root,root,755)
106# %doc devel-doc/*
107%{_libdir}/libCoin.so
108%{_libdir}/libCoin.la
109%{_includedir}/Inventor
110%{_includedir}/SoDebug.h
111%{_includedir}/SoWinEnterScope.h
112%{_includedir}/SoWinLeaveScope.h
113%{_aclocaldir}/*.m4
114%{_pkgconfigdir}/*.pc
This page took 0.071379 seconds and 4 git commands to generate.