]> git.pld-linux.org Git - packages/UFconfig.git/blob - UFconfig.spec
- x32 rebuild
[packages/UFconfig.git] / UFconfig.spec
1 Summary:        UFconfig development files
2 Summary(pl.UTF-8):      Pliki programistyczne UFconfig
3 Name:           UFconfig
4 Version:        3.7.1
5 Release:        2
6 License:        no restrictions
7 Group:          Development
8 Source0:        http://www.cise.ufl.edu/research/sparse/UFconfig/%{name}-%{version}.tar.gz
9 # Source0-md5:  145b8126b7ee957d1ea6b401be0bf798
10 Patch0:         %{name}-config.patch
11 Patch1:         %{name}-shared.patch
12 URL:            http://www.cise.ufl.edu/research/sparse/UFconfig/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 UFconfig is required by nearly all sparse matrix packages that are
17 authored by Timothy A. Davis.
18
19 %description -l pl.UTF-8
20 UFconfig jest wymagany przez prawie wszystkie pakiety do obliczeń na
21 macierzach rzadkich autorstwa Timothy'ego A. Davisa.
22
23 %package libs
24 Summary:        UFconfig shared library
25 Summary(pl.UTF-8):      Biblioteka współdzielona UFconfig
26 Group:          Libraries
27
28 %description libs
29 UFconfig shared library, containing malloc/free wrappers.
30
31 %description libs -l pl.UTF-8
32 Biblioteka współdzielona UFconfig, zawierająca funkcje obudowujące
33 malloc/free.
34
35 %package devel
36 Summary:        Development files for UFconfig library
37 Summary(pl.UTF-8):      Pliki programistyczne biblioteki UFconfig
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       %{name}-libs = %{version}-%{release}
41
42 %description devel
43 Development files for UFconfig library.
44
45 %description devel -l pl.UTF-8
46 Pliki programistyczne biblioteki UFconfig.
47
48 %package static
49 Summary:        UFconfig static library
50 Summary(pl.UTF-8):      Biblioteka statyczna UFconfig
51 Group:          Libraries
52 Requires:       %{name}-devel = %{version}-%{release}
53
54 %description static
55 UFconfig static library.
56
57 %description static -l pl.UTF-8
58 Biblioteka statyczna UFconfig.
59
60 %prep
61 %setup -q -n %{name}
62 %patch0 -p1
63 %patch1 -p1
64
65 %build
66 %{__make} \
67         CC="%{__cc}" \
68         CFLAGS="%{rpmcflags}" \
69         LDFLAGS="%{rpmldflags}" \
70         INSTALL_LIB=%{_libdir}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir},%{_datadir}/misc}
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT \
78         INSTALL_LIB=%{_libdir}
79
80 cp -a UFconfig.mk $RPM_BUILD_ROOT%{_datadir}/misc
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   libs -p /sbin/ldconfig
86 %postun libs -p /sbin/ldconfig
87
88 %files
89 %defattr(644,root,root,755)
90 %doc README.txt
91 %{_includedir}/UFconfig.h
92 %{_datadir}/misc/UFconfig.mk
93
94 %files libs
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libufconfig.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libufconfig.so.0
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libufconfig.so
102 %{_libdir}/libufconfig.la
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/libufconfig.a
This page took 0.055116 seconds and 3 git commands to generate.