Projects
Mega:24.03:SP1:Everything
libpaper
_service:tar_scm:libpaper.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:libpaper.spec of Package libpaper
Name: libpaper Version: 1.1.29 Release: 1 Summary: Library for handling paper characteristics License: GPLv2 URL: http://packages.qa.debian.org/libp/libpaper.html Source0: http://ftp.debian.org/debian/pool/main/libp/libpaper/%{name}_%{version}.tar.gz Patch0: libpaper-useglibcfallback.patch Patch1: libpaper-file-leak.patch BuildRequires: gcc, libtool, gettext, gawk %description The libpaper paper-handling library automates recognition of many different paper types and sizes for programs that need to deal with printed output. %package devel Summary: Development files for using libpaper Requires: %{name} = %{version}-%{release} %description devel This package contains the development files. %package help Summary: Documents for libpaper Buildarch: noarch Requires: man %description help Man pages and other related documents for libpaper. %prep %autosetup -n %{name}-%{version} -p1 libtoolize %build touch AUTHORS NEWS aclocal autoreconf -fi automake -a %configure --disable-static %disable_rpath %make_build %install %make_install rm $RPM_BUILD_ROOT%{_libdir}/*.la mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} echo '# Simply write the paper name. See papersize(5) for possible values' > $RPM_BUILD_ROOT%{_sysconfdir}/papersize mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/libpaper.d for i in cs da de es fr gl hu it ja nl pt_BR sv tr uk vi; do mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES/; msgfmt debian/po/$i.po -o $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES/%{name}.mo; done %find_lang %{name} %ldconfig_scriptlets %files -f %{name}.lang %doc ChangeLog README %license COPYING %config(noreplace) %{_sysconfdir}/papersize %dir %{_sysconfdir}/libpaper.d %{_bindir}/paperconf %{_libdir}/libpaper.so.1.1.2 %{_libdir}/libpaper.so.1 %{_sbindir}/paperconfig %files devel %{_includedir}/paper.h %{_libdir}/libpaper.so %files help %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man8/* %{_mandir}/man3/* %changelog * Fri Jul 14 2023 fuanan <fuanan3@h-partners.com> - 1.1.29-1 - update version to 1.1.29 * Thu Oct 27 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.1.28-2 - Rebuild for next release * Wed Jul 22 2020 zhangxingliang <zhangxingliang3@huawei.com> - 1.1.28-1 - Type:update - ID:NA - SUG:NA - DESC:update to 1.1.28 * Wed Mar 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.24-25 - fix memory leark and bugfix * Thu Jan 09 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.24-24 - remove useless patch * Thu Sep 05 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.24-23 - 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