Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
jpilot
jpilot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jpilot.spec of Package jpilot
# # spec file for package jpilot # # Copyright (c) 2011 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: jpilot BuildRequires: gpgme-devel gtk2-devel intltool libgcrypt-devel openssl-devel perl-XML-Parser pilot-link-devel update-desktop-files BuildRequires: libtool License: LGPL-2.1+ Group: Hardware/Palm Requires: pilot-link >= 0.12.5 AutoReqProv: on Version: 1.8.1 Release: 1 Summary: Palm Pilot Desktop for Linux Source: %{name}-%{version}.tar.bz2 Source1: README.SuSE Patch1: %{name}-1.6.2-install.diff Patch2: %{name}-1.6.2-desktop.patch Patch3: %{name}-1.6.2-gcc.patch Patch4: %{name}-1.8.1-return.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.jpilot.org %description jpilot is a full-featured desktop organizer application for the Palm Pilot that runs under Linux and UNIX. It includes support for datebooks, addresses, memos, todos, and expenses and has plug-in support. It uses the GTK+ libraries. Read the documentation in /usr/share/doc/packages/jpilot. Authors: -------- Judd Montgomery, <judd@engineer.com> %package devel License: LGPL-2.1+ Summary: Palm Pilot desktop for Linux - devel package Group: Development/Libraries/C and C++ AutoReqProv: on Requires: %{name} = %{version} %description devel jpilot is a full-featured desktop organizer application for the Palm Pilot that runs under Linux and UNIX. It includes support for datebooks, addresses, memos, todos, expenses, and has plugin support. It uses the GTK+ libraries. Please read the documentation in /usr/share/doc/packages/jpilot! Authors: -------- Judd Montgomery, <judd@engineer.com> %prep %setup -q -n %{name}-%{version} cp %{S:1} . %patch1 %patch2 %patch3 %patch4 for i in `grep -Rl __TIME__ .`; do sed -i 's|__TIME__|"Undefined"|g' "$i" done for i in `grep -Rl __DATE__ .`; do sed -i 's|__DATE__|"Undefined"|g' "$i" done %build autoreconf --force --install intltoolize --force test -f po/Makevars || mv po/Makevars.template po/Makevars export CFLAGS="$RPM_OPT_FLAGS" export ABILIB=%{_lib} %configure --disable-static --with-pic --with-flock \ --with-libname=%{_lib} make CFLAGS="$RPM_OPT_FLAGS" all %{?jobs:-j%jobs} cd po make update-po %install rm -rf `find -type d -name CVS` make install DESTDIR=$RPM_BUILD_ROOT libdir=/usr/%{_lib}/jpilot/plugins/ rm icons/Makefile* # headerfile for devel package mkdir -p $RPM_BUILD_ROOT/usr/include/jpilot cp libplugin.h $RPM_BUILD_ROOT/usr/include/jpilot install -d -m 755 $RPM_BUILD_ROOT/usr/share/{jpilot,pixmaps} install -m 644 jpilotrc.* empty/*.pdb $RPM_BUILD_ROOT/usr/share/jpilot/ cp -a icons/jpilot-icon3.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/jpilot.xpm rm -r $RPM_BUILD_ROOT/usr/share/doc/ %{find_lang} jpilot %suse_update_desktop_file jpilot Utility PDA find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + find %{buildroot} -type f -name "*.orig" -exec %{__rm} -fv {} + %clean rm -rf $RPM_BUILD_ROOT %files -f jpilot.lang %defattr(-,root,root) %doc AUTHORS BUGS ChangeLog README COPYING TODO README.SuSE %doc docs/manual.html docs/jpilot-*.png icons %doc /usr/share/man/man1/* /usr/bin/* /usr/share/jpilot/ %dir /usr/%{_lib}/jpilot/plugins %dir /usr/%{_lib}/jpilot /usr/%{_lib}/jpilot/plugins/*.so* /usr/share/applications/jpilot.desktop /usr/share/pixmaps/jpilot.xpm %files devel %defattr(-,root,root) /usr/include/jpilot/ %doc docs/plugin.html %changelog
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