]> git.pld-linux.org Git - packages/brlcad.git/blame - brlcad.spec
- add include patch
[packages/brlcad.git] / brlcad.spec
CommitLineData
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 7Summary: BRL CAD - solid modeling system
a665a209 8Summary(pl.UTF-8): BRL CAD - system modelowania brył
ab145cae 9Name: brlcad
c0365b55 10Version: 7.10.0
e0b8b8a1 11Release: 0.1
ab145cae 12License: GPL
36dbb379
JB
13Group: X11/Applications/Graphics
14Source0: http://dl.sourceforge.net/brlcad/%{name}-%{version}.tar.bz2
c0365b55 15# Source0-md5: 0b6f4fe6b3466ac5c4afac26dfa43f7d
355cbdd1 16Patch0: %{name}-include.patch
36dbb379 17URL: http://brlcad.sourceforge.net/
36dbb379 18BuildRequires: SDL-devel
1da39f1f 19#Buildrequires: itcl-devel
20#BuildRequires: itk-devel
36dbb379
JB
21BuildRequires: python
22BuildRequires: tcl-devel
23BuildRequires: tk-devel
1da39f1f 24#BuildRequires: tk-Img-devel
b3841af5
JB
25BuildRequires: xorg-lib-libICE-devel
26BuildRequires: xorg-lib-libSM-devel
27BuildRequires: xorg-lib-libX11-devel
28BuildRequires: xorg-lib-libXext-devel
29BuildRequires: xorg-lib-libXi-devel
30BuildRequires: xorg-lib-libXmu-devel
31BuildRequires: xorg-lib-libXt-devel
ab145cae 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
36dbb379
JB
35The BRL-CAD package is a powerful Constructive Solid Geometry (CSG)
36solid modeling system with over 20 years development and production
37use by the U.S. military. BRL-CAD includes an interactive geometry
38editor, parallel ray-tracing support for rendering and geometric
39analysis, path-tracing for realistic image synthesis, network
40distributed framebuffer support, image-processing and
41signal-processing tools. The entire package is distributed in source
42code form.
ab145cae 43
36075ba2
JR
44%description -l pl.UTF-8
45BRL-CAD to potężny system modelowania brył CSG (Constructive Solid
46Geometry) rozwijany i używany produkcyjnie od ponad 20 lat w
47amerykańskim wojsku. BRL-CAD zawiera interaktywny edytor geometryczny,
48obsługę równoległego ray-tracingu do renderowania i analizy
49geometrycznej, path-tracing do realistycznej syntezy obrazu, obsługę
50rozproszonego framebuffera po sieci oraz narzędzia do przetwarzania
51obrazu i sygnału. Cały pakiet jest dostępny z kodem źródłowym.
ab145cae 52
53%package devel
36dbb379 54Summary: Header files for BRL-CAD
a665a209 55Summary(pl.UTF-8): Pliki nagłówkowe pakietu BRL-CAD
ab145cae 56Group: Development/Libraries
57#Requires: %{name} = %{version}-%{release}
58
59%description devel
36dbb379 60This is the package containing the header files for BRL-CAD.
ab145cae 61
36075ba2
JR
62%description devel -l pl.UTF-8
63Ten pakiet zawiera pliki nagłówkowe pakietu BRL-CAD.
ab145cae 64
65%package static
36dbb379 66Summary: Static BRL-CAD library
a665a209 67Summary(pl.UTF-8): Statyczna biblioteka BRL-CAD
ab145cae 68Group: Development/Libraries
69Requires: %{name}-devel = %{version}-%{release}
70
71%description static
36dbb379 72Static BRL-CAD library.
ab145cae 73
36075ba2 74%description static -l pl.UTF-8
36dbb379 75Statyczna 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
106rm -rf $RPM_BUILD_ROOT
ab145cae 107%{__make} install \
e21e91b6 108 DESTDIR=$RPM_BUILD_ROOT \
109 DESTIR=$RPM_BUILD_ROOT
ab145cae 110
111%clean
112rm -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
This page took 0.116551 seconds and 4 git commands to generate.