pcb/pcb.spec

113 lines
3.1 KiB
RPMSpec

Name: pcb
Version: 20140316
Release: 1mamba
Summary: PCB Editor layout
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pcb.sourceforge.net/
Source: http://downloads.sourceforge.net/project/pcb/pcb/pcb-%{version}/pcb-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: bison
BuildRequires: flex
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgd-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk-devel
BuildRequires: libjpeg-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libX11-devel
BuildRequires: libXpm-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: m4
## AUTOBUILDREQ-END
BuildRequires: libgtkglext-devel
Requires: m4
Requires: libgtk
Requires: libgd
Requires: flex
Requires: bison
Requires: libcairo
Requires: libglitz
Requires: libpthread-stubs
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Pcb is a CAD (computer aided design) program for the physical design of printed circuit boards.
%prep
%setup -q
%build
%configure \
--disable-update-desktop-database \
--disable-update-mime-database
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%preun
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/info/*
%{_mandir}/man1/pcb.1.gz
%{_datadir}/pcb/*
%{_datadir}/applications/pcb.desktop
%{_datadir}/appdata/pcb.appdata.xml
%{_datadir}/gEDA/scheme/gnet-pcbfwd.scm
%{_datadir}/icons/hicolor/*/mimetypes/application-*.png
%{_datadir}/icons/hicolor/48x48/apps/pcb.png
%{_datadir}/icons/hicolor/48x48/mimetypes/application-*.png
%{_datadir}/icons/hicolor/scalable/apps/pcb.svg
%{_datadir}/icons/hicolor/scalable/mimetypes/application-*.svg
%{_datadir}/mime/packages/pcb.xml
%{_datadir}/mimelnk/application/*.desktop
%{_datadir}/doc/pcb/*
%doc AUTHORS COPYING
# ChangeLog NEWS README
%changelog
* Sun May 11 2014 Automatic Build System <autodist@mambasoft.it> 20140316-1mamba
- automatic update by autodist
* Mon Oct 24 2011 Automatic Build System <autodist@mambasoft.it> 20110918-1mamba
- update to 20110918
* Mon Oct 25 2010 Automatic Build System <autodist@mambasoft.it> 20100929-1mamba
- automatic update by autodist
* Mon Jan 18 2010 Automatic Build System <autodist@mambasoft.it> 20091103-1mamba
- automatic update by autodist
* Tue Jan 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 20081128-1mamba
- automatic update by autodist
* Thu Aug 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 20080202-1mamba
- update to 20080202
* Thu Mar 22 2007 Tiziano Pratellesi <tiziano.pratellesi@mambasoft.org>
- update to 20070208p1 version
* Fri Sep 15 2006 Tiziano Pratellesi <info@mycare.it> 20060822-1qilnx
- package created by autospec