]> git.pld-linux.org Git - SPECS.git/blob - meshio.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / meshio.spec
1 Summary:        Library for the loading of 3D model files
2 Summary(pl.UTF-8):      Biblioteka do ładowania plików z modelami 3D
3 Name:           meshio
4 Version:        0.2.0
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://www.3dwm.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  970709a30d5a2139bcdb8b57076841a6
10 URL:            http://www.3dwm.org/frameset.html
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  libtool >= 2:1.4d
15 Obsoletes:      libmeshio0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 MeshIO is a simple C++ library for the loading of 3D model files.
20 Currently, MeshIO only supports plain .3DS files as well as its native
21 .RAW format. MeshIO will undergo a major redesign in the future.
22
23 %description -l pl.UTF-8
24 MeshIO jest prostą biblioteką napisana w C++, służącą do ładowania
25 plików z modelami 3D. W chwili obecnej, MeshIO wspiera tylko czyste
26 pliki .3DS oraz swój natywny format .RAW. MeshIO zostanie gruntownie
27 przeprojektowane w przyszłości.
28
29 %package devel
30 Summary:        Development files for MeshIO
31 Summary(pl.UTF-8):      Pliki nagłówkowe dla MeshIO
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Obsoletes:      libmeshio0-devel
35
36 %description devel
37 Development files for meshio.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe dla meshio.
41
42 %package static
43 Summary:        Static meshio library
44 Summary(pl.UTF-8):      Statyczna biblioteka meshio
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static meshio library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka meshio.
53
54 %prep
55 %setup -q
56
57 cat > acconfig.h <<EOF
58 #undef MAJOR_VERSION
59 #undef MINOR_VERSION
60 #undef PATCH_LEVEL
61 EOF
62
63 %build
64 rm -f missing
65 %{__libtoolize}
66 %{__aclocal}
67 %{__autoconf}
68 %{__autoheader}
69 %{__automake}
70 %configure
71
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc AUTHORS NEWS
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %{_libdir}/lib*.la
94 %{_libdir}/lib*.so
95 %{_includedir}/MeshIO
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/lib*.a
This page took 0.029379 seconds and 3 git commands to generate.