Projects
Eulaceura:Factory
dcraw
_service:obs_scm:dcraw.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:dcraw.spec of Package dcraw
Summary: Tool for decoding raw image data from digital cameras Name: dcraw Version: 9.28.0 Release: 8 License: GPL-2.0-or-later URL: https://www.dechifro.org/dcraw/ Source0: https://www.dechifro.org/dcraw/archive/dcraw-%{version}.tar.gz Patch0: dcraw-9.21-lcms2-error-reporting.patch Patch1: dcraw-CVE-2018-5801.patch Patch2: dcraw-CVE-2017-13735.patch Patch3: dcraw-CVE-2017-14608.patch Patch4: dcraw-CVE-2018-19655.patch BuildRequires: gcc gettext libjpeg-devel lcms2-devel jasper-devel Provides: bundled(dcraw) %description This package contains dcraw, a command line tool to decode raw image data downloaded from digital cameras. %package_help %prep %autosetup -n dcraw -p1 %build %{__cc} %{build_cflags} %{build_ldflags} \ -o dcraw dcraw.c \ -ljpeg -llcms2 -ljasper -lm \ -DLOCALEDIR="\"%{_datadir}/locale\"" # build language catalogs for catsrc in dcraw_*.po; do lang="${catsrc%.po}" lang="${lang#dcraw_}" msgfmt -o "dcraw_${lang}.mo" "$catsrc" done %install install -Dp -m 0755 dcraw %{buildroot}%{_bindir}/dcraw for catalog in dcraw_*.mo; do lang="${catalog%.mo}" lang="${lang#dcraw_}" install -d -m 0755 "%{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES" install -m 0644 "$catalog" "%{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/dcraw.mo" done install -d -m 0755 %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1 install -m 0644 dcraw.1 %{buildroot}%{_mandir}/man1/dcraw.1 rm -f %{name}-man-files touch %{name}-man-files for manpage in dcraw_*.1; do lang="${manpage%.1}" lang="${lang#dcraw_}" install -d -m 0755 "%{buildroot}%{_mandir}/${lang}/man1" install -m 0644 "${manpage}" "%{buildroot}%{_mandir}/${lang}/man1/dcraw.1" echo "%%lang($lang) %%{_mandir}/${lang}/man1/*" >> %{name}-man-files done %find_lang %{name} %files -f %{name}.lang %{_bindir}/dcraw %files help -f %{name}-man-files %{_mandir}/man1/* %changelog * Sat Nov 02 2024 Funda Wang <fundawang@yeah.net> - 9.28.0-8 - fix CVE-2017-13735, CVE-2017-14608, CVE-2018-19655 patches from fedora * Wed Jul 17 2024 yaoxin <yao_xin001@hoperun.com> - 9.28.0-7 - Fix build failed * Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 9.28.0-6 - DESC: delete -S git from %autosetup, and delete BuildRequires git * Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 9.28.0-5 - Add git in BuildRequires * Fri Sep 11 2020 leiju <leiju4@huawei.com> - 9.28.0-4 - Delete BuildRequires jasper-devel * Tue Apr 21 2020 Jeffery.Gao <gaojianxing@huawei.com> - 9.28.0-3 - Package init
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
.
浙ICP备2022010568号-2