diff options
author | Paweł Gołaszewski | 2002-02-10 03:23:16 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | b51e26ddd8bce1cb8685ca2047fc10c214b9534f (patch) | |
tree | ee4ab971a9cfff96bf825763ad65f65fa98ca02d | |
download | vanessa_adt-b51e26ddd8bce1cb8685ca2047fc10c214b9534f.zip vanessa_adt-b51e26ddd8bce1cb8685ca2047fc10c214b9534f.tar.gz |
brand new
Changed files:
vanessa_adt.spec -> 1.1
-rw-r--r-- | vanessa_adt.spec | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/vanessa_adt.spec b/vanessa_adt.spec new file mode 100644 index 0000000..389c6f6 --- /dev/null +++ b/vanessa_adt.spec @@ -0,0 +1,93 @@ +Summary: Library of Abstract Data Types +Name: vanessa_adt +Version: 0.0.2 +Release: 1 +License: LGPL +Group: Libraries +Group(cs): Knihovny +Group(de): Bibliotheken +Group(es): Bibliotecas +Group(fr): Librairies +Group(ja): ¥é¥¤¥Ö¥é¥ê +Group(pl): Biblioteki +Group(pt): Bibliotecas +Group(pt_BR): Bibliotecas +Group(ru): âÉÂÌÉÏÔÅËÉ +Group(uk): â¦Â̦ÏÔÅËÉ +Source0: ftp://vergenet.net/pub/vanessa_adt/vanessa_adt/%{name}-%{version}.tar.gz +URL: http://vanessa.sourceforge.net/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: sed +Provides: %{name}-%{version} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + + +%description +Library of Abstract Data Types (ADTs) that may be useful. Includes +queue, dynamic array and key value ADT. + +%package devel +Summary: Headers and static libraries for development +Group: Development/Libraries +Group(cs): Vývojové prostøedky/Knihovny +Group(de): Entwicklung/Bibliotheken +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(ja): ³«È¯/¥é¥¤¥Ö¥é¥ê +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(pt): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: %{name}-%{version} + +%description devel +Headers and static libraries required to develop against vanessa_adt. + + +%prep +%setup -q + +%build +sed -e s/AC_PROG_RANLIB/AC_PROG_LIBTOOL/ configure.in > configure.in.tmp +mv -f configure.in.tmp configure.in + +rm -f missing +libtoolize --copy --force +aclocal +autoconf +automake -a -c +%configure +CFLAGS="${RPM_OPT_FLAGS}" +%{__make} + + +%install +rm -rf $RPM_BUILD_ROOT +install -d ${RPM_BUILD_ROOT}/{etc,%{_prefix}/{lib,bin,doc}} + +%{__make} DESTDIR=$RPM_BUILD_ROOT install + +gzip -9nf README ChangeLog NEWS TODO + +%clean +rm -rf $RPM_BUILD_DIR/%{name}-%{version} +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/*.so.*.* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/*.*a +%attr(755,root,root) %{_libdir}/*.so +%attr(755,root,root) %{_libdir}/*.so.0 +%attr(644,root,root) %{_includedir}/*.h +%doc *.gz |