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