3 # - files fixes, what is -static?
4 # - build with system libs:
5 # - remove disabled libs from source
7 Summary: BRL CAD - solid modeling system
8 Summary(pl.UTF-8): BRL CAD - system modelowania brył
13 Group: X11/Applications/Graphics
14 Source0: http://dl.sourceforge.net/brlcad/%{name}-%{version}.tar.bz2
15 # Source0-md5: 0b6f4fe6b3466ac5c4afac26dfa43f7d
16 Patch0: %{name}-include.patch
17 URL: http://brlcad.sourceforge.net/
18 BuildRequires: SDL-devel
19 #Buildrequires: itcl-devel
20 #BuildRequires: itk-devel
22 BuildRequires: tcl-devel
23 BuildRequires: tk-devel
24 #BuildRequires: tk-Img-devel
25 BuildRequires: xorg-lib-libICE-devel
26 BuildRequires: xorg-lib-libSM-devel
27 BuildRequires: xorg-lib-libX11-devel
28 BuildRequires: xorg-lib-libXext-devel
29 BuildRequires: xorg-lib-libXi-devel
30 BuildRequires: xorg-lib-libXmu-devel
31 BuildRequires: xorg-lib-libXt-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 The BRL-CAD package is a powerful Constructive Solid Geometry (CSG)
36 solid modeling system with over 20 years development and production
37 use by the U.S. military. BRL-CAD includes an interactive geometry
38 editor, parallel ray-tracing support for rendering and geometric
39 analysis, path-tracing for realistic image synthesis, network
40 distributed framebuffer support, image-processing and
41 signal-processing tools. The entire package is distributed in source
44 %description -l pl.UTF-8
45 BRL-CAD to potężny system modelowania brył CSG (Constructive Solid
46 Geometry) rozwijany i używany produkcyjnie od ponad 20 lat w
47 amerykańskim wojsku. BRL-CAD zawiera interaktywny edytor geometryczny,
48 obsługę równoległego ray-tracingu do renderowania i analizy
49 geometrycznej, path-tracing do realistycznej syntezy obrazu, obsługę
50 rozproszonego framebuffera po sieci oraz narzędzia do przetwarzania
51 obrazu i sygnału. Cały pakiet jest dostępny z kodem źródłowym.
54 Summary: Header files for BRL-CAD
55 Summary(pl.UTF-8): Pliki nagłówkowe pakietu BRL-CAD
56 Group: Development/Libraries
57 #Requires: %{name} = %{version}-%{release}
60 This is the package containing the header files for BRL-CAD.
62 %description devel -l pl.UTF-8
63 Ten pakiet zawiera pliki nagłówkowe pakietu BRL-CAD.
66 Summary: Static BRL-CAD library
67 Summary(pl.UTF-8): Statyczna biblioteka BRL-CAD
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
72 Static BRL-CAD library.
74 %description static -l pl.UTF-8
75 Statyczna biblioteka BRL-CAD.
85 --disable-itcl-build \
88 --disable-regex-build \
90 --disable-tkimg-build \
91 --disable-zlib-build \
99 --sbindir=%{_sbindir} \
100 --datadir=%{_datadir} \
101 --mandir=%{_mandir} \
102 --sysconfdir=%{_sysconfdir}
106 rm -rf $RPM_BUILD_ROOT
108 DESTDIR=$RPM_BUILD_ROOT \
109 DESTIR=$RPM_BUILD_ROOT
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
118 %defattr(644,root,root,755)
119 #doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
123 #%%{_libdir}/iwidgets4.0.1
128 %defattr(644,root,root,755)
129 %{_includedir}/brlcad
133 %defattr(644,root,root,755)