source: projects/specs/trunk/q/qhull/qhull-vl.spec @ 9249

Revision 9249, 2.6 KB checked in by Takemikaduchi, 9 years ago (diff)

python3-{pyatspi,pycairo,pygobject},gedit,accerciser,eog-plugins: rebuild with python3
others: new upstream release

Line 
1%define name qhull
2%define version 2012.1
3
4Summary: General dimension convex hull programs
5Name: %{name}
6Version: %{version}
7Release: 1%{?_dist_release}
8License: Distributable
9Group: System Environment/Libraries
10URL: http://www.qhull.org
11
12Source0: http://www.qhull.org/download/qhull-%{version}-src.tgz
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16%description
17Qhull is a general dimension convex hull program that reads a set
18of points from stdin, and outputs the smallest convex set that contains
19the points to stdout.  It also generates Delaunay triangulations, Voronoi
20diagrams, furthest-site Voronoi diagrams, and halfspace intersections
21about a point.
22
23%package devel
24Summary: Development files for qhull
25Group: Development/Libraries
26Requires: %{name} = %{version}-%{release}
27
28%description devel
29Qhull is a general dimension convex hull program that reads a set
30of points from stdin, and outputs the smallest convex set that contains
31the points to stdout.  It also generates Delaunay triangulations, Voronoi
32diagrams, furthest-site Voronoi diagrams, and halfspace intersections
33about a point.
34
35%prep
36%setup -q -n %{name}-%{version}
37
38sed -i "s|\$(DESTDIR)/bin|\$(DESTDIR)%{_bindir}|g" Makefile
39sed -i "s|\$(DESTDIR)/include|\$(DESTDIR)%{_includedir}|g" Makefile
40sed -i "s|\$(DESTDIR)/lib|\$(DESTDIR)%{_libdir}|g" Makefile
41sed -i "s|\$(DESTDIR)/share|\$(DESTDIR)%{_datadir}|g" Makefile
42
43%build
44make
45
46%install
47rm -rf $RPM_BUILD_ROOT
48make DESTDIR=$RPM_BUILD_ROOT install
49
50## remove unuse files
51rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
52rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
53
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post -p /sbin/ldconfig
59
60%postun -p /sbin/ldconfig
61
62%files
63%defattr(-,root,root)
64%doc %{_docdir}/%{name}
65%{_bindir}/*
66%{_libdir}/libqhull.so.*
67%{_libdir}/libqhull_p.so.*
68%{_mandir}/man1/*
69
70%files devel
71%defattr(-,root,root)
72%{_includedir}/libqhull
73%{_includedir}/libqhullcpp
74%{_libdir}/libqhull.so
75%{_libdir}/libqhull_p.so
76
77%changelog
78* Sun Jan 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2012.1-1
79- update to 2012.1
80
81* Sat Feb 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2003.1-2
82- added Patch0 from upstream
83- added --disable-static to %%configure
84
85* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2003.1-1vl5
86- applied new versioning policy
87- removed *.la
88
89*Thu Jan 03 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2003.1-0vl2
90- rebuild on VineSeed
91
92*Thu Oct 6 2005 g-staff <g-staff@math.sci.hokudai.ac.jp> 2003.1-0vl1
93- taken from FC
94- rebuild on Vine Linux 3.2
95
96* Sun Aug 08 2004 Ralf Corsepius <ralf[AT]links2linux.de>       - 2003.1-0.fdr.2
97- Use default documentation installation scheme.
98
99* Fri Jul 16 2004 Ralf Corsepius <ralf[AT]links2linux.de>       - 2003.1-0.fdr.1
100- Initial Fedora RPM.
Note: See TracBrowser for help on using the repository browser.