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