1 Summary: Printed Circuit Board design tool
2 Summary(pl.UTF-8): PCB - narzędzie do projektowania płytek drukowanych
7 Group: X11/Applications
8 # devel snaps: http://dl.sourceforge.net/pcb/
9 Source0: http://dl.sourceforge.net/pcb/%{name}-%{version}.tar.gz
10 # Source0-md5: 933eda642f3838b24d417224693f8386
11 #Source0: ftp://ftp.uni-ulm.de/pub/pcb/mirror/%{name}-%{version}.tar.gz
12 Patch0: format-security.patch
13 URL: http://pcb.sourceforge.net/
16 BuildRequires: gd-devel
17 BuildRequires: gettext-tools
18 BuildRequires: gtk+2-devel >= 2.0.0
19 BuildRequires: perl-XML-Parser
20 BuildRequires: pkgconfig
21 BuildRequires: xorg-lib-libXpm-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _appdefsdir /usr/X11R6/lib/X11/app-defaults
27 Pcb is a handy tool for the X Window System build to design printed
30 %description -l pl.UTF-8
31 Pcb jest podręcznym narzędziem pod X Window System do projektowania
39 export LDFLAGS="-L%{_x_libraries}"
41 WISH="%{_bindir}/wish" \
42 --disable-update-desktop-database \
43 --disable-update-mime-database
47 CDEBUGFLAGS="%{rpmcflags}" \
48 PCBLIBDIR=%{_datadir}/pcb
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_infodir}
55 DESTDIR=$RPM_BUILD_ROOT \
56 PCBLIBDIR=%{_datadir}/pcb \
59 install doc/pcb.info* $RPM_BUILD_ROOT%{_infodir}
62 rm -rf $RPM_BUILD_ROOT
64 %post -p /sbin/postshell
65 -/usr/sbin/fix-info-dir -c %{_infodir}
67 %postun -p /sbin/postshell
68 -/usr/sbin/fix-info-dir -c %{_infodir}
71 %defattr(644,root,root,755)
72 %doc README_FILES/* example
73 %attr(755,root,root) %{_bindir}/*
74 ##%attr(755,root,root) %{_bindir}/pcb
75 ##%attr(755,root,root) %{_bindir}/pcb-bin