# gtkDPS.spec.in Name: gtkDPS %define ver 0.3.4 %define rel 20080104 %define prefix /usr %define subdir / Summary: Set of functions, objects, and widgets to use DPS easily with GTK+. Version: %{ver} Release: %{rel} Docdir: %{prefix}%{subdir}/doc Prefix: %{prefix} # Requires: gtk+ >= 1.2.6 Copyright: LGPL Group: X11/Libraries Source: %{name}-%{ver}.tar.gz Packager: automatically generated - skel. by Vendor: GNU Yellow Vector Editor project Distribution: none Buildroot: /var/tmp/root-%{name} %description gtkDPS is the set of functions, objects, and widgets to use DPS easily with GTK. This is a spinoff of the GYVE, gnu yellow vetctor editor project. This package includes runtime libraries and document. %package devel Summary: Required for gtkDPS development. Group: Development/Libraries %description devel gtkDPS is the set of functions, objects, and widgets to use DPS easily with GTK. This is a spinoff of the GYVE, gnu yellow vetctor editor project. This package contains header files, archive libraries, and autoconf macro file. %prep %setup -n %{name}-%{ver} %build # PATH="@PATH@" ; export PATH # LD_LIBRARY_PATH="@LD_LIBRARY_PATH@" ; export LD_LIBRARY_PATH # # # if downloaded from CVS # rm -f config.cache ./configure --prefix=%{prefix}%{subdir} \ --with-dps-includes=/usr/X11R6/include --with-dps-libraries=/usr/X11R6/lib make %install rm -rf $RPM_BUILD_ROOT%{prefix}%{subdir} make prefix=$RPM_BUILD_ROOT%{prefix}%{subdir} install # cp gtkDPS/.libs/sample $RPM_BUILD_ROOT%{prefix}%{subdir}/bin # cp gtkDPS/.libs/sample2 $RPM_BUILD_ROOT%{prefix}%{subdir}/bin # cp gtkDPS/.libs/dpsmark $RPM_BUILD_ROOT%{prefix}%{subdir}/bin # cp gtkDPS/.libs/fontsel $RPM_BUILD_ROOT%{prefix}%{subdir}/bin %files %defattr(-, bin, bin) %doc COPYING COPYING.LIB ChangeLog GTKDPS-VERSION INSTALL %doc NEWS README TODO %{prefix}%{subdir}/lib/lib*.s* %{prefix}%{subdir}/share/locale %files devel %{prefix}%{subdir}/bin %{prefix}%{subdir}/lib/lib*a %{prefix}%{subdir}/include %{prefix}%{subdir}/share/aclocal %changelog * Wed Dec 12 1999 suzuki toshiya - updated to work with both of RPM-2.5.x and RPM-3.0.x. * Wed Dec 01 1999 suzuki toshiya - updated to work with gtkDPS-0.3.2 * Wed Oct 20 1999 suzuki toshiya - updated to work with gtkDPS-0.3.1 * Sun Oct 17 1999 Masatake YAMATO Create stubs. - initialization of spec file.