- tabs in preamble
[packages/OffiX-Clipboard.git] / OffiX-Clipboard.spec
CommitLineData
08b49102 1# TODO:
2# - DESTDIR patch
043def5c 3Summary: A drag and drop clipboard patch for xclipboard
0aed8474 4Summary(pl.UTF-8): Xclipboard z łatą do obsługi "przenieś i upuść"
a29597bd 5Name: OffiX-Clipboard
6Version: 2.4
7Release: 8
82bcd17b
JR
8License: GPL
9Group: X11
a29597bd 10Source0: ftp://ftp.leb.net/pub/offix/Clipboard-%{version}.tar.gz
11e93915 11# Source0-md5: 3fa71e8f5d775d0bfd3e21cbcd370106
a29597bd 12Source1: offix-clipboard.desktop
13Patch0: Clipboard-2.4-Xaw3d.patch
08b49102 14BuildRequires: OffiX-devel
15BuildRequires: Xaw3d-devel
acdc839a 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a29597bd 17
15e4da5e 18%define _appdefsdir /usr/X11R6/lib/X11/app-defaults
0dcb2ddd 19
20%description
21OffiX-Clipboard is a patch to the standard xclipboard program. If you
22drop things on the clipboard window, they are inserted into the
23current clipboard.
24
f44749ec
JR
25%description -l pl.UTF-8
26OffiX-Clipboard to łata na standardowy program xclipboard. Po
27upuszczeniu na okno schowka, dana rzecz zostaje umieszczona w bieżącym
a29597bd 28schowku.
a84e5338 29
0dcb2ddd 30%prep
31%setup -q -n Clipboard-2.4
664302ec 32%patch0 -p1
0dcb2ddd 33
34%build
bdb06690
PG
35%configure2_13 \
36 --with-dnd-inc=%{_includedir}/X11 \
37 --with-dnd-lib=%{_libdir}
67acbb4d 38%{__make}
0dcb2ddd 39
40%install
41rm -rf $RPM_BUILD_ROOT
08b49102 42install -d $RPM_BUILD_ROOT{%{_appdefsdir},%{_desktopdir}}
0dcb2ddd 43
15e4da5e
JB
44%{__make} install \
45 prefix=$RPM_BUILD_ROOT%{_prefix}
0dcb2ddd 46
15e4da5e 47install Clipboard.ad $RPM_BUILD_ROOT%{_appdefsdir}/Clipboard
08b49102 48install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
0dcb2ddd 49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
a29597bd 54%defattr(644,root,root,755)
15e4da5e 55%doc AUTHORS README THANKS
a29597bd 56%attr(755,root,root) %{_bindir}/clipboard
15e4da5e
JB
57%{_appdefsdir}/Clipboard
58%{_mandir}/man1/clipboard.1*
08b49102 59%{_desktopdir}/*.desktop
This page took 0.038417 seconds and 4 git commands to generate.