Projects
home:wkazubski
qastrocam-g2
qastrocam-g2.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qastrocam-g2.spec of Package qastrocam-g2
# # spec file for package qastrocam-g2 # #norootforbuild Name: qastrocam-g2 Version: 4.9.1 Release: 1 License: GPL-3.0 Summary: Video capture for astronomy Url: http://thx8411.over-blog.com/pages/Qastrocamg2_48_FAQ-3269267.html Group: Productivity/Hamradio/Other Source0: http://downloads.sourceforge.net/project/qastrocam-g2/Releases/qastrocam-g2_4.9.1_src.tar.gz Patch0: qastrocam-g2-cfitsio-include-dir.patch Patch1: qastrocam-g2-desktop-file-mods.patch Patch2: qastrocam-g2-64bit-lib-location.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: qt3-devel BuildRequires: libcfitsio-devel libusb-devel libSDL-devel BuildRequires: libavifile-devel BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme Requires: hicolor-icon-theme %description Qastrocam-g2 is a fork of Qastrocam, a very nice software dedicated to astronomy and video capture on GNU/Linux. %prep %setup -q -n %{name} %patch0 -p 1 -b .opensuse %patch1 -p 1 -b .opensuse %ifarch x86_64 %patch2 -p 1 -b .x86_64 %endif %build make configure-redhat-mt make all %install export QA_RPATHS=$0x0001 make install DESTDIR=%{buildroot}/usr mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps mv %{buildroot}/%{_datadir}/icons/%{name}-icon.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png mv doc/License.txt doc/COPYING #create desktop file %if 0%{?suse_version} mkdir -p %{buildroot}%{_datadir}/applications cp %{name}.desktop %{buildroot}%{_datadir}/applications %suse_update_desktop_file %{name} Education Science %endif %if 0%{?fedora} desktop-file-install \ --vendor= \ --dir %{buildroot}%{_datadir}/applications \ --add-category Qt \ --add-category Education \ %{name}.desktop %endif %clean rm -rf %{buidroot} %files %defattr(-,root,root) %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}.png %doc doc/BUGS doc/ChangeLog doc/COPYING doc/README doc/README.philips doc/TODO %dir /usr/lib/win32 /usr/lib/win32/huffyuv.dll %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.