]>
Commit | Line | Data |
---|---|---|
ab145cae | 1 | # |
6f57ca68 | 2 | # TODO |
36dbb379 | 3 | # - files fixes, what is -static? |
6f57ca68 | 4 | # - build with system libs: |
ab145cae | 5 | # |
36dbb379 | 6 | Summary: BRL CAD - solid modeling system |
a665a209 | 7 | Summary(pl.UTF-8): BRL CAD - system modelowania brył |
ab145cae | 8 | Name: brlcad |
e0b8b8a1 | 9 | Version: 7.8.2 |
10 | Release: 0.1 | |
ab145cae | 11 | License: GPL |
36dbb379 JB |
12 | Group: X11/Applications/Graphics |
13 | Source0: http://dl.sourceforge.net/brlcad/%{name}-%{version}.tar.bz2 | |
e0b8b8a1 | 14 | # Source0-md5: 38854509545cb4a1b037d1ac47aac731 |
36dbb379 | 15 | URL: http://brlcad.sourceforge.net/ |
e0b8b8a1 | 16 | BuildRequires: xorg-lib-libICE-devel |
17 | BuildRequires: xorg-lib-libX11-devel | |
18 | BuildRequires: xorg-lib-libXext-devel | |
19 | BuildRequires: xorg-lib-libXi-devel | |
20 | BuildRequires: xorg-lib-libXmu-devel | |
21 | BuildRequires: xorg-lib-libXt-devel | |
22 | BuildRequires: xorg-lib-libSM-devel | |
36dbb379 | 23 | BuildRequires: SDL-devel |
1da39f1f | 24 | #Buildrequires: itcl-devel |
25 | #BuildRequires: itk-devel | |
36dbb379 JB |
26 | BuildRequires: python |
27 | BuildRequires: tcl-devel | |
28 | BuildRequires: tk-devel | |
1da39f1f | 29 | #BuildRequires: tk-Img-devel |
ab145cae | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
36dbb379 JB |
33 | The BRL-CAD package is a powerful Constructive Solid Geometry (CSG) |
34 | solid modeling system with over 20 years development and production | |
35 | use by the U.S. military. BRL-CAD includes an interactive geometry | |
36 | editor, parallel ray-tracing support for rendering and geometric | |
37 | analysis, path-tracing for realistic image synthesis, network | |
38 | distributed framebuffer support, image-processing and | |
39 | signal-processing tools. The entire package is distributed in source | |
40 | code form. | |
ab145cae | 41 | |
36075ba2 JR |
42 | %description -l pl.UTF-8 |
43 | BRL-CAD to potężny system modelowania brył CSG (Constructive Solid | |
44 | Geometry) rozwijany i używany produkcyjnie od ponad 20 lat w | |
45 | amerykańskim wojsku. BRL-CAD zawiera interaktywny edytor geometryczny, | |
46 | obsługę równoległego ray-tracingu do renderowania i analizy | |
47 | geometrycznej, path-tracing do realistycznej syntezy obrazu, obsługę | |
48 | rozproszonego framebuffera po sieci oraz narzędzia do przetwarzania | |
49 | obrazu i sygnału. Cały pakiet jest dostępny z kodem źródłowym. | |
ab145cae | 50 | |
51 | %package devel | |
36dbb379 | 52 | Summary: Header files for BRL-CAD |
a665a209 | 53 | Summary(pl.UTF-8): Pliki nagłówkowe pakietu BRL-CAD |
ab145cae | 54 | Group: Development/Libraries |
55 | #Requires: %{name} = %{version}-%{release} | |
56 | ||
57 | %description devel | |
36dbb379 | 58 | This is the package containing the header files for BRL-CAD. |
ab145cae | 59 | |
36075ba2 JR |
60 | %description devel -l pl.UTF-8 |
61 | Ten pakiet zawiera pliki nagłówkowe pakietu BRL-CAD. | |
ab145cae | 62 | |
63 | %package static | |
36dbb379 | 64 | Summary: Static BRL-CAD library |
a665a209 | 65 | Summary(pl.UTF-8): Statyczna biblioteka BRL-CAD |
ab145cae | 66 | Group: Development/Libraries |
67 | Requires: %{name}-devel = %{version}-%{release} | |
68 | ||
69 | %description static | |
36dbb379 | 70 | Static BRL-CAD library. |
ab145cae | 71 | |
36075ba2 | 72 | %description static -l pl.UTF-8 |
36dbb379 | 73 | Statyczna biblioteka BRL-CAD. |
ab145cae | 74 | |
75 | %prep | |
76 | %setup -q | |
ab145cae | 77 | |
78 | %build | |
1ee007b7 | 79 | #/autogen.sh |
80 | %configure \ | |
31a65689 | 81 | --disable-blt-build \ |
82 | --disable-itcl-build \ | |
83 | --disable-itk-build \ | |
84 | --disable-png-build \ | |
85 | --disable-regex-build \ | |
86 | --disable-tcl-build \ | |
87 | --disable-tkimg-build \ | |
88 | --disable-zlib-build \ | |
89 | --disable-debug \ | |
90 | --disable-profiling \ | |
91 | --enable-optimized \ | |
92 | --with-gnu-ld \ | |
e21e91b6 | 93 | --prefix=/usr \ |
94 | --exec-prefix=/usr \ | |
31a65689 | 95 | --bindir=%{_bindir} \ |
96 | --sbindir=%{_sbindir} \ | |
97 | --datadir=%{_datadir} \ | |
98 | --mandir=%{_mandir} \ | |
99 | --sysconfdir=%{_sysconfdir} | |
100 | %{__make} | |
ab145cae | 101 | |
102 | #%{__make} \ | |
103 | # CFLAGS="%{rpmcflags}" \ | |
104 | # LDFLAGS="%{rpmldflags}" | |
105 | ||
106 | %install | |
107 | rm -rf $RPM_BUILD_ROOT | |
ab145cae | 108 | %{__make} install \ |
e21e91b6 | 109 | DESTDIR=$RPM_BUILD_ROOT \ |
110 | DESTIR=$RPM_BUILD_ROOT | |
ab145cae | 111 | |
112 | %clean | |
113 | rm -rf $RPM_BUILD_ROOT | |
114 | ||
ab145cae | 115 | %post -p /sbin/ldconfig |
116 | %postun -p /sbin/ldconfig | |
ab145cae | 117 | |
118 | %files | |
119 | %defattr(644,root,root,755) | |
e21e91b6 | 120 | #doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO |
121 | %{_bindir}/* | |
e21e91b6 | 122 | %{_libdir}/* |
489242f6 | 123 | #%%{_libdir}/tk7.4 |
e21e91b6 | 124 | #%%{_libdir}/iwidgets4.0.1 |
ab145cae | 125 | %{_datadir}/%{name} |
36dbb379 | 126 | %{_mandir}/man?/* |
ab145cae | 127 | |
6f57ca68 | 128 | %files devel |
129 | %defattr(644,root,root,755) | |
339b67f6 | 130 | %{_includedir}/brlcad |
6f57ca68 | 131 | %{_includedir}/*.h |
ab145cae | 132 | |
6f57ca68 | 133 | %files static |
ab145cae | 134 | %defattr(644,root,root,755) |
6f57ca68 | 135 | %{_libdir}/*.la |