diff --git a/ChangeLog b/ChangeLog index 4ed8da0d35f..e1b14c6ff39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-13 Jerome Rapinat + * gramps.spec.in: remove file + * FAQ: update file (wiki data) #1457 + 2008-01-13 Raphael Ackermann * src/gramps_main.py: Add dots to list of things in Betawarning to make it consistent diff --git a/FAQ b/FAQ index b94dc509b3d..16638b0ea27 100644 --- a/FAQ +++ b/FAQ @@ -7,6 +7,7 @@ to this list, please email your suggestions to gramps-devel@lists.sf.net **** Index **** +==General== 1. What is GRAMPS? @@ -14,50 +15,85 @@ to this list, please email your suggestions to gramps-devel@lists.sf.net 3. Does it work with Windows (tm)? - 4. Does it work with the Mac? + 4. How do I keep backups? - 5. Does it work with KDE? + 5. Does Gramps support Unicode fonts? In particular, does it support non-Roman Unicode fonts? - 6. Do I really have to have GNOME installed? + 6. What is needed to install GRAMPS under Linux, Solaris, or FreeBSD? - 7. What version of GNOME do I need? + 7. Does it work with Windows (tm)? - 8. Is GRAMPS compatible with other genealogical software (GenApps)? + 8. Does it work with the Mac? - 9. Can GRAMPS read files created by GenApp X? + 9. What are the Minimum Specs to run GRAMPS? -10. Can GRAMPS write files readable by GenApp X? +==Preferences== -11. Can GRAMPS print a genealogical tree for my family? + 10. Can I change the dates in reports to 'day month year' -12. In what formats can GRAMPS output its reports? +==Collaboration-Portability== -13. Is GRAMPS compatible with the Internet? + 11. Is GRAMPS compatible with other genealogical software? -14. Can I create custom reports/filters/whatever? + 12. Can GRAMPS read files created by GenApp X? -15. What standards does GRAMPS support? + 13. Can GRAMPS write files readable by GenApp X? -16. What is the maximum database size GRAMPS can handle? + 14. What standards does GRAMPS support? -17. Why are non-latin characters displayed as garbage in PDF/PS reports? + 15. How do I import data from another genealogy program into GRAMPS? -18. Why can I not add/remove/edit columns to the lists in People View - and Family View? + 16. Can I install GRAMPS on a Linux Web Server and use it via a web browser? This would enable my relations worldwide to access and update it. -19. I would like to contribute to GRAMPS by writing my favorite report. - How do I do that? +==Reports== + + 17. Can GRAMPS print a genealogical tree for my family? + + 18. In what formats can GRAMPS output its reports? + + 19. How can I change the default language in reports? + + 20. Is GRAMPS compatible with the Internet? + + 21. Can I create custom reports/filters/whatever? + + 22. Why are non-latin characters displayed as garbage in PDF/PS reports? + + 23. I would like to contribute to GRAMPS by writing my favorite report. + +==Database - GRAMPS file formats== + + 24. What is the maximum database size (bytes) GRAMPS can handle? + + 25. How many people can GRAMPS database handle? + + 26. My database is really big. Is there a way around loading all the data into memory? + + 27. Can I run GRAMPS from a database on a NFS share? + + 28. Why is the database format not portable? + +==Bugs and requests== + + 29. I found a bug and I want it fixed right now! What do I do? + + 30. GRAMPS should be a .... type of application + +==GRAMPS Webhosting == + + 31. How can I publish web sites generated by GRAMPS? + + 32. How do I submit my pages to the GRAMPS library site (http://library.gramps-project.org)? + + 33. After I upload my Family Web Page to library.gramps-project.org, is the password used for write privileges only or read privileges? -20. I found a bug and I want it fixed right now! What do I do? + 34. Do I view the Family Web Page with a url into my browser? Or through a link on a list of Family Web Pages on the GRAMPS-Project.org site? -21. It is obvious that GRAMPS absolutely needs to become a (client-server/ -web-based/PHP/weblog/Javascript/C++/distributed/KDE/Motif/Tcl/Win32/C#/ -You-name-it) application. - When is this going to happen? **** Questions and answers **** +==General== 1. What is GRAMPS? @@ -74,55 +110,101 @@ You have full access to the source code and are allowed to distribute the program and source code freely. -3. Does it work with Windows (tm)? +3. Does GRAMPS exist in other languages? -Yes, but it is not offically supported by the GRAMPS project. +Yes, at the moment GRAMPS is translated in 15 languages -4. Does it work with the Mac? +4. How do I keep backups? -Several people have managed to get GRAMPS to work under OSX using the darwin ports. +Use a recent version of GRAMPS! From 2.2.5 onwards there is an automatic backup utility. +It is extremely important to keep backups of your data, and keep them in a safe place. GRAMPS has a specific portable file format which is small, and human readable, denoted by .gramps. If you have allowed this in the preferences (In Edit menu->Preferences->General), GRAMPS will keep a backup of your database on exit. You can copy this backup file from time to time to a save location (eg a usb stick). -5. Does it work with KDE? +Note: The .gramps files are compressed. Clicking them will open GRAMPS. To see the XML select them and open them with a decompressing utility (like ark, gunzip), after which you can extract the XML file which is human readable. +Do not keep backups in GEDCOM. Not all information GRAMPS stores can be written in the GEDCOM. Hence, an export/import operation GRAMPS --> GEDCOM --> GRAMPS, will mean you lose data. Use the .gramps file format for backups! +Do not keep backups in GRDB format. GRDB is a database, which might be computer dependent (read, not working on a different PC). Small damage to a GRDB file can also not be repaired. Use the .gramps file format for backups! -Yes, as long as the required GNOME libraries are installed. +5. Does Gramps support Unicode fonts? In particular, does it support non-Roman Unicode fonts? -6. Do I really have to have GNOME installed? +Yes. GRAMPS works internally with Unicode (UTF-8), so all alphabets can be used on all entry fields. All reports fully support this, although for PDF/PS you need to work with gnome-print or openoffice. -Yes, but you do not have to be running the GNOME desktop. -n +==Installation== -7. What version of GNOME do I need? +6. What is needed to install GRAMPS under Linux, Solaris, or FreeBSD? -The latest versions of gramps require GNOME 2.8 or higher. +GRAMPS is a [http://en.wikipedia.org/wiki/Gtk GTK] application. GRAMPS needs to have the [http://en.wikipedia.org/wiki/Pygtk pygtk] libraries installed on the system. As long as these libraries are installed, GRAMPS should function. It will operate under the GNOME desktop, KDE desktop, or any other desktop. If the GNOME bindings for Python are installed on the system, GRAMPS will have additional functionality. The GRAMPS project recommends version 2.8 or higher of GTK. -8. Is GRAMPS compatible with other genealogical software (GenApps)? +7. Does it work with Windows (tm)? -GRAMPS makes every effort to maintain compatibility with GEDCOM, the general -standard of recording genealogical information. We have import and export -filters that enable GRAMPS to read and write GEDCOM files. +The Linux Genealogy CD can function as a live CD that you boot directly from. You can then run Linux and GRAMPS off the CD, even if your computer is entirely Windows. -It is important to understand that the GEDCOM standard is poorly implemented -- -virtually every genealogical software has its own "flavor" of GEDCOM. As we -learn about new flavor, the import/export filters can be created very quickly. -However, finding out about the unknown flavors requires user feedback. -Please feel free to inform us about any GEDCOM flavor not supported by GRAMPS, -and we will do our best to support it! +An experimental Windows installer is available, however we do not have the manpower to offer support for Windows. A windows mailing list is available however and we do do our best to solve windows related problems. -9. Can GRAMPS read files created by GenApp X? +8. Does it work with the Mac? + +The Fink project has ported some older versions of GRAMPS to OS X (tm). The Mac OS X port is not directly supported by the GRAMPS project, primarily because none of the GRAMPS developers have access to Mac OS X and because OS X is not Free Software. + +This present version of GRAMPS (2.2.x) does not appear to have been ported by the Fink project. Please contact the Fink project for more information. However, some users had success in installing 2.2.x on Mac OSX either running in native mode or running on X11 using some of the fink packages. + + +9. What are the Minimum Specs to run GRAMPS? + +We would recommend at least an 800x600 video display. For GRAMPS 2.0, the memory requirements have been reduced, and GRAMPS can run quite efficiently on a 256MB system, holding considerably more people. A system with 512MB should be able to hold around 200,000 people. Disk space requirements for databases are however considerably larger, with a typical database being several megabytes in size. For 120.000 people you must consider already 530Mb for the database. Pictures are stored on disk separately, so a large harddisk is necessary. + + +==Preferences== + +10. Can I change the dates in reports to 'day month year' + +Yes, change in the preferences ("Edit->Preferences") the date for GRAMPS to the required format (eg YYYY-MM-DD or day mont year), and make the report. Your global date preferences will be used. + + +==Collaboration-Portability== + +11. Is GRAMPS compatible with other genealogical software? + +GRAMPS makes every effort to maintain compatibility with GEDCOM, the general standard of recording genealogical information. We have import and export filters that enable GRAMPS to read and write GEDCOM files. + +It is important to understand that the GEDCOM standard is poorly implemented -- virtually every genealogical software has its own "flavor" of GEDCOM. As we learn about new flavor, the import/export filters can be created very quickly. However, finding out about the unknown flavors requires user feedback. Please feel free to inform us about any GEDCOM flavor not supported by GRAMPS, and we will do our best to support it! + + +12. Can GRAMPS read files created by GenApp X? See above. -10. Can GRAMPS write files readable by GenApp X? +13. Can GRAMPS write files readable by GenApp X? See above. -11. Can GRAMPS print a genealogical tree for my family? +14. What standards does GRAMPS support? + +The nice thing about standards is that there never is a shortage of them. GRAMPS is tested to support the following flavors of GEDCOM: GEDCOM5.5, Brother's Keeper, Family Origins, Family Tree Maker, Ftree, GeneWeb, Legacy, Personal Ancestral File, Pro-Gen, Reunion, and Visual Genealogie. + + +15. How do I import data from another genealogy program into GRAMPS? + +The best way is to create a new gramps database file (.grdb), and select the import option in the file menu. Here you select the GEDCOM you generated with the other program, and import it. + + +16. Can I install GRAMPS on a Linux Web Server and use it via a web browser? This would enable my relations worldwide to access and update it. + +While GRAMPS can generate web sites, it does not provide a web interface that allows for editing. If this is a requirement, then [http://geneweb.org GeneWeb] or [http://phpgedview.sourceforge.net PhpGedView] are programs more likely to meet your needs. However, you may wish to ask yourself the following questions: +* Do I really want relatives or other people to directly edit my genealogy database? +* Do I implicitly trust, without verification, any data that people may enter? +* Do these people have the same understanding of good genealogy practice that I have? +A better approach may be to provide a web form interface that allows others to enter data that is then held for your examination. You can then decide if the information should be entered into your database. + +You may also want to consider the effects of possible downtime of your site if you cannot afford yourself a premium webhosting service. + + +==Reports== + +17. Can GRAMPS print a genealogical tree for my family? Yes. Different people have different ideas of what a genealogical tree is. Some think of it as a chart going from the distant ancestor and listing @@ -135,14 +217,17 @@ reports. Moreover, the plugin architechture enables users (you) to create their own plugins which could be new reports, charts, or research tools. -12. In what formats can GRAMPS output its reports? +18. In what formats can GRAMPS output its reports? + +Text reports are available in HTML, PDF, ODT, LaTeX, and RTF formats. Graphical reports (charts and diagrams) are available in PostScript, PDF, SVG, ODS, and GraphViz formats. + + +19. How can I change the default language in reports? -Text reports are available in HTML, PDF, AbiWord, KWord, LaTeX, RTF, and -OpenOffice formats. Graphical reports (charts and diagrams) are available in -PostScript, PDF, SVG, OpenOffice and GraphViz formats. +The reports are in the language of your linux installation. You can change it by installing extra language packs, see [Howto: Change the language of reports] on wiki. -13. Is GRAMPS compatible with the Internet? +20. Is GRAMPS compatible with the Internet? GRAMPS can store web addresses and direct your browser to them. It can import data that you download from the Internet. It can export data that you could @@ -152,7 +237,7 @@ WAV sound files, QuickTime, MPEG, and AVI movie files, etc). Other than that, there is little that a genealogical program can do with the Internet :-) -14. Can I create custom reports/filters/whatever? +21. Can I create custom reports/filters/whatever? Yes. There are many levels of customization. One is creating or modifying the templates used for the reports. This gives you some control over @@ -166,67 +251,70 @@ reports, research tools, import/export filters, etc. This assumes some knowledge of programming in Python. -15. What standards does GRAMPS support? +22. Why are non-latin characters displayed as garbage in PDF/PS reports? -The nice thing about the standards is that there never is a shortage of -them :-). GRAMPS is tested to support the following flavors of GEDCOM: -GEDCOM5.5, Brother's Keeper, Family Origins, Familty Tree Maker, Ftree, -GeneWeb, Legacy, Personal Ancestral File, Pro-Gen, Reunion, and -Visual Genealogie. +This is a limitation of the built-in fonts of PS and PDF formats. To print non-Latin text, use the Print... in the format selection menu of the report dialog. This will use the gnome-print backend, which supports PS and PDF creation, as well as direct printing. (Note: you might need to install gnome-print separately as it is not required for GRAMPS). +If you only have Latin text, the PDF option will produce a smaller PDF compared to that created by gnome-print, simply because no font information will be embedded. -16. What is the maximum database size GRAMPS can handle? -GRAMPS has no hard limits on the size of a database that it can handle. -In reality, however, there are practical limits based of memory and -disk size. With 2.2.6, GRAMPS can easily handle databases of over 100K -people. +23. I would like to contribute to GRAMPS by writing my favorite report. + How do I do that? +The easiest way to contribute to reports, filters, tools, etc. is to copy an existing GRAMPS report, filter, or tool. If you can create what you want by modifying existing code -- great! If your idea does not fit into the logic of any existing GRAMPS tool, you will need to write your own plugin from scratch. Help is available on the [Developers Portal] on wiki, or on the developers mailing list: gramps-devel@lists.sourceforge.net. -17. Why are non-latin characters displayed as garbage in PDF/PS reports? +To test your work in progress, you may save your plugin under $HOME/.gramps/plugins directory and it should be found and imported on startup. The correctly written plugin will register itself with GRAMPS, create menu item, and so on. -This is a known problem -- PS (and PDF) have builtin fonts which pretty much -reflect the latin-1 charset. Any font in principle could be used with PS/PDF -but then it would have to be embedded in the file. This is problematic since -every system has different idea about fonts and their setup. +If you are happy with your plugin and would like to contribute your code back to the GRAMPS project, you are very welcome to do so by contacting us at gramps-devel@lists.sourceforge.net -This should be resolved as we move to gnome-print. In the meantime, a useable -workaround is to generate reports in OpenOffice.org format and then export -to PDF from the OpenOffice.org application. +==Database - GRAMPS file formats== -18. Why can I not add/remove/edit columns to the lists in People View - and Family View? +24. What is the maximum database size (bytes) GRAMPS can handle? -This will be addressed after the TreeModelSort bug is fixed in pygtk, -see http://bugzilla.gnome.org/show_bug.cgi?id=125172 for the details. -Once the patch is committed and incorporated into pygtk, we will add the -ability to add/remove/edit sortable columns. +GRAMPS has no hard limits on the size of a database that it can handle. Starting with 2.0.0 release, GRAMPS no longer loads all data into memory, which allows it to work with a much larger database than before. In reality, however, there are practical limits. The main limiting factors are the available memory on the system and the cache size used for BSDDB database access. With common memory sizes these days, GRAMPS should have no problem using databases with tens of thousands of people. -19. I would like to contribute to GRAMPS by writing my favorite report. - How do I do that? +25. How many people can GRAMPS database handle? + +See above. Again, this is dependent on how much memory you have, see [GRAMPS Performance] on wiki. + + +26. My database is really big. Is there a way around loading all the data into memory? + +Starting with 2.0.0 release, GRAMPS no longer loads all data into memory, which allows it to work with a much larger database than before. The fileformat used is .grdb which means gramps database. + + +27. Can I run GRAMPS from a database on a NFS share? + +Yes you can. + -The easiest way to contribute to reports, filters, tools, etc. is to copy -an existing GRAMPS report, filter, or tool. If you can create what you want -by modifying existing code -- great! If your idea does not fit into the logic -of any existing GRAMPS tool, the following page may provide some help in -writing your own plugin from scratch: -http://gramps.sourceforge.net/phpwiki/index.php/GrampsDevelopersPage -If you need more help or would like to discuss your idea with us, please -do not hesitate to contact us at gramps-devel@lists.sf.net +28. Why is the database format not portable? -To test your work in progress, you may save your plugin under -$HOME/.gramps/plugins directory and it should be found and imported on startup. -The correctly written plugin will register itself with GRAMPS, create menu -item, and so on. +The biggest issue with GRAMPS portability lies with 'transactions'. With +GRAMPS 2.2, we added support for atomic transactions to protect data. +With atomic transactions, multiple changes are committed as a single +unit. Either all the changes make it, or none of the changes make it. +You are never left in a situation with a partial set of changes. A side +benefit of using transactions is that database access (reads and writes) +are faster. -If you are happy with your plugin and would like to contribute your code -back to the GRAMPS project, you are very welcome to do so by contacting us -at gramps-devel@lists.sf.net +The problem with transactions (at least using BSDDB) is that it does not +allow all the data to be stored in a single file. Logging files are +needed to keep track of things. These logging files are kept in a DB +Environment directory. We need a separate directory for each file, +otherwise the log files can interfere with each other. +In 2.2, we keep the log files under the ~/.gramps/ path directory, +creating a unique directory for each database. The problem is that your +GRDB file needs the log files, which are in a different directory. +Copying the GRDB file is only copying a portion of the database. -20. I found a bug and I want it fixed right now! What do I do? + +==Bugs and requests== + +29. I found a bug and I want it fixed right now! What do I do? The best thing you can do is to fix the bug and send the patch to gramps-devel@lists.sf.net :-) @@ -253,30 +341,41 @@ If the above explanations seem vague, please follow this link: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html -21. It is obvious that GRAMPS absolutely needs to become a (client-server/ - web-based/PHP/weblog/Javascript/C++/distributed/KDE/Motif/Tcl/Win32/ - C#/You-name-it) application. - - When is this going to happen? - -The surest way to see it happen is to get it done by yourself. Since -GRAMPS is free/open source, nobody prevents you from taking all of the -code and continuing its development in whatever direction you see fit. -In doing so, you may consider giving your new project another name to -avoid confusion with the continuing GRAMPS development. If you would -like the GRAMPS project to provide advice, expertise, filters, etc., -we will gladly cooperate with your new project, to ensure compatability -or import/export options to your new format of a project. - -If, however, you would like the GRAMPS project to to adopt your strategy, -you would need to convince GRAMPS developers that your strategy is good -for GRAMPS and superior to the present development strategy. +30. GRAMPS should be a .... type of application + +The surest way to see it happen is to get it done by yourself. Since GRAMPS is free/open source, nobody prevents you from taking all of the code and continuing its development in whatever direction you see fit. In doing so, you may consider giving your new project another name to avoid confusion with the continuing GRAMPS development. If you would like the GRAMPS project to provide advice, expertise, filters, etc., we will gladly cooperate with your new project, to ensure compatibility or import/export options to your new format of a project. + +If, however, you would like the GRAMPS project to adopt your strategy, you would need to convince GRAMPS developers that your strategy is good for GRAMPS and superior to the present development strategy. HINT: if GRAMPS developers are still not convinced after about three messages sent to gramps-devel, maybe you are better off on your own rather than with a company of retards who can't fully realize the potential of your great idea :-) + +==GRAMPS Webhosting == + +31. How can I publish web sites generated by GRAMPS? + +Since GRAMPS generates HTML pages, you can upload the pages to your personal web site. If you do not have a personal web site, and still wish to have your pages available on the internet, the GRAMPS project can provide space for you at the http://library.gramps-project.org, see the [webhosting article] on wiki. + + +32. How do I submit my pages to the GRAMPS library site (http://library.gramps-project.org)? + +If you wish to submit pages to the GRAMPS library site, you will need to contact the GRAMPS project, typically by sending a message to the gramps-users mailing list. You will then be given a username and password that will allow you to upload your files to the site. After you upload the files (in a gzip'ed tar file), the GRAMPS project will install the pages for you on the site. + + +33. After I upload my Family Web Page to library.gramps-project.org, is the password used for write privileges only or read privileges? + +In order to prevent abuse of the library.gramsp-project.org site, the password given allows uploads only. If you wish to have a username and password combination to restrict read access to your pages, you will need to contact the GRAMPS project, and we could set this up for you. However, the read and write accounts will be separate accounts. + + +34. Do I view the Family Web Page with a url into my browser? Or through a link on a list of Family Web Pages on the GRAMPS-Project.org site? + +The main page on the library.gramps-project.org site will contain an index of the available family sites. However, there will be a unique URL for each site as well. + + + **** End of GRAMPS Frequently Asked Questions **** $Id$ diff --git a/gramps.spec.in b/gramps.spec.in deleted file mode 100644 index f4655fdbf7e..00000000000 --- a/gramps.spec.in +++ /dev/null @@ -1,127 +0,0 @@ -%define ver @VERSION@ -%define rel @RELEASE@ -%define prefix /usr -%define localstatedir /var/lib -%define _prefix %prefix -%define _localstatedir %localstatedir - -Summary: Genealogical Research and Analysis Management Programming System. -Name: gramps -Version: %{ver} -License: GPL -Group: Applications/Genealogy -Source: http://download.sourceforge.net/gramps/gramps-%{ver}.tar.gz -BuildRoot: /var/tmp/%{name}-%{version}-root -URL: http://gramps.sourceforge.net/ -Release: %{rel}fdr3 -Distribution: Fedora Core 3 - -Requires: python >= 2.3 -Requires: gnome-python2 >= 2.6.0 -Requires: gnome-python2-gconf >= 2.6.0 -Requires: gnome-python2-canvas >= 2.6.0 -Requires: gnome-python2-gnomevfs >= 2.6.0 -Requires: pygtk2 >= 2.4.0 -Requires: pygtk2-libglade >= 2.4.0 - -BuildRequires: scrollkeeper >= @SCROLLKEEPER_BUILD_REQUIRED@ -BuildRequires: automake >= 1.6 -BuildRequires: rpm >= 4.1 -BuildRequires: desktop-file-utils >= 0.2.92 - -%description -gramps (Genealogical Research and Analysis Management Programming -System) is a GNOME based genealogy program supporting a Python -based plugin system. - -%prep -%setup - -%build -if [ ! -f configure ]; then - CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%prefix \ - --localstatedir=%localstatedir --bindir=%{_bindir} \ - --mandir=%{_mandir} --libdir=%{_libdir} --datadir=%{_datadir} \ - --includedir=%{_includedir} --sysconfdir=%{_sysconfdir} -else - CFLAGS="$MYCFLAGS" %configure -fi - -CFLAGS="$RPM_OPT_FLAGS" make - -%install -rm -rf $RPM_BUILD_ROOT - -%makeinstall -mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications -desktop-file-install --vendor gramps --delete-original \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - --add-category Application \ - --add-category Utility \ - src/data/gramps.desktop -%find_lang gramps -rm -rf $RPM_BUILD_ROOT/%{_localstatedir}/scrollkeeper/ -rm -rf $RPM_BUILD_ROOT/%{_datadir}/mime/application -rm -rf $RPM_BUILD_ROOT/%{_datadir}/mime/{globs,magic,XMLnamespaces} - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -f gramps.lang -%defattr(-, root, root) - -%doc AUTHORS COPYING COPYING-DOCS ChangeLog FAQ INSTALL NEWS README TODO -%doc %{_mandir}/man1/* - -%{prefix}/bin/gramps - -%{_datadir}/applications/* - -%{_datadir}/gramps -%{_datadir}/omf/gramps -%{_datadir}/mime-info/* -%{_datadir}/icons/gnome/48x48/mimetypes/* -%{_sysconfdir}/gconf/schemas/gramps.schemas -%{_datadir}/application-registry/gramps.applications -%{_datadir}/mime/packages/gramps.xml - -%post -GCONF_CONFIG_SOURCE=`@GCONFTOOL@ --get-default-source` \ - @GCONFTOOL@ --makefile-install-rule \ - %{_sysconfdir}/gconf/schemas/gramps.schemas > /dev/null -/usr/bin/update-desktop-database %{_datadir}/applications &> /dev/null -/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null -if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi -/usr/bin/pkill gconfd || /bin/true - -%postun -if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi -if [ "$1" = "0" ]; then - /usr/bin/update-desktop-database %{_datadir}/applications &> /dev/null - /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null -fi - -%changelog -* Tue Aug 31 2004 Tim Waugh -- Update MIME database in scriptlets. - -* Tue Dec 2 2003 Tim Waugh -- More docs. -- Change Copyright: to License:. - -* Fri Sep 19 2003 Tim Waugh -- Own %%{_datadir/gramps directory. -- Ship %%{_libdir}/gramps. -* Mon May 20 2003 Donald Peterson -- Override RPMs default of localstatedir to /var/lib.. - This is done in accordance with GNOME and FHS compliance guidelines - (http://fedora.mplug.org/docs/rpm-packaging-guidelines.html) -- Use %find_lang macro to get NLS files -- Set %doc tags on appropriate files -- Remove temporary scrollkeeper-created files from install before packaging - to avoid rpm 4.1 complaints. (These aren't needed in the distribution.) -- Use default scrollkeeper-update scripts -* Mon Mar 24 2003 Alex Roitman -- update scrollkeeper dependencies and add post and postun to enable install on a machine without scrollkeeper -* Fri Jun 14 2002 Donald Peterson -- add scrollkeeper dependencies and some file cleanup