84 lines
2.2 KiB
RPMSpec
84 lines
2.2 KiB
RPMSpec
|
Name: libsexy
|
||
|
Version: 0.1.11
|
||
|
Release: 2mamba
|
||
|
Summary: Collection of GTK+ widgets that extend functionality
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: gil <puntogil@libero.it>
|
||
|
URL: http://www.chipx86.com/wiki/Libsexy
|
||
|
Source: http://releases.chipx86.com/libsexy/libsexy/libsexy-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
|
||
|
BuildRequires: iso-codes-devel
|
||
|
BuildRequires: libenchant-devel
|
||
|
BuildRequires: libgtk-apidocs
|
||
|
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libatk-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgtk-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
BuildRequires: pkgconfig
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
%{name} is a collection of GTK+ widgets that extend the functionality of such standard widgets as GtkEntry and GtkLabel by subclassing them and working around the limitations of the widgets.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Static libraries and headers for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkgconfig
|
||
|
Requires: libgtk-devel
|
||
|
|
||
|
%description devel
|
||
|
This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel.
|
||
|
|
||
|
%prep
|
||
|
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
##\
|
||
|
## --disable-static
|
||
|
## --enable-gtk-doc
|
||
|
%make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall DESTDIR="%{buildroot}"
|
||
|
rm -f %{buildroot}%{_libdir}/libsexy.la
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.so.*
|
||
|
%doc AUTHORS COPYING ChangeLog NEWS
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-, root, root, 0755)
|
||
|
%{_includedir}/libsexy/
|
||
|
%{_libdir}/libsexy.so
|
||
|
%{_libdir}/*.a
|
||
|
%{_libdir}/pkgconfig/libsexy.pc
|
||
|
%doc %{_datadir}/gtk-doc/html/libsexy/
|
||
|
|
||
|
%changelog
|
||
|
* Sun May 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.11-2mamba
|
||
|
- automatic requirements fixed
|
||
|
|
||
|
* Mon May 12 2008 gil <puntogil@libero.it> 0.1.11-1mamba
|
||
|
- package created by autospec
|