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

RevLine 
[521]1%define name qhull
[9249]2%define version 2012.1
[521]3
4Summary: General dimension convex hull programs
5Name: %{name}
6Version: %{version}
[9249]7Release: 1%{?_dist_release}
[2724]8License: Distributable
[521]9Group: System Environment/Libraries
10URL: http://www.qhull.org
11
[9249]12Source0: http://www.qhull.org/download/qhull-%{version}-src.tgz
[521]13
[2724]14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
[521]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
[2724]24Summary: Development files for qhull
[521]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
[2724]36%setup -q -n %{name}-%{version}
[521]37
[9249]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
[521]42
43%build
44make
45
46%install
47rm -rf $RPM_BUILD_ROOT
[9249]48make DESTDIR=$RPM_BUILD_ROOT install
[521]49
50## remove unuse files
51rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
[9249]52rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
[521]53
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
[2724]58%post -p /sbin/ldconfig
[521]59
[2724]60%postun -p /sbin/ldconfig
[521]61
62%files
63%defattr(-,root,root)
[9249]64%doc %{_docdir}/%{name}
[2724]65%{_bindir}/*
66%{_libdir}/libqhull.so.*
[9249]67%{_libdir}/libqhull_p.so.*
[2724]68%{_mandir}/man1/*
[521]69
70%files devel
71%defattr(-,root,root)
[9249]72%{_includedir}/libqhull
73%{_includedir}/libqhullcpp
[2724]74%{_libdir}/libqhull.so
[9249]75%{_libdir}/libqhull_p.so
[521]76
77%changelog
[9249]78* Sun Jan 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2012.1-1
79- update to 2012.1
80
[2724]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
[521]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.