]>
Commit | Line | Data |
---|---|---|
ab145cae | 1 | # |
6f57ca68 | 2 | # TODO |
36dbb379 | 3 | # - files fixes, what is -static? |
6f57ca68 | 4 | # - build with system libs: |
355cbdd1 | 5 | # - remove disabled libs from source |
ab145cae | 6 | # |
36dbb379 | 7 | Summary: BRL CAD - solid modeling system |
a665a209 | 8 | Summary(pl.UTF-8): BRL CAD - system modelowania brył |
ab145cae | 9 | Name: brlcad |
c0365b55 | 10 | Version: 7.10.0 |
e0b8b8a1 | 11 | Release: 0.1 |
ab145cae | 12 | License: GPL |
36dbb379 JB |
13 | Group: X11/Applications/Graphics |
14 | Source0: http://dl.sourceforge.net/brlcad/%{name}-%{version}.tar.bz2 | |
c0365b55 | 15 | # Source0-md5: 0b6f4fe6b3466ac5c4afac26dfa43f7d |
355cbdd1 | 16 | Patch0: %{name}-include.patch |
36dbb379 | 17 | URL: http://brlcad.sourceforge.net/ |
36dbb379 | 18 | BuildRequires: SDL-devel |
1da39f1f | 19 | #Buildrequires: itcl-devel |
20 | #BuildRequires: itk-devel | |
36dbb379 JB |
21 | BuildRequires: python |
22 | BuildRequires: tcl-devel | |
23 | BuildRequires: tk-devel | |
1da39f1f | 24 | #BuildRequires: tk-Img-devel |
b3841af5 JB |
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 | |
ab145cae | 32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
36dbb379 JB |
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 | |
42 | code form. | |
ab145cae | 43 | |
36075ba2 JR |
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. | |
ab145cae | 52 | |
53 | %package devel | |
36dbb379 | 54 | Summary: Header files for BRL-CAD |
a665a209 | 55 | Summary(pl.UTF-8): Pliki nagłówkowe pakietu BRL-CAD |
ab145cae | 56 | Group: Development/Libraries |
57 | #Requires: %{name} = %{version}-%{release} | |
58 | ||
59 | %description devel | |
36dbb379 | 60 | This is the package containing the header files for BRL-CAD. |
ab145cae | 61 | |
36075ba2 JR |
62 | %description devel -l pl.UTF-8 |
63 | Ten pakiet zawiera pliki nagłówkowe pakietu BRL-CAD. | |
ab145cae | 64 | |
65 | %package static | |
36dbb379 | 66 | Summary: Static BRL-CAD library |
a665a209 | 67 | Summary(pl.UTF-8): Statyczna biblioteka BRL-CAD |
ab145cae | 68 | Group: Development/Libraries |
69 | Requires: %{name}-devel = %{version}-%{release} | |
70 | ||
71 | %description static | |
36dbb379 | 72 | Static BRL-CAD library. |
ab145cae | 73 | |
36075ba2 | 74 | %description static -l pl.UTF-8 |
36dbb379 | 75 | Statyczna biblioteka BRL-CAD. |
ab145cae | 76 | |
77 | %prep | |
78 | %setup -q | |
355cbdd1 | 79 | %patch0 -p1 |
ab145cae | 80 | |
81 | %build | |
355cbdd1 | 82 | %{__autoconf} |
5ed1bb62 | 83 | %configure2_13 \ |
31a65689 | 84 | --disable-blt-build \ |
85 | --disable-itcl-build \ | |
86 | --disable-itk-build \ | |
87 | --disable-png-build \ | |
88 | --disable-regex-build \ | |
89 | --disable-tcl-build \ | |
90 | --disable-tkimg-build \ | |
91 | --disable-zlib-build \ | |
92 | --disable-debug \ | |
93 | --disable-profiling \ | |
94 | --enable-optimized \ | |
95 | --with-gnu-ld \ | |
e21e91b6 | 96 | --prefix=/usr \ |
97 | --exec-prefix=/usr \ | |
31a65689 | 98 | --bindir=%{_bindir} \ |
99 | --sbindir=%{_sbindir} \ | |
100 | --datadir=%{_datadir} \ | |
101 | --mandir=%{_mandir} \ | |
102 | --sysconfdir=%{_sysconfdir} | |
103 | %{__make} | |
ab145cae | 104 | |
ab145cae | 105 | %install |
106 | rm -rf $RPM_BUILD_ROOT | |
ab145cae | 107 | %{__make} install \ |
e21e91b6 | 108 | DESTDIR=$RPM_BUILD_ROOT \ |
109 | DESTIR=$RPM_BUILD_ROOT | |
ab145cae | 110 | |
111 | %clean | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
ab145cae | 114 | %post -p /sbin/ldconfig |
115 | %postun -p /sbin/ldconfig | |
ab145cae | 116 | |
117 | %files | |
118 | %defattr(644,root,root,755) | |
e21e91b6 | 119 | #doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO |
120 | %{_bindir}/* | |
e21e91b6 | 121 | %{_libdir}/* |
489242f6 | 122 | #%%{_libdir}/tk7.4 |
e21e91b6 | 123 | #%%{_libdir}/iwidgets4.0.1 |
ab145cae | 124 | %{_datadir}/%{name} |
36dbb379 | 125 | %{_mandir}/man?/* |
ab145cae | 126 | |
6f57ca68 | 127 | %files devel |
128 | %defattr(644,root,root,755) | |
339b67f6 | 129 | %{_includedir}/brlcad |
6f57ca68 | 130 | %{_includedir}/*.h |
ab145cae | 131 | |
6f57ca68 | 132 | %files static |
ab145cae | 133 | %defattr(644,root,root,755) |
6f57ca68 | 134 | %{_libdir}/*.la |