Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
mgdiff
mgdiff.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mgdiff.spec of Package mgdiff
# # spec file for package mgdiff (Version 1.0.1) # # Copyright (c) 2009 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/ # # norootforbuild Name: mgdiff BuildRequires: openmotif openmotif-devel update-desktop-files License: X11/MIT Group: Productivity/Text/Utilities AutoReqProv: on Version: 1.0.1 Release: 195 Summary: Compare Files Side by Side BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: mgdiff-1.0.tar.bz2 Source1: mgdiff.desktop Patch: mgdiff-1.0.dif Patch1: mgdiff-1.0.1.diff %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6" %global _mandir %{_exec_prefix}/man %define _x11data %{_exec_prefix}/lib/X11 %define _appdefdir %{_x11data}/app-defaults %define _mgdifflnk ../lib/X11/mgdiff %else %define _x11data %{_datadir}/X11 %define _appdefdir %{_x11data}/app-defaults %define _mgdifflnk ../share/X11/mgdiff %endif %description Mgdiff is a graphical front-end to the Unix diff command based on X11 and the Motif widget set. It allows the user to select two files for comparison, runs the diff command, parses the output and presents the results graphically. Authors: -------- Daniel Williams <dan@sass.com> %prep %setup -n mgdiff-1.0 -q %patch1 %patch xmkmf -a %build make CCOPTIONS="$RPM_OPT_FLAGS" %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install.man mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_x11data}/mgdiff mkdir -p %{buildroot}%{_mandir}/man1 test -e debian/cvsmgdiff.1x || mv debian/cvsmgdiff.1 debian/cvsmgdiff.1x install -m 0755 debian/cvsmgdiff %{buildroot}%{_bindir}/ install -m 0755 debian/rmgdiff %{buildroot}%{_x11data}/mgdiff/ install -m 0755 debian/rmgdiff.awk %{buildroot}%{_x11data}/mgdiff/ ln -sf %{_mgdifflnk}/rmgdiff %{buildroot}%{_bindir}/ install -m 0644 debian/cvsmgdiff.1x %{buildroot}%{_mandir}/man1/ install -m 0644 debian/rmgdiff.1x %{buildroot}%{_mandir}/man1/ %suse_update_desktop_file -i %name Development RevisionControl %files %defattr(-,root,root) %doc README /usr/share/applications/*.desktop %{_bindir}/*diff %dir %{_x11data}/mgdiff %{_x11data}/mgdiff/rmgdiff* %config %{_appdefdir}/Mgdiff %doc %{_mandir}/man1/*.1x.gz %changelog * Tue Dec 11 2007 werner@suse.de - Correct permissions of the manual pages * Wed Aug 02 2006 werner@suse.de - Make it build with X11R7 * Tue Mar 07 2006 werner@ssue.de - Change order of setlocale() and XtSetLanguageProc() (bug #155300) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Nov 09 2005 werner@ssue.de - Update to patchlevel 1.0.1 found at debian.org - Fix unitialized variable (bug #132847) - Add debian scripts and manual pages to file list * Wed Jun 15 2005 meissner@suse.de - use RPM_OPT_FLAGS * Tue Apr 27 2004 werner@ssue.de - Avoid compiler warnings - Use mkstemp() instead of tempnam() * Sun Jan 11 2004 adrian@suse.de - build as user * Sat Aug 16 2003 adrian@suse.de - add desktop file * Thu Jun 12 2003 kukuk@suse.de - Use BuildRoot, fix filelist * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Sat May 12 2001 schwab@suse.de - Fix missing declarations. * Tue Nov 21 2000 ro@suse.de - use openmotif * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Mon Jul 12 1999 uli@suse.de - now builds with lesstif * Mon Nov 09 1998 ro@suse.de - use basename from libc for glibc * Thu May 07 1998 fehr@suse.de - add library -lXp for Motif 2.1 * Tue Dec 09 1997 ro@suse.de - build static and dynamic version * Tue Jun 24 1997 werner@suse.de - Regognise all latin1 umlauts as characters in system with and without correct working locale. * Thu Jan 02 1997 kfr@suse.de - recognise german umlauts as text: dirty hack, but also call "setlocale" for correctly installed systems...
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