]> git.pld-linux.org Git - packages/brlcad.git/blob - brlcad.spec
- headers moved to decvel subpackage.
[packages/brlcad.git] / brlcad.spec
1 #
2 # TODO 
3 #       - build with system libs: 
4 #       
5 #
6 Summary:        BRL CAD
7 Summary(pl):    BRL CAD
8 Name:           brlcad
9 Version:        7.8.0
10 Release:        0.2
11 License:        GPL
12 Group:          Applications/CAD
13 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
14 # Source0-md5:  bb4c5fd83ae1dd1b5dd84384f7894fc8
15 URL:            htp://brlcad.sourceforge.net/
16 #for TH
17 #BuildRequires: xorg-lib-libICE-devel
18 #BuildRequires: xorg-lib-libX11-devel
19 #BuildRequires: xorg-lib-libXext-devel
20 #BuildRequires: xorg-lib-libXi-devel
21 #BuildRequires: xorg-lib-libXmu-devel
22 #BuildRequires: xorg-lib-libXt-devel
23 #BuildRequires: xorg-lib-libSM-devel
24 # for AC
25 BuildRequires:  X11-devel
26 #
27 BuildRequires:  tcl-devel
28 BuildRequires:  tk-devel
29 #Buildrequires: itcl-devel
30 #BuildRequires: itk-devel
31 Buildrequires:  python
32 BuildRequires:  SDL-devel
33 #BuildRequires: tk-Img-devel
34
35 #Requires(postun):      -
36 #Requires(pre,post):    -
37 #Requires(preun):       -
38 #Requires:      -
39 #Provides:      -
40 #Obsoletes:     -
41 #Conflicts:     -
42 #ExclusiveArch: %{ix86}
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 The BRL-CAD package is a powerful Constructive Solid Geometry (CSG) solid modeling system with over 20 years development and production use by the U.S. military. BRL-CAD includes an interactive geometry editor, parallel ray-tracing support for rendering and geometric analysis, path-tracing for realistic image synthesis, network distributed framebuffer support, image-processing and signal-processing tools. The entire package is distributed in source code form.
47
48 %description -l pl
49
50 %package subpackage
51 Summary:        -
52 Summary(pl):    -
53 Group:          -
54
55 %description subpackage
56
57 %description subpackage -l pl
58
59 %package libs
60 Summary:        -
61 Summary(pl):    -
62 Group:          Libraries
63
64 %description libs
65
66 %description libs -l pl
67
68
69 %package devel
70 Summary:        Header files for ... library
71 Summary(pl):    Pliki nag³ówkowe biblioteki ...
72 Group:          Development/Libraries
73 #Requires:      %{name} = %{version}-%{release}
74
75 %description devel
76 This is the package containing the header files for ... library.
77
78 %description devel -l pl
79 Ten pakiet zawiera pliki nag³ówkowe biblioteki ....
80
81 %package static
82 Summary:        Static ... library
83 Summary(pl):    Statyczna biblioteka ...
84 Group:          Development/Libraries
85 Requires:       %{name}-devel = %{version}-%{release}
86
87 %description static
88 Static ... library.
89
90 %description static -l pl
91 Statyczna biblioteka ....
92
93 %prep
94 %setup -q
95
96 %build
97 #/autogen.sh
98 %configure \
99         --disable-blt-build \
100         --disable-itcl-build \
101         --disable-itk-build \
102         --disable-png-build \
103         --disable-regex-build \
104         --disable-tcl-build \
105         --disable-tkimg-build \
106         --disable-zlib-build \
107         --disable-debug \
108         --disable-profiling \
109         --enable-optimized \
110         --with-gnu-ld \
111         --prefix=/usr \
112         --exec-prefix=/usr \
113         --bindir=%{_bindir} \
114         --sbindir=%{_sbindir} \
115         --datadir=%{_datadir} \
116         --mandir=%{_mandir} \
117         --sysconfdir=%{_sysconfdir}
118 %{__make}
119
120 #%{__make} \
121 #       CFLAGS="%{rpmcflags}" \
122 #       LDFLAGS="%{rpmldflags}"
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126 %{__make} install \
127         DESTDIR=$RPM_BUILD_ROOT \
128         DESTIR=$RPM_BUILD_ROOT
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %post   -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
135
136 %files
137 %defattr(644,root,root,755)
138 #doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
139 %{_bindir}/*
140 %{_mandir}/man?/*
141 #{_includedir}/*.h
142 %{_libdir}/*
143 #%%{_libdir}/tk8.4
144 #%%{_libdir}/iwidgets4.0.1
145 %{_datadir}/%{name}
146
147 %files devel
148 %defattr(644,root,root,755)
149 %{_includedir}/brlcad
150 %{_includedir}/*.h
151
152 %files static
153 %defattr(644,root,root,755)
154 %{_libdir}/*.la
This page took 0.376678 seconds and 3 git commands to generate.