12665
|
1 |
#
|
|
2 |
# spec file for package SUNWlibsexy
|
|
3 |
#
|
|
4 |
# includes module(s): libsexy
|
|
5 |
#
|
|
6 |
# Owner: erwannc
|
|
7 |
|
|
8 |
%include Solaris.inc
|
|
9 |
|
|
10 |
Name: SUNWlibsexy
|
|
11 |
License: Other
|
|
12 |
Group: System/Libraries
|
|
13 |
Version: 0.1.11
|
|
14 |
Summary: libsexy is a collection of GTK+ widgets that extend the functionality of such standard widget.
|
|
15 |
Source: http://releases.chipx86.com/libsexy/libsexy/libsexy-%{version}.tar.gz
|
|
16 |
URL: http://www.chipx86.com/wiki/Libsexy
|
|
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
18 |
Docdir: %{_defaultdocdir}/doc
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
|
20 |
SUNW_Copyright: %{name}.copyright
|
|
21 |
|
|
22 |
Autoreqprov: on
|
|
23 |
BuildRequires: SUNWgnome-base-libs-devel
|
|
24 |
BuildRequires: SUNWlxml-devel
|
|
25 |
BuildRequires: SUNWiso-codes-devel
|
|
26 |
Requires: SUNWgnome-base-libs
|
|
27 |
Requires: SUNWlxml
|
|
28 |
Requires: SUNWiso-codes
|
|
29 |
|
|
30 |
%package devel
|
|
31 |
Summary: %{summary} - development files
|
|
32 |
SUNW_BaseDir: %{_basedir}
|
|
33 |
%include default-depend.inc
|
|
34 |
Requires: %name
|
|
35 |
|
|
36 |
%prep
|
|
37 |
%setup -q -n libsexy-%version
|
|
38 |
|
|
39 |
%build
|
|
40 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
41 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
42 |
CPUS=1
|
|
43 |
fi
|
|
44 |
|
|
45 |
libtoolize --copy --force
|
|
46 |
aclocal $ACLOCAL_FLAGS
|
|
47 |
autoheader
|
|
48 |
automake -a -c -f
|
|
49 |
autoconf
|
|
50 |
./configure --prefix=%{_prefix} \
|
|
51 |
--libdir=%{_libdir} \
|
|
52 |
--disable-gtk-doc
|
|
53 |
make -j $CPUS
|
|
54 |
|
|
55 |
%install
|
|
56 |
rm -rf $RPM_BUILD_ROOT
|
|
57 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
58 |
rm $RPM_BUILD_ROOT%{_libdir}/lib*.a
|
|
59 |
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
|
|
60 |
|
|
61 |
%clean
|
|
62 |
rm -rf $RPM_BUILD_ROOT
|
|
63 |
|
|
64 |
%files
|
13610
|
65 |
%doc README AUTHORS
|
|
66 |
%doc(bzip2) COPYING NEWS ChangeLog
|
13645
|
67 |
%dir %attr (0755, root, sys) %{_datadir}
|
13610
|
68 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
12665
|
69 |
%defattr (-, root, bin)
|
|
70 |
%dir %attr (0755, root, bin) %dir %{_libdir}
|
|
71 |
%{_libdir}/*.so*
|
|
72 |
|
|
73 |
%files devel
|
|
74 |
%defattr (-, root, bin)
|
|
75 |
%dir %attr (0755, root, bin) %dir %{_includedir}
|
|
76 |
%dir %attr (0755, root, bin) %dir %{_includedir}/libsexy
|
|
77 |
%{_includedir}/libsexy/*
|
|
78 |
%dir %attr (0755, root, sys) %dir %{_datadir}
|
|
79 |
%dir %attr (0755, root, bin) %dir %{_datadir}/gtk-doc
|
|
80 |
%{_datadir}/gtk-doc/*
|
|
81 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
82 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
83 |
%{_libdir}/pkgconfig/*
|
|
84 |
|
|
85 |
%changelog
|
13645
|
86 |
* Thu Sep 18 2008 - [email protected]
|
|
87 |
- Fix up pkg'ing section.
|
12693
|
88 |
* Wed Jun 18 2008 - [email protected]
|
|
89 |
- enalbe this component on SPARC
|
12665
|
90 |
* Wed Mar 26 2008 - [email protected]
|
|
91 |
- change to not build this component on SPARC
|
|
92 |
* Wed Feb 13 2008 - [email protected]
|
|
93 |
- moved to SFO
|
|
94 |
* Fri Aug 24 2007 Erwann Chenede <[email protected]>
|
|
95 |
- bumped to 0.1.11 and removed patch
|
|
96 |
* Fri Feb 16 2007 - Doug Scott <[email protected]>
|
|
97 |
- Fixed perm for gtk-doc directory
|
|
98 |
* Wed Nov 22 2006 - [email protected]
|
|
99 |
- Initial spec
|