[521] | 1 | Name: libdnd |
---|
| 2 | Version: 1.1 |
---|
| 3 | Release: 7%{?_dist_release} |
---|
| 4 | License: GPL |
---|
| 5 | Group: System Environment/Libraries |
---|
| 6 | |
---|
| 7 | Vendor: Project Vine |
---|
| 8 | Distribution: Vine Linux |
---|
| 9 | |
---|
| 10 | Summary: The DND Protocol version 1.1 |
---|
| 11 | Summary(ja): OffiX のドラッグアンドドロップライブラリです。 |
---|
| 12 | Packager: MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 13 | Source0: http://leb.net/OffiX/dnd.%{version}.tgz |
---|
| 14 | Patch1: Makefile-shared.patch |
---|
| 15 | Patch2: dnd-signedchar.patch |
---|
| 16 | |
---|
| 17 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | BuildRequires: libSM-devel |
---|
| 19 | BuildRequires: libICE-devel |
---|
| 20 | BuildRequires: libXmu-devel |
---|
| 21 | BuildRequires: libXaw-devel >= 1.0.5 |
---|
| 22 | BuildRequires: libXt-devel |
---|
| 23 | BuildRequires: libX11-devel |
---|
| 24 | Obsoletes: dnd |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | shared libraries of OffiX drag and drop protocol. |
---|
| 28 | |
---|
| 29 | %description -l ja |
---|
| 30 | OffiXのドラッグアンドドロッププロトコルのシェアードライブラリです。 |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: header files and libraries for dnd development |
---|
| 35 | Summary(ja): DNDアプリケーションの開発用のヘッダおよびライブラリです。 |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: libdnd = %{version} |
---|
| 38 | Obsoletes: dnd-devel |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | header files and static libraries for DND development |
---|
| 42 | |
---|
| 43 | %description devel -l ja |
---|
| 44 | DNDアプリケーションを開発するのに必要なヘッダファイルとスタティック |
---|
| 45 | リンク用のライブラリを含んでいます。 |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | %setup -q -n DND |
---|
| 50 | %patch1 -p0 -b .shared |
---|
| 51 | %patch2 -p0 -b .gcc295 |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %build |
---|
| 55 | cd DNDlib |
---|
| 56 | ./configure --prefix=%{_prefix} --libdir='${exec_prefix}'/%{_lib} |
---|
| 57 | make |
---|
| 58 | |
---|
| 59 | %install |
---|
| 60 | rm -rf $RPM_BUILD_ROOT |
---|
| 61 | mkdir -p $RPM_BUILD_ROOT%{_prefix} |
---|
| 62 | |
---|
| 63 | cd DNDlib |
---|
| 64 | make install prefix=$RPM_BUILD_ROOT%{_prefix} |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %clean |
---|
| 68 | rm -rf $RPM_BUILD_ROOT |
---|
| 69 | |
---|
| 70 | %post -p /sbin/ldconfig |
---|
| 71 | |
---|
| 72 | %postun -p /sbin/ldconfig |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %files |
---|
| 76 | %defattr(-,root,root) |
---|
| 77 | %doc DNDlib/CHANGELOG DNDlib/README DNDlib/dndtest |
---|
| 78 | %{_libdir}/libDnd++.so.1.1 |
---|
| 79 | %{_libdir}/libDnd++.so.1 |
---|
| 80 | %{_libdir}/libDnd.so.1.1 |
---|
| 81 | %{_libdir}/libDnd.so.1 |
---|
| 82 | |
---|
| 83 | %files devel |
---|
| 84 | %defattr(-,root,root) |
---|
| 85 | %doc COPYING COPYING.LIB Copyright DNDdoc/* |
---|
| 86 | %{_libdir}/*.so |
---|
| 87 | %{_libdir}/*.a |
---|
| 88 | %{_includedir}/* |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %changelog |
---|
| 92 | * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-7 |
---|
| 93 | - rebuild with libXaw.so.7 (libXaw-1.0.5) |
---|
| 94 | |
---|
| 95 | * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-6 |
---|
| 96 | - applied new versioning policy |
---|
| 97 | - spec in UTF-8 |
---|
| 98 | - added xorg-x11 BuildRequires |
---|
| 99 | |
---|
| 100 | * Sun Mar 11 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1-5vl2 |
---|
| 101 | - added --libdir='${exec_prefix}'/%%{_lib} as configure option |
---|
| 102 | |
---|
| 103 | * Tue May 27 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> |
---|
| 104 | - 1.1-5vl1 |
---|
| 105 | - rebuilt. |
---|
| 106 | - use some macros |
---|
| 107 | - tag changed(Copyright -> License) |
---|
| 108 | |
---|
| 109 | * Mon Nov 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 110 | - 1.1-5 |
---|
| 111 | - Oops, %installr should be %install :-( |
---|
| 112 | (thanks Hiroshima-san for pointing it out) |
---|
| 113 | |
---|
| 114 | * Thu Mar 02 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 115 | - 1.1-4 |
---|
| 116 | - added a patch for gcc-2.95 |
---|
| 117 | |
---|
| 118 | * Wed Jan 26 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 119 | - 1.1-3 |
---|
| 120 | - package name changed to libdnd |
---|
| 121 | |
---|
| 122 | * Fri Jan 7 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 123 | - change Group |
---|
| 124 | - build for Vine Linux 2.0 |
---|
| 125 | |
---|
| 126 | * Sat Aug 14 1999 NAKAMURA Takahiro <harrier@mwe.biglobe.ne.jp> |
---|
| 127 | - built with shared libraries |
---|