diff --git a/README.md b/README.md index b063231..80d5bc1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libsexy +libsexy 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. + diff --git a/libsexy.spec b/libsexy.spec new file mode 100644 index 0000000..78e3c66 --- /dev/null +++ b/libsexy.spec @@ -0,0 +1,83 @@ +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 +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 0.1.11-2mamba +- automatic requirements fixed + +* Mon May 12 2008 gil 0.1.11-1mamba +- package created by autospec