pcb/pcb.spec

121 lines
3.3 KiB
RPMSpec

Name: pcb
Epoch: 1
Version: 4.3.0
Release: 1mamba
Summary: PCB Editor layout
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pcb.sourceforge.net/
Source: https://downloads.sourceforge.net/project/pcb/pcb/pcb-%{version}/pcb-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libXinerama-devel
BuildRequires: libXmu-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgd-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkglext-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
BuildRequires: m4
BuildRequires: flex
BuildRequires: bison
Requires(post):%{__install_info}
%description
Pcb is a CAD (computer aided design) program for the physical design of printed circuit boards.
%debug_package
%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}/pcb
%{_bindir}/Merge*
%dir %{_datadir}/pcb
%{_datadir}/pcb/*
%{_datadir}/applications/pcb.desktop
%{_datadir}/metainfo/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}/doc/pcb/*
%{_datadir}/info/*
%{_mandir}/man1/pcb.1*
%doc AUTHORS COPYING
# ChangeLog NEWS README
%changelog
* Tue Mar 02 2021 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
- automatic version update by autodist
* Sun Jun 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.2-1mamba
- update to 4.2.2
* 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