diff --git a/README.md b/README.md index b851d64..e3c8b65 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libghttp +GNOME HTTP client library. + diff --git a/libghttp.spec b/libghttp.spec new file mode 100644 index 0000000..1c0aeb5 --- /dev/null +++ b/libghttp.spec @@ -0,0 +1,65 @@ +Name: libghttp +Version: 1.0.9 +Release: 2mamba +Summary: GNOME HTTP client library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnome.org +Source: http://ftp.gnome.org/pub/gnome/sources/libghttp/1.0/%{name}-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +GNOME HTTP client library. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +GNOME http client library. +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure \ + --enable-shared +# Warning: % configure does not work + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_libdir}/libghttp.so.* +%{_libdir}/ghttpConf.sh +%doc AUTHORS COPYING COPYING.LIB + +%files devel +%defattr(-,root,root) +%{_libdir}/libghttp.a +%{_libdir}/libghttp.la +%{_libdir}/libghttp.so +%{_includedir}/*.h +%doc ChangeLog NEWS README TODO + +%changelog +* Sat Jul 26 2008 Silvan Calarco 1.0.9-2mamba +- specfile updated + +* Wed May 11 2005 Silvan Calarco 1.0.9-1qilnx +- package created by autospec