Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
adif2cabrillo
adif2cabrillo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File adif2cabrillo.spec of Package adif2cabrillo
# # spec file for package adif2cabrillo # # norootforbuild Name: adif2cabrillo Version: 1.0.5 Release: 1.1 License: GPL-2.0+ Summary: Hamradio log converter Url: http://users.telenet.be/on4qz/ %if 0%{?suse_version} Group: Productivity/Hamradio/Logging %endif %if 0%{?fedora} Group: Applications/Communications %endif Source0: http://users.telenet.be/on4qz/a2c/downloads/%{name}_%{version}.tar.gz Source1: %{name}.desktop Patch0: %{name}-install.patch BuildRequires: doxygen BuildRequires: fdupes %if 0%{?suse_version} %define x_qmake qmake BuildRequires: libqt4-devel BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme Requires: hicolor-icon-theme %endif %if 0%{?fedora} %define x_qmake qmake-qt4 BuildRequires: qt-devel BuildRequires: desktop-file-utils %endif %description Adif2Cabrillo is a flexible and fully customizable ADIF to Cabrillo converter. %prep %setup -q -n %{name} %patch0 -p 1 -b .package %build %{x_qmake} PREFIX=/usr %{name}.pro make %{?_smp_mflags} #make docs cd Documentation/manual doxygen manual.doxy %install make INSTALL_ROOT=%{buildroot} install #create desktop file %if 0%{?suse_version} mkdir -p %{buildroot}%{_datadir}/applications cp %{SOURCE1} %{buildroot}%{_datadir}/applications %suse_update_desktop_file %{name} %endif %if 0%{?fedora} desktop-file-install \ --vendor= \ --dir %{buildroot}%{_datadir}/applications \ --add-category Qt \ --add-category Education \ %{SOURCE1} %endif #install icon mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps cp icons/a2c.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/a2c.png #install docs mkdir -p %{buildroot}%{_docdir}/%{name} cp -a Documentation/manual/manual %{buildroot}%{_docdir}/%{name} %fdupes -s %{buildroot}%{_docdir}/%{name}/manual %files %{_bindir}/%{name} %{_docdir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/a2c.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor