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