From a97cdc01f65f6f69d514d0c308bc978a7a29a7fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Sat, 11 May 2002 18:59:27 +0000 Subject: [PATCH 1/1] - initial revision - spec written from scratch Library for dc-gui Changed files: dclib.spec -> 1.1 --- dclib.spec | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 dclib.spec diff --git a/dclib.spec b/dclib.spec new file mode 100644 index 0000000..50ac6d0 --- /dev/null +++ b/dclib.spec @@ -0,0 +1,90 @@ +%define _beta beta4 +%define _release 1 + +Summary: dclib - libraries for Direct Connect client. +Summary(pl): dclib - biblioteki dla klienta Direct Connecta. +Name: dclib +Version: 0.1 +Release: %{_beta}.%{_release} +License: GPL v2 +Group: X11/Libraries +Source0: http://dc.ketelhot.de/files/dcgui/unstable/source/%{name}-%{version}%{_beta}.tar.bz2 +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: qt-devel +URL: http://dc.ketelhot.de/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _prefix /usr/X11R6 + +%description +Libraries for Direct Connect client. + +%description -l pl +Biblioteki dla klienta Direct Connecta. + +%package devel +Summary: Developement files for dclib +Summary(pl): Pliki nag³ówkowe dla dclib +Group: X11/Development/Libraries +Requires: %{name} = %{version} + +%description devel +The header files are only needed for development of programs using the +dclib. + +%description devel -l pl +Pliki nag³ówkowe potrzebne tylko przy rozwijaniu programów z u¿yciem +dclib. + +%package static +Summary: Static libraries dclib +Summary(pl): Statyczne biblioteki dclib +Group: X11/Development/Libraries +Requires: %{name}-devel = %{version} + +%description static +Static dclib libraries. + +%description static -l pl +Statyczne biblioteki dclib. + +%prep +%setup -q -n %{name}-%{version}%{_beta} + +%build +aclocal +autoconf +%configure + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} DESTDIR=$RPM_BUILD_ROOT install + +gzip -9nf README NEWS TODO AUTHORS + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/*.so.*.* + +%files devel +%defattr(644,root,root,755) +%doc *.gz +%attr(755,root,root) %{_libdir}/*.la +%attr(755,root,root) %{_libdir}/*.so +%attr(755,root,root) %{_libdir}/*.so.0 +%attr(755,root,root) %{_includedir}/%{name}/*.h + +%files static +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/*.a -- 2.43.0