Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:s_liehmann
rlpr
rlpr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rlpr.spec of Package rlpr
# # spec file for package rlpr # # Copyright (c) 2024 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: rlpr Version: 2.06 Release: 24.94 Summary: Remote printing utilities License: GPL-2.0+ Group: Productivity/Networking/Other #URL: http://truffula.com/rlpr/ # truffula.com is gone. # The freecode project is created by the author so it's equally authoritative # but doesn't host a copy of the source tar, just a broken ftp link to truffula.com # but at least the info page is up. Url: http://freecode.com/projects/rlpr Source: %{name}-%{version}.tar.bz2 Source2: %{name}-%{version}-rpmlintrc Patch1: %{name}-rlprm-user.patch Patch2: %{name}_ldflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The rlpr package makes it possible (or at the very least, easier) to print files on remote sites to your local printer. It includes BSD-compatible replacements for `lpr', `lpq', and `lprm', whose functionality is a superset of their BSD counterparts. In other words, with the rlpr package, you can do everything you could do with the BSD printing commands, and more. The programs are all GPL'd and are more lightweight, cleaner and secure than their BSD equivalents. %prep %setup -q %patch -P 1 -p1 %patch -P 2 -p1 %build %define cenv CFLAGS="%{optflags}" %define menv %nil %if 0%{?suse_version} > 1140 %define cenv CFLAGS="%{optflags} -fpie" %define menv LDFLAGS=-pie %endif %cenv STRIP=strip ./configure --prefix=%{_usr} --mandir=%{_mandir} --disable-rpath --disable-nls %menv make %{?_smp_mflags} %install %__install -d %{buildroot}%_bindir %__install -m 4755 src/rlpq %{buildroot}%_bindir %__install -m 4755 src/rlpr %{buildroot}%_bindir %__install -m 4755 src/rlprd %{buildroot}%_bindir %__install -m 4755 src/rlprm %{buildroot}%_bindir %__install -d %{buildroot}%{_mandir}/man1 %__install -m 0644 man/*.1 %{buildroot}%{_mandir}/man1 %__install -d %{buildroot}%{_mandir}/man5 %__install -m 0644 man/*.5 %{buildroot}%{_mandir}/man5 %__install -d %{buildroot}%{_mandir}/man8 %__install -m 0644 man/*.8 %{buildroot}%{_mandir}/man8 %clean rm -rf %{buildroot} %files %defattr(4755,root,root) %{_bindir}/rlp* %defattr(-,root,root) %doc README COPYING AUTHORS NEWS README THANKS TODO %doc %{_mandir}/*/* %changelog * Sat Apr 7 2012 brian@aljex.com - Add -U/--user to rlprm - rpmlint: don't reference buildroot in make - rpmlint: license header, group header - build with -fpie/-pie for opensuse 12.1 or later - osc service localrun format_spec_file * Sun Feb 8 2009 brian@aljex.com - openSUSE build service * Thu Apr 13 2000 Craig A. Kaes <craigk@sco.com> - clean section - no longer installs on build system
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