Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
udns
> udns.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File udns.spec of Package udns
# # spec file for package udns (Version 0.0.9) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Summary: DNS resolver library Name: udns Version: 0.0.9 Release: 0.3.4 License: LGPL v2.1 or later Group: Productivity/Networking/DNS/Utilities Url: http://www.corpit.ru/mjt/udns.html Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description UDNS is a stub DNS resolver library with ability to perform both syncronous and asyncronous DNS queries. %prep %setup -q %build export CFLAGS="$RPM_OPT_FLAGS " export CXXFLAGS="$RPM_OPT_FLAGS " ./configure --enable-ipv6 make shared %install mkdir -p %buildroot{%_libdir,%_includedir,%_bindir,%_mandir/man{1,3}} install -m755 libudns.so.0 %buildroot%_libdir install -m755 libudns_s.so %buildroot%_libdir/libudns.so install -m644 udns.h %buildroot%_includedir for f in *_s; do install -m 755 $f %buildroot%_bindir/${f%%_s}; done for f in *.[13]; do install -m644 $f %buildroot%_mandir/man${f#*.}; done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING.LGPL NEWS NOTES TODO %_libdir/lib* %_includedir/* %_bindir/* %_mandir/*/* %changelog * Tue Dec 21 2010 ro@suse.de - fix filelist * Thu Dec 9 2010 mc@suse.de - initial release